sw-verify
Skill1 starsChanged 39 days agoMITView on GitHub
Independent proof that a step is really done. Runs the step's agreed check itself, and for anything a command can't prove, uses a fresh-context reviewer that can read but not edit and starts from "fail". Use after every Stillwright step, before telling the user anything is finished, and whenever someone asks "is it actually done/working?".
1 other project uses a version of this.
Adopted by
Most recently taken up by
- mhmtsrfglu/superwikitheir own version, first seen Oct 15, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- mhmtsrfglu/superwiki★ 30same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository9 other files it gives its agents.
- stillwrightSkill
- sw-context-dietSkill
- sw-deep-searchSkill
- sw-forgeSkill
- sw-launchSkill
- sw-onboardSkill
- sw-radarSkill
- sw-scoutSkill
- sw-workerSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 2 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 24
The check was fixed before the work: If the check changed afterwards, say so in the log.
- Distinctive: line 25
Tests are read-only to the worker: If a worker edited tests or check scripts to make them pass, that's a fail until a human agrees.
- Very specific: line 34
A code step: When any file but documents or media changed since the run started (or since the step certified before this one started), sw …
- Very specific: line 61
When a command can't decide it, run sw run review latest N and give the reviewer that packet and nothing else: it holds the goal, the …
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Verify
sw below is the Stillwright binary. If sw is not on PATH, follow the install note in the stillwright skill (ask the user first; never install unattended).
Agents regularly report work as done when it isn't: tests skipped, UI visibly broken, a claim nobody checked. The worker's own report is evidence to check, never the verdict.
Rules
- Default is FAIL. A step passes only with evidence that was opened and read.
- The checker didn't decide the outcome. Either a command fixed in the plan before the work started, whose real output you read and quote into the log (even if you also did the work, the command decides, not you), or a fresh subagent that never saw the worker's reasoning and has no edit tools.
- The check was fixed before the work. If the check changed afterwards, say so in the log.
- Tests are read-only to the worker. If a worker edited tests or check scripts to make them pass, that's a fail until a human agrees.
When a reviewer is needed at all
A command that exits 0 is the cheapest and most honest verdict there is, and for most steps it is the whole verdict. Two cases need a model reviewer, always a fresh read-only subagent on the small model that sees the packet and nothing else, so it costs cents:
- A code step. When any file but documents or media changed since the run started (or since
the step certified before this one started),
sw run doneandsw run proverefuse to certify until the reviewer's verdict is logged, whatever the check command was. A passing check proves the test, not the contract: the reviewer reads the changed files against what they document (docstrings, comments, README) and fails the step when a documented behaviour is left broken or unimplemented, or when the reported symptom's cause is still there. FAIL means one of two things: a documented behaviour broken or unimplemented, or the reported symptom still there in the ticket's own scenario. Anything else the reviewer would improve (float rounding at a boundary, an input type nobody documented, a limit nobody set, style) is a note under the PASS, never a FAIL: the reviewer judges the contract, not what it would have added. This is the case the 2026-11-06 measurement found: an agent fixes the ticket, passes the visible test, and leaves the documented second defect unmentioned. - Work no command can judge (prose, research, design): the verdict is the pass.
Kinds of checks
| Work | Check |
| Code | the named tests, build and linters exit 0; for UI, load the page and look |
| Deploy / service | the URL returns the expected status and content; logs show no new errors |
| Files / config | the file exists and contains the required values (grep, parse it) |
| Writing | every requirement in the request ticked off; length and tone as asked |
| Research | each claim's source was fetched and actually says it; numbers have dates |
| Outward action | the result exists where it should (PR URL, published page, sent message id) |
Fresh reviewer brief
When a command can't decide it, run sw run review latest N and give the reviewer that
packet and nothing else: it holds the goal, the must-nots, the step and its check, the diff
since the step's review base (its snapshot, the step certified before it started, or the run's start; new files included) and the latest check output, and it leaves out
what the worker said. The packet ends with the brief ("Start from FAIL. Pass only what the
changes and the output prove; list each requirement of the check as pass or fail with the
evidence") and
the path the verdict goes to (<run>/checks/step-N-review.md). Give the reviewer read-only
tools; it may open files the packet names, never the run log. For a code step the packet also
lists the source files changed since the run started, with their content when short, and
asks the contract question; the reviewer answers it file by file.
Result
Log it: sw run log latest step=N result=pass|fail evidence=<verdict file> note="<one line>",
after the check whose receipt it certifies (a verdict logged before the latest check does not
count). On a code step this records the review; sw run done then certifies. On a prose step it
is the pass. The orchestrator saves the reviewer's reply verbatim; the reviewer itself is read-only.
A pass on a step with no command check is refused without evidence=: a non-empty file
(the verdict, a screenshot, the fetched page), stored with its hash, so the claim and what
backed it can be opened together later. On fail, the note says exactly what broke so the
retry can fix it.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

