From X2 Method
Runs the extraction loop on X2 project completion to mine quality feedback from turn ledger and decision records, producing candidates, confirmations, and negative-space nominations.
How this skill is triggered — by the user, by Claude, or both
Slash command
/x2:extractThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
The turn ledger is not just a cost record. It is a map of negative space: every human turn marks a
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.
Four outputs, all in method-level language:
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. 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:
record/candidates.md for the next invariants
pass; kernel/claims/ is never edited during extraction.record/negative-space.md.
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.record/metrics.md, under the one counting rule.The sanitized distillate lives in the method's public record/ layer. The raw intake record,
with real names and turn pointers, lives in the project's own private repo (docs/work/) and
never leaves it. Commit and push the method repo only on the human's word.
kernel/claims/ (that is the invariants pass), and no rulings taken for the human.Rulings applied, method deployed; the project's ledger stands as the audited source. The next project's decompose reads the churn table.
npx claudepluginhub teklabsdigital/x2-method --plugin x2Extracts decisions, lessons, patterns, and surprises from completed phase artifacts (PLAN.md, SUMMARY.md, VERIFICATION.md, UAT.md, STATE.md) into a structured LEARNINGS.md file.
Extracts structured learnings (decisions, lessons, patterns, surprises) from completed phase artifacts like PLAN.md, SUMMARY.md, VERIFICATION.md, UAT.md, and STATE.md into a LEARNINGS.md file.
Reads project ledger and feedback memories, clusters recurring problems, and proposes gated rule/threshold/ADR changes so the project stops repeating mistakes.