agentleFS
HesstasticHesstastic/fable-agent-orchestration/skills/task-relative-test-gate/SKILL.md

task-relative-test-gate

Skill0 starsChanged 5 months agoApache-2.0View on GitHub

Design or review tests so they prove the specific task, not merely that generic checks are green. Use after non-trivial fixes, runtime demos, CI repairs, agent PRs, and any claim that a feature works.

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    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:

    Run both arms when practical:

    line 18

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 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

Task Relative Test Gate

Generic green tests are not proof. A task is verified only when the gate exercises the task trajectory and fails under the broken behavior.

Procedure

  1. State the task trajectory: input, path, state transition, observable output.
  2. Name the invariant.
  3. Name explicit non-scope.
  4. Name the easy fake pass.
  5. Build the smallest gate that exercises the real production path.
  6. Run both arms when practical:
    • broken arm fails;
    • fixed arm passes.
  7. Preserve evidence: command, log, artifact, screenshot, report, or CI URL.

Reality Gates

For product or game claims, prefer at least two truth sources:

  • browser pixels or client stream;
  • server state or inspector;
  • worker logs;
  • replay, snapshot, or durable artifact;
  • load or latency report.

Verdicts

  • PASS: task path exercised; broken arm and fixed arm exist.
  • FAIL: task path fails or the ruler is fake.
  • SPLIT: useful partial proof; another truth source remains.
  • RETREAT: this cannot be verified by the proposed gate.

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.