agentleFS
toveruxtoverux/cantrips/skills/implement/SKILL.md

implement

Skill3 starsChanged 4 months agoMITView on GitHub

Implement a spec or a single ticket, driving TDD at the seams agreed in the spec.

191 other projects use a version of this, 58 of them edited.

Adopted by

Most recently taken up by

Used with

Projects with it also use setup-ts-deep-modules, ask-matt 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.
  • liufeng1976Skill

    setup-ts-deep-modules

    Wire dependency-cruiser into a TypeScript repo so each package is a deep module — implementation hidden in subfolders, reachable only through its entry-point files. User-invoked.

    Also in 43 projects that use this

  • GoogleSkill

    ask-matt

    Ask which skill or flow fits your situation. A router over the skills in this repo.

    Also in 91 projects that use this

  • RoentekSkill

    loop-me

    Grill me about specs for the workflows I want to build, within this workspace.

    Also in 50 projects that use this

  • AWSSkill

    to-questionnaire

    Turn a decision you can't fully answer into a questionnaire for someone else to fill in.

    Also in 88 projects that use this

  • ryotaroh180105Skill

    claude-handoff

    Hand the current conversation off to a fresh background agent that picks up the work immediately.

    Also in 42 projects that use this

  • GoogleSkill

    to-spec

    Turn the current conversation into a spec and publish it to the project issue tracker — no interview, just synthesis of what you've already discussed.

    Also in 168 projects that use this

  • +3 more from google

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 171 edited versions we read keep these.

  • 3

    Distinctive

    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 typechecking regularly, single test files regularly, and the full test suite once at the end.

    line 17
  2. Distinctive:

    When working from a ticket, tick its acceptance criteria as each one is verified.

    line 19
  3. Distinctive:

    When every criterion is verified, resolve the ticket — the resolve-ticket verb from the same loop config, the ticked criteria standing as …

    line 20

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

Implement the work in the spec or the ticket the user names. Fetch it in full first — the fetch-spec or fetch-ticket verb — and for a ticket, fetch its parent spec too; state its title before starting, and where the reference is ambiguous, ask. The loop config translates the storage verbs: it is docs/agents/cantrips-loop.md, and when that doc is absent the plugin defaults (defaults.md) govern.

Where the spec agreed a test seam, drive /tdd at that seam — the seams are already approved, so test at them without re-asking. Where no seam was agreed, implement directly: state explicit verification criteria up front (what observable result proves it works), then verify against them before calling the work done.

Run typechecking regularly, single test files regularly, and the full test suite once at the end.

When working from a ticket, tick its acceptance criteria as each one is verified. When every criterion is verified, resolve the ticket — the resolve-ticket verb from the same loop config, the ticked criteria standing as evidence. Resolve on the criteria without second-guessing: a wrong resolve is one human reopen away. The spec itself stays as published — no skill ever closes a spec; closing the feature is the human's act through the backend's native machinery.

Done when every criterion is verified, the ticket (if any) is resolved, and the full suite passes → close with a flow pointer (the message's final paragraph, a blockquote in full italics opening Next: — or Next steps: over one bullet per pointer — each pointer naming its skill the way this skill was itself invoked, same prefix and namespace, and ending in a one-clause rationale after an em dash) naming the review tail, a chain rendered whole and in order, all in this session with the working diff as context:

  • /simplify (user-invoked) — an optional quality pass, rendered as the command to type with one proof-test:<path> token per proving test of the whole run and bare where the run has none: a proving test is a /tdd test at an agreed seam or a test the agent wrote or changed and ran to tick a criterion, so a test never run for proof, a pre-existing test that merely passed, and a criterion verified by hand name none.
  • /review-gate [--fix | --loop] (user-invoked) — suggest low for a trivial or mechanical diff, high for a large, cross-cutting, or risky one, medium otherwise; pair any level with --fix to apply the findings once, or with --loop to converge the gate to green.
  • /commit (user-invoked) — once the gate stands.

Where this session engaged a deputy through /deputy and has not dismissed it, a choice is put to the deputy as ROUNDS.md says and rendered as the one step it chose, any other closing is rendered as written, and each rendered step that names a skill is then taken: one marked (user-invoked) by notifying the user where the harness has a tool for it and waiting for them to type it, any other by invoking it, notifying nobody.

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.