/microfactory:breakdown-featurefrom microfactory
Breaks a feature description or requirements document into sequenced, implementable stories as lean vertical slices. Use when you have a spec, PRD, or feature brief to turn into backlog items.
Ships in microfactory. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
One pass: read the document → ground it in the code → slice → sequence → get approval → create.
This is the front of the pipeline: breakdown-feature → refine-story (for the underspecified ones) → plan-next → implement-next.
Read .microfactory/config.yaml; if it does not exist, tell the user to run /microfactory:init-factory and stop. Load the tasks skill — you need its list, view, and create subcommands. Load the overrides skill for breakdown-feature and follow what it returns.
The input is a file path, a URL, or text the user pastes. Read all of it before slicing anything — requirement documents contradict themselves across sections, and a breakdown built from the first half will be wrong.
If the input is one sentence rather than a document, the breakdown still runs, but say plainly that it rests on a thin input and expect to lean on needs-refinement.
Find what already exists: features this builds on, features it duplicates, the data model it extends, the conventions it must follow. A breakdown written without reading the code proposes work that is already done and misses the reuse that makes half the stories small.
If the document contradicts what the code does, say so and let the user decide. Do not quietly design around it.
List the jobs the feature lets someone do — each one something a user could notice working. These are the slices. Everything else (schema, endpoints, components) is part of a slice, never a slice of its own.
Never slice by layer. "Create the schema" / "add the endpoint" / "build the form" produces three stories, none of which can be released, and none of which a session can finish and demonstrate.
Size rule: a story must be completable in a single implement-next iteration — claim, implement, test, push. If it cannot, it is an epic; split it. This is checkable, which is why it beats story points here.
Order the stories so a session claiming them top-down never hits a missing prerequisite. Name each story's dependencies explicitly. Where two stories are independent, say so — they can be worked in parallel by separate sessions.
Write stories the way this project already writes them. Before writing the first one, look at how existing items are written — list a dozen recent items in the backend and read a few in full, and check for an issue template (.github/ISSUE_TEMPLATE/, a Jira or Azure DevOps description template, the existing entries in TODO.md) or a house style in CONTRIBUTING.md. If a convention is there, follow it: the same headings, the same length, the same voice. A backlog whose newest twenty items look nothing like the older ones is worse than an imperfect template.
If no convention is detectable, use the agile story form where it fits:
As a <who>,
I want <what>,
so that <why>.
That is the whole story, and it goes in the description; the title stays a short summary of it ("Invite a teammate by email"), because that is what a board shows. Add a sentence or two beneath only when a reader would otherwise get it wrong — what this builds on, or what it deliberately leaves to another story. On the todo backend there is no description at all, so the title carries the story and anything extra goes in indented lines beneath it.
Where that form does not fit, write something simpler. Plenty of real work has no user in it — a dependency upgrade, a migration, a spike, a build fix. Forcing "As a developer, I want…" onto those adds words and no meaning. A plain imperative title is a perfectly good task.
Whatever the shape, keep it lean: no acceptance criteria — not as a checklist, not as tickable behaviour statements, not under another heading — and no enumeration of cases the document does state in passing. The story is a placeholder for a conversation, and the conversation happens in refine-story and in the code.
Open questions are the one addition that earns its place: where the document leaves a real product choice open, list those questions at the end so refine-story can settle them. Record them honestly rather than inventing answers — a document that specifies everything does not exist. If there are none, the story ends after its first line.
Show the ordered list: title, one-line goal and which have open questions. Create nothing until the user approves. Invite them to cut, merge, or reorder — a twenty-story dump helps nobody, and on Jira, GitHub or Azure DevOps these writes are visible to their whole team.
With the tasks skill's create:
needs-plan on the ones substantial enough to warrant a plan first.needs-refinement on the ones with open questions, so /microfactory:refine-story can settle them before implementation.Then report the created keys in dependency order, and what happens next: refine the flagged ones, then let the factory work down the list.
Related: find-improvements also creates tasks, but it sweeps an existing codebase for improvements. This one turns a stated intention into work.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub jaksa76/microfactory --plugin microfactory17 skills in this plugin
/customizeAdd, change, list, explain, extract and remove the project's microfactory override files (.microfactory/overrides/general.md and <skill>.md) from a plain-language request such as "always run make e2e-smoke after implementing". Interactive — shows the exact change and asks before writing; checks each override against the factory's invariants and the real step titles. Use when the user wants to add extra instructions for a microfactory skill, or asks what an existing override does or why one applies or is being ignored. Not run by loops; not for config.yaml settings (that is init-factory) or for general questions about how the factory works./find-design-improvementsAnalyze the project and report candidate software design improvements — refactorings, architectural fixes, misplaced responsibilities, missing abstractions, pattern inconsistencies. Read-only: it proposes, it does not change code or create tasks. Use when the user asks what could be improved in the project's design, structure, or architecture./find-improvementsSweep the project for improvements and turn the chosen ones into backlog tasks — runs the design, testing, library, and UI finders, merges and ranks their findings, then creates the ones the user approves in the configured task backend. Use when the user wants to generate a backlog, find work for the factory, or top up the task list./find-library-improvementsAnalyze the project's dependencies and report candidate library improvements — vulnerable or unmaintained packages, worthwhile upgrades, redundant or oversized dependencies to drop, and gaps a library would genuinely fill. Read-only: it proposes, it does not touch manifests or create tasks. Use when the user asks about dependencies, upgrades, or library choices./find-testing-improvementsAnalyze the project's tests and report candidate testing improvements — missing coverage of important behaviors, missing or inverted pyramid layers, flaky and slow tests, tests that cannot run. Read-only: it proposes, it does not write tests or create tasks. Use when the user asks how the project's testing could be improved./find-ui-improvementsRun the project's UI, look at it, and report candidate UI/UX improvements — flow friction, navigation and information architecture, missing empty/loading/error states, inconsistency, form and copy problems, accessibility defects. Read-only: it proposes, it does not change the UI or create tasks. Use when the user asks how the product's UI, UX, or accessibility could be improved.Other plugins' skills for the same job