Skip to content
warpdotdev avatar

Validate Changes Match Specs

Verifies a branch or pull request implementation matches its introduced product, technical, and security specs.

CCM score
60 of 100
skills.sh installs
26K
GitHub stars
752
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers spec discovery under specs/, PRs and branches, comparing spec commitments against code, tests, and validation artifacts
  • Includes a mismatch report with per-item resolution choices, plus review-comment consistency checks against acknowledged PR replies
  • Enforces a deeper security review that tests both positive and negative paths for auth, data exposure, and isolation
  • Designed for reviewers finishing spec-driven changes who need to resolve gaps between checked-in specs and implementation

Install

$ npx -y skills add warpdotdev/common-skills --skill validate-changes-match-specs -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Validate changes match specs

Use this skill to verify that a branch or pull request implements the behavior and design promised by its specs. The workflow finds specs introduced by the change, compares them against code, tests, documentation, and validation artifacts, then walks the user through every material mismatch.

Goals

  • Find specs introduced or modified by the current change.
  • Extract concrete product, technical, security, migration, rollout, and validation commitments.
  • Compare those commitments against the actual implementation.
  • Produce a clear mismatch list.
  • Ask the user, mismatch by mismatch, whether to update the implementation to match the spec or update the spec to match the implementation.
  • Apply the chosen resolutions either one-by-one or in a batch.

Spec discovery

Start by identifying the base branch and changed files.

Prefer repository conventions when known. Otherwise:

  • Use the PR base branch when a PR exists.
  • Use main, master, or develop only when that is clearly the repository's base branch.
  • Use git merge-base and git diff --name-only <base>...HEAD to find files introduced or modified by the branch.

Details

Repository
github.com/warpdotdev/common-skills
Categories
Code Review & Quality, Git & Releases, Testing & QA
First seen
Jul 14, 2026

Questions

What does the validate-changes-match-specs skill do?

It checks that a branch or pull request implements the product, technical, security, and validation commitments in its introduced specs. It finds mismatches between checked-in specs and the code, then asks you, mismatch by mismatch, whether to update the implementation or the spec.

How do I install validate-changes-match-specs?

Run npx -y skills add warpdotdev/common-skills --skill validate-changes-match-specs -y in your project. It then lets the agent validate a spec-driven change against its specs when reviewing or finishing it.

Where does validate-changes-match-specs rank among Code Review and Quality skills?

It ranks in the top 50 on the Code Review and Quality category page. Other skills in that category include improve-codebase-architecture, codebase-design, code-review, and caveman-review, but this one is specific to checking specs against implementation.

Does validate-changes-match-specs review security specs too?

Yes, when a security, privacy, auth, or data-handling spec is present, it validates both positive and negative paths. It checks permission boundaries, sensitive data exposure, and secret handling, and flags plausible gaps as security amendments.

More from warpdotdev/common-skills

All 25

Similar to Validate Changes Match Specs

More Code Review & Quality