agentleFS
michael-muirmichael-muir/agentic-dev-kit/skills/slice-into-tasks/SKILL.md

slice-into-tasks

Skill1 starsChanged 13 days agoMITView on GitHub

Use when an approved spec or design must be broken into tasks, to produce thin end-to-end vertical slices with explicit blockers, each small enough for one fresh session.

The file

We split this skill into the rules it gives an agent

6 rules. About 0 are common, 5 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    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. Distinctive:

    List the slices: Start with the thinnest slice that proves the whole path works (a tracer bullet), then add slices that widen it.

    line 17
  2. Distinctive:

    Done when: every spec AC is assigned to exactly one task.

    line 19
  3. Distinctive:

    Put prefactoring first: If existing code must be reshaped before the first slice, that is task 01.

    line 20
  4. Distinctive:

    Done when: no feature task includes unrelated restructuring.

    line 22
  5. Distinctive:

    Done when: no single task changes more callers than one session can review.

    line 26
  6. Very specific:

    Run several tasks at once only when they touch different files.

    line 35

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “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

Slice into tasks

What a good task is

  • Vertical: a narrow path through every layer it needs (data, logic, interface, tests), ending in behaviour someone could demo. "Add the database table" is a layer, not a slice.
  • One session: an implementer can finish it in one fresh context window. If you hesitate, split it.
  • Independently verifiable: it has its own ACs (a subset of the spec's) and its own tests.
  • Stable wording: describe behaviour, not file paths or code. They go stale. A short schema, enum or state machine is fine when it pins a decision more precisely than prose.

Steps

  1. List the slices. Start with the thinnest slice that proves the whole path works (a tracer bullet), then add slices that widen it. Done when: every spec AC is assigned to exactly one task.
  2. Put prefactoring first. If existing code must be reshaped before the first slice, that is task 01. It changes structure only, and the existing tests stay green. Done when: no feature task includes unrelated restructuring.
  3. Wide changes use expand → migrate → contract. For a rename or retype that touches many files: add the new form beside the old one, migrate the callers in batches sized by risk, then remove the old form. Each batch is a task that keeps the gate green. Done when: no single task changes more callers than one session can review.
  4. Set the blockers. Each task lists the tasks it needs finished first. Tasks with no blockers form the frontier and can run in parallel, each on its own branch or worktree. Done when: the blocker graph has no cycles.
  5. Write the files as .agentic/tasks/NN-<slug>.md from the task template. Number them in dependency order (blockers first), and set Status ready on the frontier, draft elsewhere. Done when: the files exist, and the human has approved the breakdown (full track).

Parallel work

Run several tasks at once only when they touch different files. Each runs on task/NN-slug, in its own worktree where the tool supports it. Merge into the integration branch one at a time, re-running the gate after each merge.

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.