agentleFS
codecicadacodecicada/openspec-steward/skills/openspec-evidence/SKILL.md

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.

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
  1. Distinctive:

    Prefer an existing test to a new probe.

    line 40
  2. Distinctive:

    Write acceptance criteria as observations, not assertions: "the linted set is enumerated, not assumed", "a ratio, not an assertion", "three …

    line 58

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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 fetch stub that threw on any call left the entire suite green. Every call site was a TanStack Query queryFn, 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 in afterEach — a different design, reached only because the obvious one was watched and found silent.
  • A pre-push hook addition appeared not to work: the push succeeded while the hook body, run directly, exited 1. In a git worktree core.hooksPath resolves to the main checkout, so the edited hook was never the one git ran. Test a hook change with git -c core.hooksPath=.husky push to 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:

  1. 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.
  2. The tool never ran. A subprocess that fails to launch returns a null status. Treat that as a failure, loudly — never as "validation passed".
  3. 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".

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.