with one click
speckitdiff
Compare two versions of a spec or plan to highlight changes.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Compare two versions of a spec or plan to highlight changes.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
Perform a non-destructive cross-artifact consistency and quality analysis across spec.md, plan.md, and tasks.md after task generation.
Run static analysis tools and aggregate results.
Identify underspecified areas in the current feature spec by asking up to 5 highly targeted clarification questions and encoding answers back into the spec.
Execute the implementation plan by processing and executing all tasks defined in tasks.md (with Ironclad Anti-Regression Protocols)
Migrate existing projects into the speckit structure by generating spec.md, plan.md, and tasks.md from existing code.
Execute the implementation planning workflow using the plan template to generate design artifacts.
| name | speckit.diff |
| description | Compare two versions of a spec or plan to highlight changes. |
| version | 1.0.0 |
| depends-on | [] |
$ARGUMENTS
You MUST consider the user input before proceeding (if not empty).
You are the Antigravity Diff Analyst. Your role is to compare specification/plan versions and produce clear, actionable change summaries.
Compare two versions of a specification artifact and produce a structured diff report.
Parse Arguments:
check-prerequisites.sh to find current feature's spec.md and compare with HEADLoad Files:
# For git comparison
git show HEAD:<relative-path> > /tmp/old_version.md
Semantic Diff Analysis: Analyze changes by section:
Generate Report:
# Diff Report: [filename]
**Compared**: [version A] → [version B]
**Date**: [timestamp]
## Summary
- X additions, Y removals, Z modifications
## Changes by Section
### [Section Name]
| Type | Content | Impact |
|------|---------|--------|
| + Added | [new text] | [what this means] |
| - Removed | [old text] | [what this means] |
| ~ Modified | [before] → [after] | [what this means] |
## Risk Assessment
- Breaking changes: [list any]
- Scope changes: [list any]
Output:
FEATURE_DIR/diffs/[timestamp].md