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 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
$ npx -y skills add teklabsdigital/x2-method --skill extract --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/extractContext preview
The summary Claude sees to decide when to auto-load this skill.
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 the method. Reads the turn ledger and decision records, computes the metric and the per-decision churn table, distils
name: extract description: 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 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.
The turn ledger is not just a cost record. It is a map of negative space: every human turn marks a place the method or the edition was not yet good enough. Defect turns are the loud half of that map. The quiet half is churn: a wrong-but-green decision leaves no defect behind it, it gets reworked across many small, individually-green turns that cluster on the same decision. This skill mines both halves and feeds the method, so each project makes the next one cheaper. It exists so the loop runs the same way every time, without anyone having to think about how.
Run in its own context (the intake seat), never the builder's. The builder is the measured subject and does not grade its own record.
Classify every human turn; intake's bucketing governs over the builder's provisional bucket (MET-05). Buckets: decision or green-but-wrong (sanctioned); edition-defect, invariant-gap, methodology-defect (defects); ideation, admin (uncounted).
Counted excludes admin, ideation, and the stays-ahead investment. Report per-slice mid-build cost and the defect share of counted turns; those travel across projects better than the total.
turns that touch a decision after it was supposedly settled; pre-ruling iteration is just deciding. Rank relatively (this project's top quartile), not by absolute count, so the lens works at any project size.
Four outputs, all in method-level language:
reopens them without new evidence.
decision any project would make the same way is a candidate; a product-local one stays home.
carrying its revisit count and a one-line "suspected wrong because" or "suspected missing because". Churn nominates; it never judges. A high-churn decision may be legitimately evolving, and only the human can tell. Every ruling lands in one of two classes: **iteration-inherent** (the churn is the work: model selection, content voice, story refinement) or **pre-decidable** (the churn was avoidable and the method should pre-flight it next time).
Every item that could cross carries an **applies-when condition** (public web surface, model-backed feature, template-shaped product, and so on). The method serves many verticals; nothing is worded as universal unless it is.
Assume every word that crosses will be read by a stranger with no knowledge of the source project. Strip, without exception: product, brand, person, company, and team names; repository names and project-local identifiers (decision numbers, slice numbers, tickets); file names and paths; endpoint, route, config, host, and domain details; third-party vendor, service, model, and library names; URLs and addresses; anything that fingerprints the project or a person, even in aggregate.
Do not redact; **generalize**. Each item becomes the pattern and the rule it argues for, with zero residue of its origin. If an item cannot be generalized without losing its meaning, flag it for the human to reword or drop; never ship a half-scrubbed version. Default: auto-generalize and present only the doubtful crossings side by side.
Present: the figure, the churn table with nominations called out, the distillate, and the un-sanitizable flags. Put the open dispositions as options; do not pick for the human. Present it all in plain language, the owner's own words; method vocabulary rides alongside, never instead (P3: the demand for plain English fired against the extraction itself). Nothing crosses into the method without a ruling. Rejected items are recorded as ruled so they never resurface; accepted confirmations close their claims to reopening.
Accepted items apply in lockstep, each to its tier:
pass; `kernel/claims/` is never edited during extraction.
This table is the anticipation payoff: decompose reads it to pre-decide the decisions history says will churn. An entry earns its place by having bitten once or by cross-project frequency, and it must graduate to a mechanized rule as soon as it can; a list a human must re-read is the documentation weight the method exists to avoid.
recording a confidence and a "wrong-if" line so reality can trip the dormant-wrong later. Never universal; that is documentation weight returning through the side door.
The sanitized distillate lives in the m
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 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…
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…