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