spec-gaps
Read the active checklist, find unchecked gaps and inconsistencies, and draft spec updates to address them
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Read the active checklist, find unchecked gaps and inconsistencies, and draft spec updates to address them
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Resolve issues found by /speckit-analyze — apply remediations across spec, plan, tasks, data model, and contracts
Execute the implementation plan by processing and executing all tasks defined in tasks.md
| name | spec-gaps |
| description | Read the active checklist, find unchecked gaps and inconsistencies, and draft spec updates to address them |
| user-invocable | true |
| disable-model-invocation | true |
| metadata | {"author":"insightmesh-core","source":"custom"} |
$ARGUMENTS
Optional: the user can specify a checklist filename (e.g., "agent-pipeline") or "all" to process all checklists. If empty, process the most recent checklist in the active feature's checklists/ directory.
Find the active feature: Run .specify/scripts/bash/check-prerequisites.sh --json --paths-only to get FEATURE_DIR.
Load the checklist:
FEATURE_DIR/checklists/- [ ])[Gap], [Consistency], [Ambiguity], [Clarity], [Completeness], [Coverage]Load the spec and plan:
FEATURE_DIR/spec.mdFEATURE_DIR/plan.md (if exists)FEATURE_DIR/data-model.md (if exists)FEATURE_DIR/contracts/ (if exists)For each unchecked gap item, draft a resolution:
Present all proposed changes to the user in a structured format:
## Proposed Spec Updates
### CHK0XX — [checklist item summary]
**Issue**: [what's missing or unclear]
**Proposed text**: [exact text to add/replace in the spec]
**Target section**: [which spec section to update]
Wait for user approval:
Apply approved changes:
spec.md with approved text- [x])Cross-document consistency pass (MANDATORY after applying changes):
After updating spec.md, systematically check ALL other documents in FEATURE_DIR/ for inconsistencies introduced by the changes:
data-model.md: Do entity fields, constraints, enums, or relationships still match the spec? If the spec added new FRs, added fields, changed enums, or modified formulas — update the data model to match.research.md: Do technical decisions still align with spec changes? Verify research decisions aren't contradicted.plan.md: Does the project structure, technical context, or constitution check still align? Update if spec changes affect architecture.quickstart.md: Do usage examples still match the contracts?For each document, either:
Report:
/speckit-checklist if significant changes were made