speckit-sync-conflicts
Detect and surface conflicts between specs or between specs and design docs
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Detect and surface conflicts between specs or between specs and design docs
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Push the LLM to reconsider, refine, and improve its recent output. Use when user asks for deeper critique or mentions a known deeper critique method, e.g. socratic, first principles, pre-mortem, red team.
System architect and technical design leader. Use when the user asks to talk to Winston or requests the architect.
Senior software engineer for story execution and code implementation. Use when the user asks to talk to Amelia or requests the developer agent.
Facilitate interactive brainstorming sessions using diverse creative techniques and ideation methods. Use when the user says help me brainstorm or help me ideate.
Review code changes adversarially using parallel review layers (Blind Hunter, Edge Case Hunter, Acceptance Auditor) with structured triage into actionable categories. Use when the user says "run code review" or "review this code"
Break requirements into epics and user stories. Use when the user says "create the epics and stories list"
| name | speckit-sync-conflicts |
| description | Detect and surface conflicts between specs or between specs and design docs |
| compatibility | Requires spec-kit project structure with .specify/ directory |
| metadata | {"author":"github-spec-kit","source":"sync:commands/conflicts.md"} |
Find contradictions between specs, or between specs and design documents. Surface them for human resolution.
$ARGUMENTS
Read all spec files and design documents:
specs/*/spec.mddocs/plans/*.md or docs/design/*.mdFor each spec, extract:
For design docs, extract:
Create a semantic index of all requirements, keyed by:
Look for contradictions:
Type 1: Same Feature, Different Behavior
Type 2: Obsolete Constraints
Type 3: Scope Overlap
Type 4: Implicit Conflicts
For each conflict:
SUPERSEDE: Newer document replaces older
MERGE: Combine into single authoritative source
DEPRECATE: Mark older as obsolete
HUMAN_REQUIRED: Can't determine automatically
# Spec Conflict Report
Generated: [timestamp]
## Summary
| Conflict Type | Count |
|---------------|-------|
| Same Feature, Different Behavior | X |
| Obsolete Constraints | X |
| Scope Overlap | X |
| Implicit Conflicts | X |
## Conflicts
### Conflict 1: Extraction Field Count
**Sources**:
- `specs/008-field-extraction/spec.md` (FR-003)
- `docs/plans/2026-02-19-type-aware-extraction-design.md`
**Description**:
Spec 008 defines 5 fixed extraction fields for all document types.
Design doc introduces type-aware extraction with 4-8 fields per type.
**Evidence**:
From spec-008:
> FR-003: System MUST extract the following fields: Date, Vendor, Total, Tax, Currency
From design doc:
> Document Types & Extraction Fields
> ### Receipt
> Fields: Date, Vendor, Total, Tax, Currency, Category
> ### Bill
> Fields: Date, Vendor, Description, Total, Due Date, Currency, Category
**Suggested Resolution**: SUPERSEDE
The design doc (dated 2026-02-19) supersedes spec-008 for extraction fields.
Recommend updating spec-008 to reference the design doc or incorporating
the type-aware fields directly.
**Action Required**:
- [ ] Mark spec-008/FR-003 as superseded by design doc
- [ ] Update spec-008 with type-aware field definitions
- [ ] Or create new spec-013 for type-aware extraction
---
### Conflict 2: Register Row Cardinality
[... additional conflicts ...]
## Resolution Tracking
Track resolution decisions:
| Conflict | Resolution | Decided By | Date |
|----------|------------|------------|------|
| Conflict 1 | SUPERSEDE | pending | - |
## Recommendations
1. Schedule a 30-min review session to resolve conflicts
2. Consider consolidating specs 008 and design doc
3. Add explicit "supersedes" metadata to specs
Write to:
.specify/sync/conflicts.md.specify/sync/conflicts.jsonAfter reviewing conflicts, mark resolutions:
/speckit.sync.conflicts resolve 1 --supersede docs/plans/2026-02-19-type-aware-extraction-design.md
/speckit.sync.conflicts resolve 2 --merge spec-011
/speckit.sync.conflicts
/speckit.sync.conflicts --include-design-docs
/speckit.sync.conflicts --spec 008