Verifies completed implementations against their plans by re-running tests, checking code, and producing a validation report.
How this skill is triggered — by the user, by Claude, or both
Slash command
/ai-research-workflows:validating-implementationsThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Systematically verify that a completed implementation satisfies every success
Systematically verify that a completed implementation satisfies every success
criterion in its plan, producing a validation report — written to docs/rse/specs/validation-<slug>.md and also presented inline.
A validation verdict is only as good as the evidence behind it. Checkmarks in
the plan (- [x]), a teammate's "all 45 tests green, ready for PR" report, and
"it looks done" are claims, not evidence. Do not give a verdict until you
have re-run every automated verification command yourself and read the actual
code against each success criterion. Trust nothing you did not see with your own
eyes — no matter who reported it or how reliable they seem. "Just confirm it's
good" is a request to validate, not to rubber-stamp someone else's report.
This skill leans Direct by default. For the full Collaborative-vs-Direct protocol and override rules, see the Interaction Modes reference in the ai-research-workflows:using-research-workflows skill.
If a plan path is provided, read it completely — this is the specification to validate against.
If no plan path is given, search docs/rse/specs/{plan,implement}-*.md (then legacy .agents/{plan,implement}-*.md). If
multiple match, ask which to validate (Collaborative); if exactly one, proceed
(Direct). If none found, explain that validation requires a plan.
Existing session (implementation done in this conversation):
Fresh session (reviewing past work):
Before validating, understand what was actually done.
Check recent commits:
git log --oneline -n 10
git diff HEAD~3..HEAD --stat
Run tests to establish baseline:
make test
# or: pytest tests/ -v
# or: npm test
Read the entire plan (avoid partial reads). For each phase identify:
Verify code, schema, and test coverage concurrently when possible:
ai-research-workflows:ensuring-reproducibility) and that numerical results
meet their stated criteria/tolerances
(ai-research-workflows:hardening-research-code). Re-run to confirm reported
numbers actually reproduce.Wait for ALL verification to complete before synthesizing.
For each phase in the plan:
Check completion status — - [x] = claimed complete; - [ ] = incomplete.
Verify actual code matches claimed completion — don't trust checkmarks. Read the code: are the files modified as described? Does the implementation match the specification?
Run automated verification — execute EACH command from the plan's "Automated Verification" section:
make test
pytest tests/ -v
npm run lint
mypy src/
Document results per check:
- ✅ `make test` — All 45 tests passing (expected 45)
- ❌ `pytest tests/test_new_feature.py` — 2 tests failing (expected 0)
- ✅ `mypy src/` — Type checking passed
If a check fails:
Assess manual criteria — for items in the plan's "Manual Verification" section, list what needs human testing with clear, actionable steps. If in the same session and the user already confirmed, note that; otherwise assume manual testing is still needed.
Produce the report once, then both write it to a durable file and present it
inline. Use the section templates and presentation/special-case blocks from
references/report-templates.md.
Derive the slug from the plan being validated (docs/rse/specs/plan-<slug>.md →
<slug>; e.g. plan-oauth-support.md → oauth-support). Write the full report
to docs/rse/specs/validation-<slug>.md, overwriting any previous validation of
the same plan — git history preserves earlier verdicts. Create docs/rse/specs/
if it does not exist.
Record provenance at the top so a reader knows exactly what this verdict covers:
Validated against
plan-<slug>.md/implement-<slug>.mdat commit<short-sha>(git rev-parse --short HEAD) on<date>.
End the document with a ## References section linking back to the plan and
implementation docs with relative paths.
Present the same report inline in the conversation (Direct mode: write the file, then show the report and confirm its path). The report contains these sections in order:
| Thought | Reality |
|---|---|
| "The engineer said all tests pass, I'll confirm" | A teammate's green report is an unverified claim, same as a checkmark. Re-run it yourself. |
"All phases are checked [x], looks done" | Checkmarks are claims. Nothing is verified until you see fresh output. |
| "Re-running takes 10 minutes, just sign off" | The 10 minutes is the cost of a verdict you can stand behind. Run it. |
| "The numbers look reasonable" | For research results, "reasonable" isn't reproduced. Confirm they re-run within tolerance. |
- [x] in the
plan means nothing until you execute the verification command and confirm the
output yourself.Before delivering the report:
docs/rse/specs/validation-<slug>.md with provenance + ReferencesValidates the plan from the ai-research-workflows:planning-implementations skill. For failures, fix
and re-run, or use ai-research-workflows:iterating-plans if the plan itself was wrong.
npx claudepluginhub uw-ssec/rse-plugins --plugin ai-research-workflowsValidates execution of an implementation plan by verifying success criteria, checking git history, and identifying deviations. Use after implementing a plan to ensure correctness.
Independently verifies implementation against a plan document by reading the plan from disk and inspecting the codebase from scratch. Produces a structured PASS/FAIL review document.
Verifies completed implementations for quality via subagents: completeness, test execution, code review, pragmatic review, production readiness, reality assessment. Compiles read-only reports.