agentleFS
MegapromptingMegaprompting/torque-loop/skills/build/SKILL.md

build

Skill9 starsChanged 5 months agoMITView on GitHub

Force artifact production — stop talking and make the thing. Use when a target is locked and something concrete must exist. Produces the smallest usable v0 (spec, prompt, checklist, test-suite, decision-record, code-patch, qa-ledger, or operating-procedure) with explicit holes and a 5-point working test.

76 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use incident, experiment and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • pvnarpSkill

    incident

    Guides incident response and post-mortem analysis. Covers triage, mitigation, root cause analysis, and prevention. Use when responding to active incidents, writing post-mortems, or improving incident processes.

    Also in 3 projects that use this

  • sunnnybalaSkill

    experiment

    Design and run ML experiments on cloud GPUs. Generates experiment code, runs on Modal, tracks results in JSONL. Use when asked to "run experiments", "train a model", "test this hypothesis", or "benchmark this approach". Proactively invoke when the user has a refined research idea and needs to validate it experimentally.

    Also in 3 projects that use this

  • SentrySkill

    spec

    Produce a verified spec — problem, desired outcome, and acceptance criteria — before building. Use when given a GitHub/Linear issue link, when starting from a fuzzy in-conversation idea, or asked to "figure out what to do" / "scope this" / "what should I build" — whenever the *what* isn't yet pinned down. Grills the ambiguities, checks the premise against the code, and produces acceptance criteria you sign off on — then hands to design-first.

    Also in 9 projects that use this

  • AnthropicSkill

    brief

    Generate contextual briefings for legal work — daily summary, topic research, or incident response. Use when starting your day and need a scan of legal-relevant items across email, calendar, and contracts, when researching a specific legal question across internal sources, or when a developing situation (data breach, litigation threat, regulatory inquiry) needs rapid context.

    Also in 5 projects that use this

  • AnasX7Skill

    improve

    Survey any codebase as a senior advisor and produce prioritized, self-contained implementation plans for OTHER models/agents to execute. Strictly read-only on source code — never implements, fixes, or refactors anything itself. Use when asked to audit a codebase, find improvement opportunities (bugs, security, performance, test coverage, tech debt, migrations, DX), suggest features or where to take the project next (roadmap, product direction), or generate handoff plans for another agent to implement.

    Also in 4 projects that use this

  • BlockSkill

    plan

    Draft a TDD, PRD, or lightweight plan in the conversation without committing it.

    Also in 17 projects that use this

The file

We split this skill into the rules it gives an agent

4 rules. 0 are common, 1 is distinctive, and 3 are very specific to this project.

  • 0

    Common

    Most of the 71 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    When editing a repo, match the neighbors: Read adjacent files first.

    line 34
  2. Very specific:

    Build against the map: If /ratchet:map left an unknown-map artifact (.ratchet/unknowns-map.md), build against it — and when the code …

    line 43
  3. Very specific:

    Build-for-learn (probe mode): If the active task is a probe (a live kind:"probe" artifact — see templates/probe-card.md), you are building …

    line 54
  4. Very specific:

    Do not declare it done. The next move is /ratchet:attack — an unattacked artifact is a guess, not a deliverable.

    line 91

“Common” is measured: kept by at least 6 in 10 of the 71 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

/ratchet:build — make the thing

Analysis is not progress. This command exists to end deliberation and produce an artifact. The output is never a description of what you would build — it is the build.

Step 0 — Load state

ratchet status
ratchet snapshot repo

Artifact kind

Take the kind from the argument if given, else infer it from the objective:

spec · prompt · checklist · test-suite · decision-record · code-patch · qa-ledger · operating-procedure

Templates for records live in the plugin's templates/ directory — mirror their shape.

Procedure

  1. Build the smallest usable v0. The minimum a real user could use today. Cut every part that is not load-bearing for the locked proof-of-done. No gold-plating, no speculative generality.
  2. When editing a repo, match the neighbors. Read adjacent files first; mirror their idiom, naming, and comment density. New style is a defect.
  3. State the holes. List every gap, shortcut, and unverified claim explicitly. A named hole is honesty; a hidden one is a defect the auditor will find.
  4. Write a 5-point working test. Concrete pass/fail checks a stranger could run. If you cannot write the test, you do not yet understand the artifact — say so and narrow scope.

Build against the map. If /ratchet:map left an unknown-map artifact (.ratchet/unknowns-map.md), build against it — and when the code contradicts what the map assumed, do not silently absorb it. Record a deviation (templates/deviation-note.md) as a decision, openLoop, or defect, and add it to the map's Deviations during build section. The map is a living record through the build, not a pre-build formality.

Re-score on surprise. Two deviations — or one that reshapes the locked target — mean the aperture was scored too low. Re-run ratchet score aperture; if it now says Pre-build map: required, stop building and run /ratchet:map. Patching deeper into unmapped terrain is the confident-build-into-fog the dial exists to refuse.

Build-for-learn (probe mode). If the active task is a probe (a live kind:"probe" artifact — see templates/probe-card.md), you are building to learn, not to keep:

  • Build only the smallest artifact that produces the card's proof-of-learning; stay inside its allowed surfaces; stop at its stop condition.
  • The probe's completion is a map/state delta — a decision, assumption, open loop, or defect — never a code diff. Probe code existing is not implementation progress; do not claim it as such.
  • Then dispose: revert the code and ratchet retract <probe-id> --reason "disposed: …". Keeping probe code is a promotion — a fresh build-for-keep under the full proof/seam gates, never a default. Undisposed probes drain confidence and flag the cold-start scan.

For large or code-heavy artifacts, delegate to the ratchet-builder subagent.

Output contract

ARTIFACT: <title> (<kind>, v0)
<the artifact itself — inline, or a file path you wrote>
EXPLICIT HOLES:
- ...
5-POINT WORKING TEST:
1. ...
2. ...
3. ...
4. ...
5. ...

Serialize

ratchet artifact add '{"title":"<title>","kind":"<kind>","status":"v0","path":"<path or empty>","holes":["...","..."]}'
ratchet state append openLoops '{"text":"deviation: map said X, code revealed Y — needs user judgment","status":"open"}'   # only if the build diverged from the map
ratchet state set phase build

Do not declare it done. The next move is /ratchet:attack — an unattacked artifact is a guess, not a deliverable.

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.