Install any skill in seconds. Free to start, no credit card required.
Get Started Free →joshukraine/drift-check
Pre-PR advisory check for deviations from the project spec. Read-only analysis.
Passed 13 of 18 test cases with the skill, and 11 of 18 without it.
and 3 more in the full report
5 fixed12 passed either way4 still failing2 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 5 test cases the skill fixed. Same model, same prompt, with and without the skill.
If all branch diffs match existing specs in docs/prd/ and CHANGELOG.md contains the corresponding entry, what should be listed in the Recommended Actions section?
| Checked | Without skill | With skill |
|---|---|---|
| The response includes 'Clear to proceed with /create-pr' in the recommended actions when no drift is found. | Missed | Passed |
The instructions your model reads when the skill loads.
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.
test cases passed, vs 11 / 18 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.