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 immediately after gate 1 (stories approved) to settle which kernel edition the project is built on, create the project repo from it, and make the method durable inside it. Also use when an existing X2 project is missing its CLAUDE.md standing constraints or its turn ledger.
$ npx -y skills add teklabsdigital/x2-method --skill seed --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/seedContext preview
The summary Claude sees to decide when to auto-load this skill.
Use immediately after gate 1 (stories approved) to settle which kernel edition the project is built on, create the project repo from it, and make the method durable inside it. Also use when an existing X2 project is missing its CLAUDE.md standing constraints or its turn ledger.
name: seed description: Use immediately after gate 1 (stories approved) to settle which kernel edition the project is built on, create the project repo from it, and make the method durable inside it. Also use when an existing X2 project is missing its CLAUDE.md standing constraints or its turn ledger. Do not use before stories are approved, and never use it to modify the kernel itself.
Copy the kernel down, initialise it to the product, and anchor the method in the repo. Seeding runs right after gate 1 so the repo exists before any decision work: D-000, the behaviour spec, and the prototype import all need a home, and the standing constraints and ledger must be repo-anchored from the first turn. The pilot instantiated late and the missing scaffolding cost roughly a quarter of all measured turns (INV-03); its pasted-prompt constraints decayed under compaction into 55 violations (MET-08). Seed exists so neither happens again.
1. **Create the repo.** A new sibling repo named for the product, decided at ideation. 2. **Settle which edition.** The kernel ships more than one, and they are not interchangeable: an edition is a stack, a store and a test tier set, and the choice binds every slice after it. It is the owner's, so ASK rather than infer, and ask before the manifest is opened, because the manifest that answers "what does a seeded project receive" is the chosen edition's and no other. Do not read a preference out of the product idea, and do not default to whichever edition the kernel lists first. Record the answer where the record already has a home for it: the kernel-provenance row carries the edition beside the pin, so a project can always say which mechanism set its conformance statement refers to. If the request already names a stack, that IS the answer and no turn is owed. 3. **Instantiate that edition per its manifest.** The edition README's "Instantiation manifest" section is the definition: the file set (A), the ordered setup steps (B), and the verify-as-a-set list (C). Run all three parts and verify part C as a set, not one by one from memory. The manifest's contents are the kernel's to define; this skill runs it and does not restate it. Two points the record proved sharp:
shipped an issuer still named "kernel").
and it must be verified armed, not assumed (TEST-3's one honest asterisk). The same arming step covers HUM-1: code-owner review required, with `@OWNER` in CODEOWNERS renamed to the product owner; the manifest's verify list includes proving it with a test PR. 4. **Write the repo CLAUDE.md.** Standing constraints live here because repo files re-enter every session and survive any compaction; a pasted handover may restate them but the repo copy is authoritative (MET-08). Method constraints, always present:
ruled (window pass, 2026-07-26): 30 days, and the number lives in ONE place, the project's `VERSIONS.md` header, copied down from the edition; cite it from there, never restate it. Container images pin tag@digest and get a ledger row like any package.
compaction in the pilot; see the ledger section).
method vocabulary rides alongside, never instead. A ruling made on a summary the owner cannot parse on first read is no ruling at all (P3: five turns were spent re-asking before it became a standing rule).
House style, owner's preference: keep, replace or drop these, and record whichever set the owner chooses. What the method requires is only that the chosen set lives here and that any mechanically checkable rule ships its check:
bytes, because BSD grep silently misses a BRE class: `grep -rn "$(printf '\342\200\224')" .` (em) and `grep -rn "$(printf '\342\200\223')" .` (en).
5. **Create the turn ledger.** Append-only, per author: `docs/work/<author>/turn-ledger.md`, one file per human whose turns it records, so parallel sessions, branches and collaborators cannot collide. The builder appends every human turn the moment it happens: number, what happened, why a human was needed, provisional bucket. The next turn number is read from the file at append time, never carried in a context's memory: the third project minted duplicate numbers three times the moment two contexts ran at once. The bucket vocabulary is closed: decision, green-but-wrong, edition-defect, invariant-gap, methodology-defect, ideation, admin; a turn that fits none is admin with a note, and intake reclassifies (the third project improvised ten extra labels, which the extraction then had to map). Every turn is fed to intake as it happens, not only defects; intake classifies, and its bucketing governs (MET-05). Backfill the gate-1 ideation turns from stories now, so nothing lives only in a compactible context. The rule is enforced, not remembered: the edition ships a prompt-submit hook in `.claude/settings.json` that injects the ledger reminder on every human prompt, so it re-enters with every turn and cannot decay with a long chat (PC-10; the second project proved the CLAUDE.md rule alone drifts under long-context sessions). Verify the hook file survived instantiation; it is par
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 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…