agentleFS
TradebaasTradebaas/Groundwork/.agents/skills/scope-guard/SKILL.md

scope-guard

Skill2 starsChanged 3 months agoMITView on GitHub

Judgment check before calling substantial work done or proposing a commit. Use before "done", before committing more than a trivial change, and whenever you notice yourself building something nobody asked for. The judgment layer above the automated gates, not a duplicate of them.

6 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 6 edited versions we read keep these.

  • 0

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Deferrals marked: Every deliberate simplification has a defer: marker with a ceiling and an upgrade trigger, and a DEBT.md row if it will …

    line 22

“Common” is measured: kept by at least 6 in 10 of the 6 edited versions of this file we could read. “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

scope-guard: before you say "done"

The gates (checks/check.mjs, typecheck, lint, tests) are the floor and must be green. This checklist catches what they can't see. Answer honestly; the point is the answers, not the ritual.

  1. Trace. Does every part of this diff trace to a spec, an SC-item in BRIEF.md, or an explicit request? Anything that doesn't → out of the diff, into INTAKE.md.
  2. Ladder. Did something get built that already existed: in the repo, the platform, or a dependency? Rebuilt-in-disguise counts.
  3. Minimum. Is there code here for cases nobody asked for: options, abstractions, "flexibility"? Deletion is still cheap now; a month from now it's archaeology.
  4. While-I-was-here. Any refactors, renames, or cleanups outside the task? Revert them or split them into their own proposed change; never smuggle them along.
  5. Safety floor intact? Validation at trust boundaries, authorization, data-loss error handling, no silently swallowed failures, secrets, accessibility: none simplified away (AGENTS.md hard rule).
  6. Deferrals marked. Every deliberate simplification has a defer: marker with a ceiling and an upgrade trigger, and a DEBT.md row if it will outlive this change.
  7. Done means verified. Has verify actually been run on this change, behavior exercised, not just green tools? If not, that's the next step, not this one.
  8. Good is good. Now that it passes: stop. List improvement ideas in INTAKE.md if they're worth keeping; build none of them unasked.

Then update what the change touched: STATE.md (always), the spec status, DEBT.md, stale docs (retired wording → denylist). Report the check's outcome in one or two lines: findings and what you did about them, or "clean". ⚓

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.