agentleFS
TradebaasTradebaas/Groundwork/.agents/skills/spec/SKILL.md

spec

Skill2 starsChanged 3 months agoMITView on GitHub

Right-size and write the spec before building any change. Use before starting non-trivial work, when the user requests a feature, or when deciding whether something needs a spec at all. Prevents both drift (building unspecified things) and ceremony (specs for bugfixes).

96 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use tickets, make-pdf and 9 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.
  • toveruxSkill

    tickets

    Break a spec, plan, or the current conversation into tracer-bullet tickets, each declaring its blocking edges.

    Also in 3 projects that use this

  • chloropineSkill

    make-pdf

    Turn any markdown file into a publication-quality PDF. Proper 1in margins, intelligent page breaks, page numbers, cover pages, running headers, curly quotes and em dashes, clickable TOC, diagonal DRAFT watermark. Not a draft artifact — a finished artifact. Use when asked to "make a PDF", "export to PDF", "turn this markdown into a PDF", or "generate a document". (cgstack) Voice triggers (speech-to-text aliases): "make this a pdf", "make it a pdf", "export to pdf", "turn this into a pdf", "turn this markdown into a pdf", "generate a pdf", "make a pdf from", "pdf this markdown".

    Also in 3 projects that use this

  • anombyte93Skill

    discover

    Phase 1 of the prd-taskmaster pipeline: brainstorm-driven discovery. Delegates to superpowers:brainstorming in Interactive Mode (one adaptive question at a time), or self-brainstorms in Autonomous Mode when no user is present. Intercepts before the brainstorming chain hands off to writing-plans — this skill owns the exit. Extracts constraints, calibrates scale (Solo / Team / Enterprise), and advances the pipeline to GENERATE.

    Also in 5 projects that use this

  • diego-tobalinaSkill

    build-fix

    Fix build and compilation errors systematically. Run when build fails.

    Also in 3 projects that use this

  • chloropineSkill

    context-restore

    Restore working context saved earlier by $context-save. Loads the most recent saved state (across all branches by default) so you can pick up where you left off — even across Conductor workspace handoffs. Use when asked to "resume", "restore context", "where was I", or "pick up where I left off". Pair with $context-save. Formerly /checkpoint resume — renamed because Codex treats /checkpoint as a native rewind alias in current environments. (cgstack)

    Also in 3 projects that use this

  • GoogleSkill

    metrics

    Expertise in analyzing time-series repository health metrics, investigating root causes, and proposing proactive workflow improvements.

    Also in 3 projects that use this

  • +1 more from chloropine

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 79 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:

    When the work will not fit one session, decompose the spec into tickets before building.

    line 57

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

spec: as much process as the change deserves, and no more

1. Pick the tier: argue it, don't default upward

  • S: no spec. Small, clear, reversible: bugfix, copy change, config tweak, single-file change with obvious behavior. The commit message and a test are the record. If you're explaining the tier choice in more than a sentence, it isn't S.
  • M: spec.md only. A feature or change in one area, buildable in a session or two.
  • L: spec.md + plan.md. Multi-session, multi-area, risky, or contested. Copy docs/specs/TEMPLATE-PLAN.md to plan.md: build order (owned by the ticket graph), seams/interfaces touched, migration/rollback, verification approach.

Two honest tests: Would a senior write this down first? and Will anyone need to know why in three months? Yes to either → at least M.

2. Tier M and L: interview before writing

Build shared understanding first; a finished draft the owner can only react to is not that. Tier S is exempt: a bugfix gets no interview. The rules:

  • One question at a time. Each question comes with your recommended answer and a one-line reason, so the owner can accept the default or push back cheaply.
  • Recommendations are argued, not agreeable. A question with a real design choice behind it gets the critical-thinking moves first: the recommendation names the alternative it beat.
  • Facts are looked up, never asked. Whatever the repo, the docs, or the code can answer, you answer yourself before asking anything.
  • Decisions are put to the owner, never assumed. Scope, trade-offs, and preferences are the owner's; surface each one as a question, however obvious the answer seems.
  • Pin fuzzy terms as they surface. A word with two possible meanings goes into the glossary docs/product/CONTEXT.md right then, so the spec uses one word for one thing.
  • Write only after confirmation. Close the interview by playing back your understanding in a few lines and asking the owner to confirm it. Only then start writing. Record the confirmation (date plus the owner's words) in the spec's sign-off line; it replaces a bare "approved".

3. Write it

Copy docs/specs/TEMPLATE.md to docs/specs/<NNN>-<slug>/spec.md (NNN = next number). The parts that matter most:

  • Traces to a BRIEF SC-item or an explicit request: no trace, no build (run scope first).
  • Acceptance criteria: numbered, testable, phrased as observable behavior. These become the verification checklist; write them so verify can execute them without interpretation.
  • Not in this change: the adjacent work you are deliberately not doing. This line is what keeps "while I'm here" out of the diff.
  • Settled decisions: choices made during the interview, each with its one-line reason. Later sessions build on these instead of re-opening them; only the owner re-opens a settled decision. This section is what stops a fresh context from re-litigating the design.

4. Tier L (and multi-session M): cut tickets

When the work will not fit one session, decompose the spec into tickets before building. Copy docs/specs/TEMPLATE-TICKET.md to tickets/<NN>-<slug>.md inside the spec folder, one file per slice, numbered in rough build order.

  • The first ticket is a tracer bullet. The thinnest end-to-end slice that touches every layer involved and proves the shape works, verified before anything widens. Later tickets expand from it; never build broad before one narrow path runs for real.
  • Slice vertically. Each ticket cuts a narrow but complete path through every layer involved and is demoable or verifiable on its own. Never one layer per ticket.
  • Size to one fresh agent session. Too big to finish with context to spare? Split it.
  • Declare edges. Blocked by: names the sibling tickets that must be done first; the ticket graph owns the build order.
  • Build on the frontier. Work the lowest-numbered ticket whose blockers are all done, one ticket per fresh session, clear context between tickets (hand back with the literal command and paste-ready resume prompt from checkpoint's hand-back format). STATE.md Now ▶ points at the frontier ticket. Statuses: ready | building | done.

5. Sign-off and build

M and L need owner sign-off before building starts. The sign-off is the interview's shared-understanding confirmation, recorded in the spec header; if the written spec drifted from what was confirmed, go back to the owner before building. Set spec status building, note it in STATE.md, build one criterion at a time (one ticket at a time when the spec has tickets).

6. Converge when it ships

On done (with verify green and code-review clean or recorded as skipped for the trivial tier - verify §4 routes this): status done with Verified by: naming the artifact verify produced; reconcile every doc the change made stale: update the owning file, add retired wording to the denylist in checks/config.json; move the folder to docs/specs/archive/. A spec that contradicts shipped reality is worse than no spec. ⚓

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.