/x2:helpfrom X2 Method
Answers questions about X2 skills, flow order, gates, and artifact locations. Quick in-flight reference for X2 method users.
Ships in X2 Method. 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.
X2 in one paragraph: the kernel enforces the invariants in the build, so the skills only exist to capture human decisions at the right moments. The flow runs through three gates, each a prompted human turn that blocks the next phase: stories approved; the prototype approved at Claude Design and then approved again after copy-down (the lock); then ratified green, the audited exit report read and accepted. Green is declared by the slice-exit report and audited, never by prose. The sole metric is human turns per shipped slice, kept in a ledger file in the repo.
| Skill | One line | Gate it requests |
|---|---|---|
| stories | Problem discovery to epic-level stories, one line each | Gate 1: stories approved |
| seed | Settle which edition, create the repo from it, arm the CI gate, write CLAUDE.md constraints, start the ledger | none (setup) |
| decompose | D-000 five-lens decomposition, persistent schema, slice one, deltas file | none (stays-ahead turns) |
| design | Whole-product prototype and design system, in its own context | Gate 2a: prototype approved |
| lock | Copy the prototype and full design system into the repo, verify, stamp provenance | Gate 2b: the lock |
| derive-tests | Fidelity ledger and acceptance scenarios derived from the locked portion | none |
| implement | Build all of the locked portion to green autonomously | none (the exit report checks the contract) |
| slice-exit | The exit report: the definition of green, audited by intake | Gate 3: ratified green |
On demand: problem-solve (runtime defect, cause unknown, fewest observation turns), adopt (an existing project not built with X2 is migrated to run under it), extract (after a project completes: the quality feedback loop that folds the ledger's evidence back into the method), kernel (change the claims catalog, manage an edition, measure conformance, or check the whole kernel is still coherent), and this skill.
| Artifact | Home |
|---|---|
| Standing constraints, turn-report shape | the repo's CLAUDE.md (written by seed) |
| Turn ledger (append-only, one row per human turn) | docs/work/ |
| D-000 decomposition, story set, schema decisions | docs/decisions/D-000-decomposition.md |
| D-0xx decisions from record-gaps | docs/decisions/ |
| Deltas from the edition the project was seeded from | deltas.md |
| Behaviour spec (if the product has one) | design/ |
| Prototype, design system, provenance README | design/prototype/ |
| Per-slice fidelity ledgers | design/ledger/ |
| Slice-exit reports | docs/work/ |
Every human turn is one of: decision or green-but-wrong (sanctioned), edition-defect, invariant-gap, or methodology-defect (defects, each recorded as a candidate for the invariants pass), or admin (uncounted). Intake's classification governs.
X2.md at the method repo root: the methodology and its rationale.GLOSSARY.md at the method repo root: every record code the skills cite (MET-n, INV-n,
CONF-n, X-n, B-codes, and the record-layer codes NS-n, CF-n, PC-n), defined in one line each.kernel/claims/README.md: what the build enforces, which is what the skills no longer say.record/ at the method repo root: the sanitized cross-project record (negative-space
register and churn table, queued candidates, confirmations, metric history).What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub teklabsdigital/x2-method --plugin x213 skills in this plugin
/adoptUse when an existing project that was not built with X2 must be migrated to run under it, with documentation sprawl to dissolve, stories to harvest at epic altitude, an as-built design to baseline, and existing enforcement to map and arm. Runs the migration on a dedicated branch with three human gates. Do not use for a new project (that is seed), and do not use it to redesign the product or refactor code beyond what arming the enforcement requires./decomposeUse after the repo is seeded to run the D-000 five-lens decomposition, record persistent schema decisions, define slice one, and start the deltas file. Also use when a stays-ahead decision (decomposition, schema) must be revisited. Do not use for per-slice implementation decisions; those are D-0xx record-gaps raised during implement./derive-testsUse only after the lock (gate 2b) is on record for the slice portion, to derive the fidelity ledger and acceptance scenarios from the locked prototype. Triggers when a portion is newly locked or re-locked. Never use before the lock, and never use it to hand-author prototype-fidelity test cases from prose./designUse when D-000 exists and the whole-product prototype does not, to run Claude Design in its own context and produce the prototype and design system. Also use when a later slice exposes a design gap that needs a spine revision. Requests gate 2a (prototype approved at Claude Design). Never run in the builder's context, and never used to author tests, acceptance criteria, or application code./extractUse when an X2 project completes (or reaches a major milestone) to run the extraction loop, the quality feedback that folds the project's evidence back into the method. Reads the turn ledger and decision records, computes the metric and the per-decision churn table, distils sanitized candidates, confirmations, and negative-space nominations, and holds everything for a rulings pass. Do not use mid-slice (that is the normal intake flow), and never let raw project material cross into the public method./implementUse when the slice portion is locked and its derived tests exist, to build all of the locked portion to green autonomously. Triggers at implement start and on every re-entry after a human turn. Do not use to declare green (slice-exit does that), and do not use it for an unexplained runtime defect (problem-solve).Other plugins' skills for the same job