Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Checks branch changes against the project spec and living docs for deviations before a PR.
Use this skill ↓61% 74%+13 ptsof test cases passed
Passed 17 of 23 test cases with the skill, and 14 of 23 without it.
3 of 3 safety checks passed
Not used yet
Pre-PR deviation check against the project spec. Run this before /create-pr to verify alignment between implementation and documentation.
Reference: See
~/.claude/docs/prd-workflow/spec-driven-development.md§2–§4 for the deviation threshold, workflow, and checkpoint cadence that this skill operationalizes.
Not the same as /code-review — that inspects the diff for correctness bugs and cleanups; this checks the diff against the spec and docs for deviations. They run at the same pre-PR moment and complement each other.
Perform a lightweight, advisory review of the current branch's changes against the project's spec and living documents. This is a read-only check — do not modify any files.
main. Run git rev-parse --abbrev-ref origin/HEAD; it prints e.g. origin/main or origin/master, and the part after origin/ is the base branch for the commands below. If it errors (no origin/HEAD set locally), fall back to git remote show origin (read its "HEAD branch:" line) or default to main. Use this detected base wherever <base> appears below. (Run the detection as a plain command and substitute the result literally — don't wrap it in $(...), which triggers a permission prompt.)git log <base>..HEAD --oneline to see all commits on this branchgit diff <base>...HEAD --stat to see all files changeddocs/prd/ROADMAP.md — if it exists, identify which phase or item this work relates todocs/prd/ files that cover the feature areaReview git diff <base>...HEAD (the base branch detected in Step 1) for changes that cross the deviation threshold:
Flag if present:
For each flagged change, check whether the relevant spec or living document already describes it. If it does, no action needed. If it doesn't, this is a potential deviation.
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.