creation-feasibility-gate
БесплатноЗапускает вложенные скриптыНе проверенValidate whether a proposed new artifact is feasible in the current stack before creator workflows run.
от oimiragieo★ 48 звёзд на GitHubОб этом скилле
Creation Feasibility Gate
Overview
Run a fast preflight feasibility check before creating a new agent/skill/workflow/hook/template/schema. This prevents low-value or impossible creator runs.
When to Use
- Phase 0.5 dynamic creation flow
- User asks for net-new capability
- Reflection/evolution recommends artifact creation
Iron Laws
- NEVER create artifacts inside this skill — return PASS/WARN/BLOCK with evidence only; all actual creation happens in the appropriate creator skill downstream.
- ALWAYS run the existence/duplication check first — never proceed toward PASS if a functionally identical artifact already exists in any catalog or registry.
- ALWAYS include concrete file-level evidence for every decision — a bare PASS or BLOCK without referencing specific paths or catalog entries is a spec violation.
- NEVER let WARN silently become PASS — every WARN must list exact caveats that the calling agent must acknowledge before creation proceeds.
- ALWAYS resolve BLOCK status with actionable next steps and recommended target agents — a BLOCK without remediation tasks is an incomplete gate decision.
Anti-Patterns
| Anti-Pattern | Why It Fails | Correct Approach |
|---|---|---|
| Returning PASS without running the duplication check | Creates duplicate artifacts that split agent traffic and inflate catalogs | Always query catalog + registry + filesystem before PASS |
| Returning BLOCK without remediation tasks | Calling agent stalls with no path forward | Include nextActions with specific agents/skills to unblock |
| Skipping the security/creator boundary check | Creator paths may be blocked by governance hooks; silently bypassing them causes runtime failures | Always verify creator skill chain is reachable before PASS |
| Treating WARN as informational only | WARN caveats are not surfaced to the user; creation proceeds with unresolved risks | WARN must be acknowledged explicitly by the caller in its task metadata |
| Running creation steps inside the gate skill | Violates separation of concerns; gate outputs can't be validated independently | Gate outputs only the decision JSON; delegate creation to creator skills |
Workflow
Step 1: Resolve Target
- Identify proposed artifact type and name
- Identify expected runtime/tool dependencies
- Identify expected owner agents
Step 2: Existence/Duplication Check (Iron Law #2)
Use the shared duplicate detection library:
const { checkDuplicate } = require('.claude/lib/creation/duplicate-detector.cjs');
const result = checkDuplicate({
artifactType: artifactType, // from Step 1 classification
name: proposedName,
description: proposedDescription,
});
if (result.decision === 'EXACT_MATCH') {
return {
gate: 'BLOCK',
reason: `Artifact exists at ${result.matchedPath}. Use the ${artifactType}-updater skill instead.`,
};
}
if (result.decision === 'REGISTRY_MATCH') {
return {
gate: 'WARN',
reason: `"${proposedName}" found in ${result.message} but file may be missing. Investigate.`,
};
}
if (result.decision === 'SIMILAR_FOUND') {
return {
gate: 'WARN',
reason: `Similar artifacts found: ${result.candidates.map(c => `${c.name} (${(c.score * 100).toFixed(0)}%)`).join(', ')}. Confirm creation is intentional.`,
};
}
return { gate: 'PASS' };
The 3 detection layers (filesystem, registry/catalog, fuzzy/semantic) are handled internally by the library. See .claude/lib/creation/duplicate-detector.cjs for details.
Step 2.5: Additional Preflight Checks
Run these checks with concrete evidence:
- Stack compatibility check
- Required tooling/runtime present in current project conventions
- Integration readiness check
- Can it be routed/discovered/assigned after creation?
- Security/creator boundary check
- Ensure creator path and governance can be satisfied
Step 3: Decision
Return one status:
PASS: creation is feasible nowWARN: feasible with clear caveatsBLOCK: not feasible; must resolve blockers first
Use this output shape:
{
"status": "PASS|WARN|BLOCK",
"artifactType": "agent|skill|workflow|hook|template|schema",
"artifactName": "example-name",
"evidence": ["..."],
"blockers": [],
"nextActions": ["..."]
}
Output Protocol
If BLOCK, include concrete remediation tasks and recommended target agents.
If
Установить creation-feasibility-gate в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
ReadGlobGrepSkillВложенные файлы
FAQ
Что делает скилл creation-feasibility-gate?
Validate whether a proposed new artifact is feasible in the current stack before creator workflows run.
Как установить скилл creation-feasibility-gate?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл creation-feasibility-gate запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic