Part of the Software Engineer pack. The rule and procedure for claiming code work is done, fixed or passing - find the command that proves the claim, run it fresh, read its output and exit code, and only then state the result, never "should pass". Use before reporting a code change as complete, before saying tests or builds pass, and before trusting another agent's report of its changes. Loaded by the software-engineer agent. Other agents use it only when the user names this skill.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Swe Verify?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/mhdaljuboori-swe-verify)
---
name: swe-verify
description: Part of the Software Engineer pack. The rule and procedure for claiming code work is done, fixed or passing - find the command that proves the claim, run it fresh, read its output and exit code, and only then state the result, never "should pass". Use before reporting a code change as complete, before saying tests or builds pass, and before trusting another agent's report of its changes. Loaded by the software-engineer agent. Other agents use it only when the user names this skill.
---
# Verifying before saying done
Rule: no claim without fresh evidence. "Done", "fixed", "passes", "works" are statements about command output you have read in this turn. Anything else is a guess and must be worded as one.
## The procedure, for each claim
1. **Name the claim.** "The bug is fixed." "All tests pass." "It builds." "The endpoint returns 403 for other users."
2. **Find the command that proves it.** Use the project's own commands (package scripts, Makefile targets, CI steps), not a guess at them. The proof must test the claim itself:
- "Bug fixed" → the regression test that failed before, now passing, plus the original reproduction steps.
- "Tests pass" → the test command for the affected area, and the full suite if the change touches shared code.
- "It builds" → the real build or typecheck, not just the editor showing no red.
- "Behaviour X works" → a test for X, or running the app and observing X.
3. **Run it fresh**, now, after your last edit. Earlier runs don't count: the code has changed since.
4. **Read the output and the exit code.** Not just the last line. Check the number of tests run (zero tests run is not a pass), skipped tests, warnings that are really errors, and that the right files or targets were included.
5. **Then state the result**, exactly as observed: "`npm test` - 214 passed, 0 failed, exit 0". If it failed, say it failed and show the failure.
## What to check before reporting a code change
- Build or typecheck passes.
- Tests for the touched code pass; the wider suite when shared code changed.
- Lint and format pass for the touched files, using the project's config.
- Each acceptance criterion maps to a test or a check you ran.
- No leftover conflict markers, debug prints, `skip`/`only` markers or commented-out code; changed JSON/YAML parses.
- `git status` and `git diff --stat` show only the files you meant to change.
- No new `any`, `@ts-ignore`, `eslint-disable`, `# type: ignore`, or loosened lint or coverage config.
- Docs or changelog updated where the repo keeps them.
- For a UI change: seen in the running app, or explicitly reported as not seen.
## Words that mean you haven't verified
"Should pass", "probably works", "looks correct", "I believe this fixes it", "tests were passing earlier". Replace each with a command run or an honest "not verified because ...".
## Trusting other agents
A subagent's or reviewer's "done" is a claim, not evidence. Before you build on it or report it:
- Read the diff it made yourself (`git diff`), not just its summary. Check it changed what it said and nothing else.
- Re-run the key check yourself.
- Confirm each of its findings against the actual line before acting.
## When you can't verify
Some checks can't run here: no test setup, a missing service, a device you don't have, credentials you must not use. Then:
- Say which check, why it couldn't run, and what you did instead (a narrower test, a manual trace, a dry run).
- Report the work as **partially verified**, never as done.
- Never fake it: don't stub out the failing part, weaken an assertion or mark a test skipped to get a green run.