From X2 Method
Runs the D-000 five-lens decomposition, records schema decisions, defines slice one, and starts the deltas file. For use after repo seeding or when revisiting decomposition decisions.
How this skill is triggered — by the user, by Claude, or both
Slash command
/x2:decomposeThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
The one place where the model's whole-solution-space view beats the human's slice-by-slice view,
The one place where the model's whole-solution-space view beats the human's slice-by-slice view, and the decisions a slice cannot cheaply reverse. Everything else stays reversible and waits.
Decompose the story set under five imposed lenses, one pass each, no code: data flow, failure
domain, change frequency, team boundary, trust boundary. Look at what disagrees between the five
decompositions; the disagreements are where the real shape decision lives. Choose a shape. Record
the choice and the four rejected shapes with reasons as D-000-decomposition.md in
docs/decisions/.
D-000 also records:
Applies when the product will ship to a public audience; rule each concern IN or OUT now, so none of it arrives as ad-hoc directives at the end (record: NS-2, NS-3):
Also read the cross-project churn table in the method's record/negative-space.md: it names the
decision types history says will churn. Pre-decide the pre-decidable ones here; budget the
iteration-inherent ones (story refinement, model selection, content voice) instead of fighting
them. For the marked chronic churn types, record a confidence and a "wrong-if" line on the
decision so reality can trip it later.
Start deltas.md: how this project differs from the kernel edition. It grows as the build
surfaces differences; it never restates what the edition already says.
design, carrying D-000 and the behaviour spec.
npx claudepluginhub teklabsdigital/x2-method --plugin x2Decomposes project or track into modules with dependency mapping, updates architecture.md, and generates HLD/LLD design artifacts.
Translates product requirements into system architecture through iterative decision-making. Guides architectural decisions, trade-off analysis, and ADR-style documentation.
Splits context into a sequence of vertical-slice build phases where each phase is independently demonstrable and builds on the prior phase. Use for planning, sequencing, or breaking down features, capabilities, or initiatives.