adopt
Use 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…
Use when someone asks what an X2 skill does, which skill to run next, how the gates work, or where an artifact lives. A quick in-flight reference; for the method's rationale, read X2.md at the method repo root.
$ npx -y skills add teklabsdigital/x2-method --skill help --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/helpContext preview
The summary Claude sees to decide when to auto-load this skill.
Use when someone asks what an X2 skill does, which skill to run next, how the gates work, or where an artifact lives. A quick in-flight reference; for the method's rationale, read X2.md at the method repo root.
name: help description: Use when someone asks what an X2 skill does, which skill to run next, how the gates work, or where an artifact lives. A quick in-flight reference; for the method's rationale, read X2.md at the method repo root.
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.
CONF-n, X-n, B-codes, and the record-layer codes NS-n, CF-n, PC-n), defined in one line each.
register and churn table, queued candidates, confirmations, metric history).
An agentic software engineering method: AI agents do the building, the build enforces the rules that must always hold, a person decides only at the gates, and the method measures its own cost in human turns.
Repo: teklabsdigital/x2-method
Use 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…
Use 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 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.…
Use 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…
Use 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…
Use 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…