agentleFS
mehrad-dmmehrad-dm/mastermind/skills/breakdown/SKILL.md

breakdown

Skill23 starsChanged 2 months agoMITView on GitHub

Use when a feature with a spec and a plan needs its ordered task list: \"break this into tasks\", \"make the task list\", \"what are the steps to build this?\", \"generate tasks.md\", a feature folder with plan.md and no tasks.md, or a task list made stale by a spec or plan change. Not for a feature with no plan (that's `blueprint`), not for one session's to-do list.

14 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use spec, ship and 1 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.
  • 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 4 projects that use this

  • AWSSkill

    ship

    Finalize dev work on an issue branch — update docs, push, and open a PR.

    Also in 3 projects that use this

  • Hugging FaceSkill

    implement

    Make tests pass. Invoke after /write-tests produces failing tests.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 13 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Delete a phase with no tasks.

    line 37
  2. Very specific:

    Every requirement gets a task: Before writing the file, check each FR-### and each acceptance criterion maps to at least one task.

    line 52
  3. Very specific:

    Regenerating loses progress: When a tasks.md with ticked boxes exists, add and amend tasks.

    line 62

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

MasterMind: Breakdown

tasks.md is the build order: small enough that each task is checkable, ordered so each user story ships alone. Layout and IDs: ~/.mastermind/engineering/core/spec-driven.md. Input: $ARGUMENTS.

Read first

spec.md for the stories and their priorities, plan.md for paths and structure, then data-model.md, contracts/, research.md and quickstart.md where they exist. Use specs/.templates/tasks.md if present, else template.md.

The task line

- [ ] T014 [P] [US1] Add the export button to src/reports/ReportHeader.tsx (US1/AC1, FR-002)
  • - [ ] then a T### ID in execution order. IDs are never reused or renumbered.
  • [P] only when it touches different files from every unfinished task before it.
  • [US#] on every task inside a story phase, and on no other.
  • The exact file path, and the spec IDs it serves in parentheses.

The phases

  1. Setup: what the project needs before anything else, such as dependencies, config and env vars.
  2. Foundation: what every story needs and no story can deliver alone. Keep it small; most work belongs to a story.
  3. One phase per user story, in priority order. Each is a vertical slice: its models, logic, interfaces and wiring, ending in a checkpoint that runs the story's independent test.
  4. Polish: cross-cutting work that touches several stories.

Delete a phase with no tasks. Never write a heading over "None".

Refactoring the code needs before a story can land goes first, as its own tasks in Foundation. A change too wide for one slice, such as renaming a column every story reads, is sequenced expand, migrate, contract (deprecate), never forced into a story.

Within a story: tests first when they are required, then data, then logic, then the surface, then the wiring that connects them.

Rules

  • Tests are tasks only when required. Required means the constitution demands them, the spec asks for them, or the user said so. Otherwise qa verifies, and tests are offered after the build.
  • Quote the constraint. A field with a length limit, an enum or a validation rule from data-model.md has that rule copied into its task, so it is not left to memory at build time.
  • Every requirement gets a task. Before writing the file, check each FR-### and each acceptance criterion maps to at least one task. List any that do not in your report.
  • A task that needs "and" is two tasks. One task, one change, one way to tell it worked.

Gotchas

  • Horizontal phases are the failure this prevents. "All models, then all services, then all UI" hides every integration bug until the end. Group by story, never by layer.
  • Do not plan here. A task that introduces a library, file or pattern the plan does not mention means the plan is incomplete. Fix plan.md, then the tasks.
  • Regenerating loses progress. When a tasks.md with ticked boxes exists, add and amend tasks; never rewrite the file from scratch.

Report

The task count per phase, the parallel opportunities, the requirements with no task, and the next step: analyze before building a feature that touches money, auth or data, else build. Set the spec's status to tasked.

Then run mastermind next and end with the step it names, so the user sees where the feature stands.

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.