openspec-evidence
Skill2 starsChanged 6 days agoMITView on GitHub
Watch a check fail before trusting it. Use when adding a test, guard, linter rule or CI check, when writing acceptance criteria for a task, or whenever about to record that something passed.
In this repository11 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .claude/CLAUDE.mdCLAUDE.md
- openspec-apply-changeSkill
- openspec-archive-changeSkill
- openspec-exploreSkill
- openspec-proposeSkill
- openspecSkill
- openspec-sync-specsSkill
- openspec-update-changeSkill
- openspec-change-flowSkill
- openspec-spec-driftSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 2 are distinctive, and 0 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.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 40
Prefer an existing test to a new probe.
- Distinctive: line 58
Write acceptance criteria as observations, not assertions: "the linted set is enumerated, not assumed", "a ratio, not an assertion", "three …
≈ “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
Watch it fail first
A check that has never been observed failing is a check whose passing means nothing. Before recording that a guard works, make it red on purpose and read what it says.
This is not ceremony. Every real finding in the session that produced this plugin came from it:
- A
fetchstub that threw on any call left the entire suite green. Every call site was a TanStack QueryqueryFn, and Query caught the rejection into an error state that a loading-state assertion never inspects. Throwing changed nothing anything could see. The fix was to record the attempted URL and assert inafterEach— a different design, reached only because the obvious one was watched and found silent. - A
pre-pushhook addition appeared not to work: the push succeeded while the hook body, run directly, exited 1. In a git worktreecore.hooksPathresolves to the main checkout, so the edited hook was never the one git ran. Test a hook change withgit -c core.hooksPath=.husky pushto a local bare repo, scoping the override to one command. - A sweep reported a CI job as having
fetch-depth: 0. It did not — the string appeared inside that job's own comment explaining its absence. Parse structure, do not grep prose.
How to watch
- Break exactly one thing, and confirm the report names that thing and nothing else. A check that reports collateral findings gets ignored.
- Probe the boundary in both directions: the case that must fail, and the adjacent case that must pass. A guard that fires on everything is as useless as one that fires on nothing.
- Restore, and confirm green again. State the restore; a probe left behind is a defect shipped.
- Prefer an existing test to a new probe. Looking for coverage before writing one found a test already named "fails fast when X is missing" — better evidence than any probe, and it revealed that the behaviour was tested, documented, and specified nowhere.
Green that means nothing
Three ways a passing check can be vacuous:
- Nothing declared it. A comparison against a declared inventory passes trivially while the declaration sits in an unarchived delta the checker cannot see. It only has teeth once applied.
- The tool never ran. A subprocess that fails to launch returns a null status. Treat that as a failure, loudly — never as "validation passed".
- The output format changed. A checker that stops recognising its own tool's output should print the tail and fail, not go quiet. Silence looks identical to success.
Write acceptance criteria as observations, not assertions: "the linted set is enumerated, not assumed", "a ratio, not an assertion", "three observed outcomes".
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.

