一键导入
speckitdiff
Compare two versions of a spec or plan to highlight changes.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Compare two versions of a spec or plan to highlight changes.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
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