mirror of
https://github.com/pbakaus/impeccable.git
synced 2026-09-19 01:26:29 +03:00
Add Kiro provider support, clean up legacy code and unused ZIPs
- Add Kiro transformer and build integration (.kiro/skills/ structure) - Add Kiro to validation allowlists, API handlers, and homepage badge - Replace legacy getFilePath in Vercel API with unified skills directory structure - Remove individual provider ZIP creation (only universal ZIPs needed) - Simplify bundle API allowlist to universal/universal-prefixed only Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
cb596b538e
commit
4ff4f4643a
+6
-1
@@ -23,7 +23,8 @@ import {
|
||||
transformClaudeCode,
|
||||
transformGemini,
|
||||
transformCodex,
|
||||
transformAgents
|
||||
transformAgents,
|
||||
transformKiro
|
||||
} from './lib/transformers/index.js';
|
||||
import { createAllZips } from './lib/zip.js';
|
||||
import { execSync } from 'child_process';
|
||||
@@ -144,6 +145,7 @@ function assembleUniversal(distDir, suffix = '') {
|
||||
{ provider: 'gemini', configDir: '.gemini' },
|
||||
{ provider: 'codex', configDir: '.codex' },
|
||||
{ provider: 'agents', configDir: '.agents' },
|
||||
{ provider: 'kiro', configDir: '.kiro' },
|
||||
];
|
||||
|
||||
for (const { provider, configDir } of providerMappings) {
|
||||
@@ -168,6 +170,7 @@ This folder contains skills for all supported tools:
|
||||
.gemini/ → Gemini CLI
|
||||
.codex/ → Codex CLI
|
||||
.agents/ → VS Code Copilot, Antigravity
|
||||
.kiro/ → Kiro
|
||||
|
||||
To install, copy the relevant folder(s) into your project root.
|
||||
These are hidden folders (dotfiles) — press Cmd+Shift+. in Finder to see them.
|
||||
@@ -211,6 +214,7 @@ async function build() {
|
||||
transformGemini(skills, DIST_DIR, patterns);
|
||||
transformCodex(skills, DIST_DIR, patterns);
|
||||
transformAgents(skills, DIST_DIR, patterns);
|
||||
transformKiro(skills, DIST_DIR, patterns);
|
||||
|
||||
// Transform for each provider (prefixed with i-)
|
||||
const prefixOptions = { prefix: 'i-', outputSuffix: '-prefixed' };
|
||||
@@ -219,6 +223,7 @@ async function build() {
|
||||
transformGemini(skills, DIST_DIR, patterns, prefixOptions);
|
||||
transformCodex(skills, DIST_DIR, patterns, prefixOptions);
|
||||
transformAgents(skills, DIST_DIR, patterns, prefixOptions);
|
||||
transformKiro(skills, DIST_DIR, patterns, prefixOptions);
|
||||
|
||||
// Assemble universal directory (unprefixed and prefixed)
|
||||
assembleUniversal(DIST_DIR);
|
||||
|
||||
Reference in New Issue
Block a user