reconcile
Resolve issues found by /speckit-analyze — apply remediations across spec, plan, tasks, data model, and contracts
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Resolve issues found by /speckit-analyze — apply remediations across spec, plan, tasks, data model, and contracts
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | reconcile |
| description | Resolve issues found by /speckit-analyze — apply remediations across spec, plan, tasks, data model, and contracts |
| user-invocable | true |
| disable-model-invocation | true |
| metadata | {"author":"insightmesh-core","source":"custom"} |
$ARGUMENTS
Optional: the user can specify issue IDs to address (e.g., "I1, C1, A1") or a severity filter ("high", "medium", "all"). If empty, address all HIGH and MEDIUM issues by default. LOW issues are included only if explicitly requested.
This skill MUST be run after /speckit-analyze has produced a report. If no recent analyze report exists in the conversation, instruct the user to run /speckit-analyze first.
When a remediation involves a class name or field list (data-model.md drift, contracts/ misalignment, schema renames), consult .claude/class-registry.json (see project CLAUDE.md §0c) for the live shape rather than re-grepping source files. Run uv run python .claude/tools/analyze_class_usage.py <ClassName> to enumerate every import / inheritance / instantiation / type-annotation site a rename or field change would affect — picking the wrong definition of a duplicated name produces a fix that looks plausible but targets the wrong file. Regenerate if missing: uv run python .claude/tools/generate_class_registry.py.
Find the active feature: Run .specify/scripts/bash/check-prerequisites.sh --json --paths-only to get FEATURE_DIR.
Load all artifacts:
FEATURE_DIR/spec.md (required)FEATURE_DIR/plan.md (required)FEATURE_DIR/tasks.md (required)FEATURE_DIR/data-model.md (if exists)FEATURE_DIR/contracts/ (if exists)FEATURE_DIR/research.md (if exists)FEATURE_DIR/quickstart.md (if exists).specify/memory/constitution.md (for constitution alignment issues)Collect the issues from the most recent /speckit-analyze report in the conversation. Parse each finding by:
Filter issues based on user input:
For each issue, draft a concrete remediation:
### Issue [ID] — [Summary] ([Severity])
**Problem**: [What's wrong, citing specific lines/sections]
**Changes**:
- **[filename]**: [exact text to change — old → new]
- **[filename]**: [exact text to add/remove]
**Rationale**: [Why this fix is correct]
Remediation rules by category:
Present all proposed changes to the user, grouped by severity (CRITICAL first, then HIGH, then MEDIUM, then LOW).
Wait for user approval:
apply all — apply all proposed changesapply I1, C1, A1 — apply specific issues onlyskip — skip allApply approved changes:
Cross-document consistency pass (MANDATORY after applying changes):
After applying changes, systematically verify ALL documents in FEATURE_DIR/ remain consistent:
For each inconsistency found during this pass:
Report:
/speckit-implement should wait/speckit-analyze if significant structural changes were made (e.g., tasks reordered, new FRs added)