Validating implementations

From uw-ssec/rse-plugins · View interactive version

Validating implementations is an AI agent skill from the GitHub repository uw-ssec/rse-plugins. Use when an implementation is claimed complete and must be checked against its plan before a PR or merge. Triggers: validate the implementation, verify it matches the plan, check before PR or merge, ready for PR, all tests pass so confirm it, success criteria, validation report. Not for unfinished w

How to use this skill

Skill file

Validating Implementations

Check a finished implementation against every success criterion in its plan

and write a validation report.

Iron Law: no verdict without fresh output you produced yourself

Plan checkmarks (- [x]), a teammate's "all 45 tests green, ready for PR", and

"looks done" are claims, not evidence. Before any verdict, re-run every

automated check yourself and read the actual code against each success

criterion. "Just confirm it's good" is a request to validate, not to

rubber-stamp. If you cannot run commands or read files here, say so and give

no verdict.

Default mode: Direct (ai-research-workflows:using-research-workflows).

Quick reference

| Situation | Do |

|---|---|

| No plan path | Search docs/rse/specs/{plan,implement}-*.md, then legacy .agents/; ask if several match; stop if none. |

| Fresh session | Reconstruct from git and the specs; record deviations as observed facts. |

Process

  1. Read the whole plan, phase by phase.
  2. Run every Automated Verification command verbatim (for example

pixi run pytest). Run all of them, even after a failure, and record

each actual output.

  1. Read the actual code for each phase against its criteria. A [x]

means "claimed complete", nothing more.

  1. Investigate every failure. Re-run it, read the error, and name the root

cause (implementation bug, test bug, plan mismatch, environment) with a

narrow file:line. "Flaky" is a claim too. While any check fails, the

status is Issues Found. For example:

```markdown

implementation bug, window normalised twice at src/pkg/spectrum.py:34.

```

  1. Research results: re-run what produced reported numbers and confirm

they match within the stated tolerance.

  1. Manual criteria go under Manual Testing Required with steps and the

expected outcome. Never mark one passed unless the user confirmed it in

this session.

  1. Report, don't fix. Leave the code under review unchanged; offer fixes

afterwards.

Read references/validation-process.md for evidence commands and failure

triage.

The report

Write it to docs/rse/specs/validation-<slug>.md (slug from

plan-<slug>.md) and present it inline. A chat-only request still gets

the file, with its provenance and References: it is the verdict's record.

Only an explicit ban on writing files stops it; then say the verdict has no

record. The report:

(git rev-parse --short HEAD) and date;

Ready only if every check passed and every criterion is met;

Code Review Findings, Manual Testing Required and Recommendations;

implement-<slug>.md.

Read references/report-templates.md when writing it.

Red flags: you're about to rubber-stamp

| Thought | Reality |

|---|---|

| "They said all tests pass" | Unverified claim. Re-run it. |

| "Every box is [x]" | Read the actual code anyway. |

| "Those failures are flaky" | Re-run and find the root cause first. |

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.