speckit.diff

Compares specification versions and reports semantic differences with risk assessments.

Updated Oct 4, 2025
One-click install
npx skills add https://github.com/peancharoen/lcbp3 --skill speckit-diff-peancharoen
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: speckit.diff
Source: https://github.com/peancharoen/lcbp3/tree/main/.agents/skills/speckit.diff
Command: npx skills add https://github.com/peancharoen/lcbp3 --skill speckit-diff-peancharoen

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps teams quickly identify and understand differences between two versions of a specification or plan, turning raw changes into actionable, implementation-focused summaries.

Core Features & Use Cases

  • Section-aware semantic diff: Detects additions, removals, modifications, and moved sections rather than line-level noise.
  • Actionable impact & risk assessment: Flags breaking changes and scopes work for implementation, reviews, or release planning.
  • Use Case: Review a feature specification in a pull request to extract exact text changes, assess implementation impact, and generate a prioritized action list for developers and product owners.

Quick Start

Compare the feature spec at path spec/feature.md with its HEAD version and produce an impact-focused diff report.

Frequently Asked Questions about speckit.diff

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I compare two specification versions to identify breaking changes?

Comparing specification versions to identify breaking changes requires a section-aware semantic diff that detects structural modifications rather than line-level noise. This approach flags breaking changes, scopes implementation work, and generates prioritized action lists for developers and product owners.

What is a semantic diff and how does it differ from a standard git diff?

A semantic diff detects additions, removals, modifications, and moved sections within specifications, whereas a standard git diff highlights raw line-level changes. This method ignores whitespace-only edits and produces section-aware change summaries with risk and impact assessments for each modification.

Can I use a semantic diff for pull request reviews on feature specifications?

Yes, applying a semantic diff to feature specifications in pull request reviews extracts exact text changes and assesses implementation impact. It generates a prioritized action list for developers and product owners by quoting exact text changes and evaluating risk for each modification.

How do I generate an impact-focused change report for version-controlled specifications?

To generate an impact-focused change report for version-controlled specifications, compare the target spec with its HEAD version. The process produces section-aware semantic diffs that quote exact text changes, ignore whitespace-only edits, and include risk and impact assessments for each detected change.

Does a semantic diff ignore whitespace-only edits when comparing specification files?

Yes, a section-aware semantic diff ignores whitespace-only edits when comparing specification files. It isolates meaningful additions, removals, modifications, and reorganizations to ensure the resulting change report focuses strictly on actionable content and impact assessments.

When do I need a section-aware change report for release planning?

A section-aware change report is needed for release planning when you must audit scope changes between specification versions. It identifies reorganized sections and breaking changes, providing clear change summaries and impact assessments required for release or scope audits.