decompose
Skill16 starsChanged 59 days agoApache-2.0View on GitHub
Sizing and decomposition policy for chipping-orchestrator issues. Use when you decompose an issue or adjudicate an oversized, already-implemented change: size it, decide single versus split, plan child issues and their dependencies, and emit the manifest the active prompt requires.
15 other projects use a version of this.
Adopted by
Most recently taken up by
- TserenTserenov/FMT-exocortex-templatetheir own version, first seen Oct 1, 2026
- stormlightlabs/thunderustheir own version, first seen Sep 19, 2026
- miztertea/sergeant-rstheir own version, first seen Aug 25, 2026
- zcaceres/skillstheir own version, first seen Aug 19, 2026
- flpbalada/fb-skillstheir own version, first seen Aug 3, 2026
- jamillazarev/opsinisttheir own version, first seen Jul 31, 2026
Used with
Projects with it also use implement.
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.
Hugging FaceSkillimplement
Make tests pass. Invoke after /write-tests produces failing tests.
Also in 3 projects that use this
Other versions15 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 15
- TserenTserenov/FMT-exocortex-template★ 62same name
- drafthq/draft★ 40same name
- jesgarram/arete★ 40same name
- vulca-org/vulca-visual-control-sdk★ 16same name
- matt-k-wong/mkw-DAG-architect★ 15same name
- teklabsdigital/x2-method★ 15same name
- tercel/spec-forge★ 10same name
- flpbalada/fb-skills★ 8same name
- zcaceres/skills★ 7same name
- HartreeWorks/research-skills★ 4same name
5 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
The file
We split this skill into the rules it gives an agent
6 rules. 0 are common, 2 are distinctive, and 4 are very specific to this project.
0
Common
Most of the 13 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 55
Before emitting any split, run this for every proposed child B:
- Distinctive: line 94
Every child body states:
- Very specific: line 107
Use "umbrella": false only when the parent keeps a named, non-empty deliverable of its own, and describe that residual in the rationale so …
- Very specific: line 112
No safe split: When the closed scope cannot be cut without an empty or overlapping child, return "single" in the orchestrator-manifest …
- Very specific: line 120
Slicing: Before answering single, consider dependency-ordered slices, dormant prerequisites included, as the prompt requires.
- Very specific: line 128
Clarification: Ask through the "question" decision inside the block.
“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.
Files
Decomposer skill — chipping-orchestrator
Two stages ask the same question — can this work be cut into child issues that each deliver something of their own? — and answer it under different contracts:
- Initial decomposition sizes an issue before any code exists and ends in an
orchestrator-manifestblock. - Late adjudication assesses a change a developer already wrote that measured past the addition ceiling, and ends
in an
orchestrator-late-manifestblock.
The prompt you were spawned with is the contract. Its output fence, decision values, child limit, lineage rules, and clarification format win over anything here; this skill tells you how to plan children this repository can land.
You plan; the orchestrator acts
Inspection and planning are read-only. Read the tree, grep, and use git log, git diff, or wc -l — never edit a
file, commit, push, fetch, or run anything that writes. You do not open issues either: the orchestrator reads your
manifest and creates the child issues itself, allocating their numbers, which is why depends_on indexes into your
own children array.
A child's complete scope
Size and describe each child by everything its normal pull-request lifecycle will require of it, not by its code alone:
- the implementation;
- the tests that prove it;
- mechanically consequent documentation, inventories, and owner docstrings for every symbol or module it moves,
renames, or deletes — the pages the
developskill's Documentation drift section lists; - the compatibility and integration work repository policy requires — workflow labels, pinned-state fields, comment markers, and event payloads are a compatibility contract;
- the final documentation pass every implementation PR receives after reviewer approval (documenting stage).
Point a child body at those sections rather than restating them. Two kinds of child follow from this closure and must not be proposed:
- a checks-only child — "run the suite", "confirm lint passes", "verify nothing broke" — because every child already owes its own checks;
- a mechanical documentation cleanup child for work a prerequisite already owes — updating names, inventories, counts, diagrams, or descriptions because another child moved, renamed, or removed something. That child's own scope and its final documentation pass cover it.
The residual test
Before emitting any split, run this for every proposed child B:
- Collect every direct and transitive prerequisite of B.
- Assume they have all landed completely on the base: implementation, tests, consequent documentation, compatibility and integration work, and their final documentation pass.
- Re-read B against that repository.
- B survives only if it keeps at least one unique acceptance criterion and a predicted non-empty diff that delivers it.
- A B whose criteria one prerequisite already delivers, or several deliver between them, has no residual work: fold its requirements into the children that own them, or redraw the split.
Evaluate the prerequisites as one completed set, never edge by edge. If A delivers X and C delivers Y, a B that depends on both and promises only X and Y has nothing left, even though neither A nor C alone contains it. Dependencies order work; they do not make overlapping scopes independent.
Also compare siblings with no dependency edge between them for duplicate semantic ownership: two children that promise the same behavior are a defect whatever files they list. File overlap is a hint, not a verdict, in either direction — children editing the same file can each own distinct behavior, and file-disjoint children can still duplicate one requirement. Never require each child to own a file no sibling touches.
Worked cases
- Removal. The child that deletes a helper or module also owns the inventory entries, prose, and docstrings that
name it. Put likely grep targets in its body — for example the entry under
docs/architecture/, the stage page underdocs/state-machine/, and the owner module's docstring — so its implementer knows where to look. A separate "remove the documentation for X" child has no residual work. - Same file, distinct behavior. Two children that both edit one stage module — one adding a park, one changing a retry budget — are valid when each carries its own acceptance criterion and tests. The shared file is not a conflict to split around.
- Dormant prerequisite, then activation. A prerequisite may land dormant — built, directly tested, documented, and reached by nothing in production — when that is safe. Its scope is its declared slice, not every future consumer. The child that wires it into the tick, prompt, or handler owns real activation work: the call site, the recovery and failure paths, the integration tests, and the documentation of the live behavior.
- Docs-only child. Valid only for an independently valuable deliverable that still remains once every prerequisite has landed — a migration guide, an operator runbook, a tutorial, a cross-cutting conceptual page. Its whole diff may then be documentation. Re-describing what another child changed is not such a deliverable.
Child bodies
Every child body states:
- its unique deliverable and the acceptance criteria that prove it;
- the likely owners and files, including the documentation pages and docstrings it must update;
- its verification — the tests it adds or updates and the checks it runs;
- its dependencies, matching
depends_on, and what it assumes they delivered.
Stage contracts
Initial decomposition
- Coverage. Assign every parent requirement exactly once, to one child or to an explicitly named residual parent
diff. Then re-read the parent as if every child had landed completely. When nothing remains, set
"umbrella": true. Use"umbrella": falseonly when the parent keeps a named, non-empty deliverable of its own, and describe that residual in therationaleso the parent's later implementation run has a clear handoff. - Sizing. Count completion-closure files — tests, consequent documentation, docstrings — under the prompt's approximately-five-file heuristic. Keep coupled documentation attached to the change that forces it: detaching it to shrink a file count creates exactly the cleanup child rejected above.
- No safe split. When the closed scope cannot be cut without an empty or overlapping child, return
"single"in theorchestrator-manifestblock, and hand the implementer your groundwork throughaffected_filesandnotes. - Clarification. End with a question for the human and emit no manifest, as the prompt says.
Late adjudication
- Coverage. Partition the declared scope completely among the children, each part owned by exactly one. There is
no
umbrellafield here and no parent coding pass to reserve work for. - Slicing. Before answering
single, consider dependency-ordered slices, dormant prerequisites included, as the prompt requires. - Sizing. Each child's
estimated_added_linescounts the lines it adds over every path in its diff — implementation, tests, documentation, fixtures, generated files — stays strictly below the ceiling the prompt supplies, and leaves headroom for review fixes. The five-file heuristic does not apply and does not replace this budget. - No safe split. Answer
"single"in theorchestrator-late-manifestblock with asplit_blockernaming what makes a safe split unavailable. That verdict publishes nothing: it hands the publication decision to a human. - Clarification. Ask through the
"question"decision inside the block; prose alone is not an outcome here.
In both stages keep the prompt's child limit, lineage rules, decision semantics, and clarification format, and never
carry one stage's fence, fields, or meaning of single into the other.
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
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.

