afc-clarify
Resolve spec ambiguities with clarifying questions
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Resolve spec ambiguities with clarifying questions
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Code and component analysis — analyze code, trace flows, audit consistency, inspect components
Architecture analysis and design review
Full auto pipeline — run spec-to-clean cycle automatically for new features
Save session state for later resumption
Pipeline artifact cleanup and codebase hygiene
Expert consultation — backend, infra, PM, design, marketing, legal, or tech guidance
| name | afc:clarify |
| description | Resolve spec ambiguities with clarifying questions |
| argument-hint | [focus area: security, performance, UI flow] |
| user-invocable | false |
| allowed-tools | ["Read","Write","Edit","Glob","Grep"] |
| model | sonnet |
Identifies ambiguous or incomplete areas in spec.md and resolves them through user questions. Answers are applied as inline updates to spec.md.
$ARGUMENTS — (optional) focus on a specific area (e.g., "security", "performance", "UI flow")!cat .claude/afc.config.md 2>/dev/null || echo "[CONFIG NOT FOUND] .claude/afc.config.md not found. Run /afc:init first — abort if missing."
.claude/afc/specs/{feature}/spec.md — stop if not found[NEEDS CLARIFICATION] section exists, process it firstScan across 10 categories:
| # | Category | What to find |
|---|---|---|
| 0 | Necessity | Is this feature truly needed? Does it already exist? Is the cost justified by the benefit? |
| 1 | Feature scope | Features with unclear boundaries |
| 2 | Domain/data | Incomplete entity relationships or field definitions |
| 3 | UX flow | Missing user journey steps |
| 4 | Non-functional quality | Performance/security requirements without numeric targets |
| 5 | External dependencies | APIs or libraries needing clarification |
| 6 | Edge cases | Undefined boundary conditions |
| 7 | Constraints/tradeoffs | Mutually incompatible requirements |
| 8 | Terminology consistency | Same concept with different names |
| 9 | Completion criteria | Success criteria that cannot be measured |
| 10 | Residual placeholders | TODO/TBD/??? |
These categories serve as a comprehensive checklist, not a rigid classification. Adapt to the project's domain — skip categories irrelevant to the project type (e.g., skip 'UX flow' for CLI tools) and add domain-specific categories if needed (e.g., 'regulatory compliance' for healthcare/fintech projects).
After each answer:
[NEEDS CLARIFICATION] tags if presentClarification complete
├─ Questions: {processed}/{generated}
├─ spec.md updated: {changed areas}
├─ New requirements: {added FR count}
├─ Remaining [NEEDS CLARIFICATION]: {count}
└─ Next step: /afc:plan
[NEEDS CLARIFICATION] tags were introduced by the edit itself.$ARGUMENTS is provided: Focus the scan on that area.