Skip to content
Development
Skill

/slice-exit

Use when the builder believes the slice is green, to produce the slice-exit report that is the definition of green. Triggers before any green declaration and at slice close. Green is declared by the report and ratified only after intake audits it. Never declare a slice green in

From plugin
x2
1513 skills

Claude Code

$ npx -y skills add teklabsdigital/x2-method --skill slice-exit --agent claude-code

SKILL.md

slice-exit.SKILL.md
name: slice-exit
description: Use when the builder believes the slice is green, to produce the slice-exit report that is the definition of green. Triggers before any green declaration and at slice close. Green is declared by the report and ratified only after intake audits it. Never declare a slice green in prose, and never skip a section because it is inconvenient.

X2 Slice Exit

The definition of green. The pilot declared "all green" twice before it was true, and the true state had to be extracted by interrogation; every "confirm X" the human issued was the same turn shape, repeated because the method had no artifact in which the builder declares, with evidence, what green means. This report is that artifact, and it has teeth: a slice without a complete report is not green (MET-06).

The report, produced unprompted when green is believed

1. **Tiers, run this session, with counts.** Every tier against the final tree: build, unit, architecture, integration, e2e, client verification. A stale last-known-good is marked as stale, never presented as run. 2. **Composed-app smoke result.** The actual entrypoint, at least one real request per primary flow. The pieces passing their own tests is not the product running (INV-07). 3. **Service-method coverage table.** Method, UI surface, harness scenario; gaps named. A method without UI in the locked portion is reported as the sanctioned UI-unsurfaced state with its e2e scenario and boundary note (CONF-03), so the skew is visible and deliberate. 4. **Unsurfaced decisions.** Must be none. Anything the build decided that the human never saw is listed here now, not discovered later. 5. **Pending rulings owed to the human.** 6. **Prototype-lock status.** The lock on record, provenance stamped, any owed fidelity items named (UI-4). 7. **The slice turn count, from the ledger.** The ledger file governs; a count remembered by the builder does not (MET-05).

Plus two standing checks: any phase that started without its gate on record (stories, prototype approval, the lock) is a methodology violation and is surfaced here (MET-07); and the report names every other slice built past its own report, so exit debt is visible, never silent. The third project wrote one report two slices late and had four owed by extraction time; each of those slices was invisible to the metric until its report existed.

Scripted where mechanical (tier counts, the coverage diff), authored where judgment is needed (deviations, pending rulings).

The audit

Intake audits the report before ratification. The builder does not grade its own green; "sound" is intake's word to give. The human's turn becomes reading one document, not extracting it. What the human reads is put in plain language, their own words; method vocabulary rides alongside, never instead, because a ratification given on a summary the owner cannot parse is no ratification (P3).

Open question this skill carries

Where the report lives: the pilot used the repo's working docs; the alternative is the extraction record. Carried on the record; the pilot's `docs/work/` is the working default until ruled.

What this skill must NOT produce

  • No green-by-prose, no partial reports, no stale results presented as fresh.
  • No new build work; if producing the report surfaces a gap, the slice re-enters implement and

the report is produced again from the top.

Read more
@teklabsdigital
Ships withx2

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.

Stars on GitHub

Momentum

stars in total
15
Star history of teklabsdigital/x2-method on GitHub, a chart by star-history.com

Other skills on x2.

adopt

adopt

Use when an existing project that was not built with X2 must be migrated to run under it, with documentation sprawl to dissolve,…

@teklabsdigital@teklabsdigitalInstall Skill
decompose

decompose

Use after the repo is seeded to run the D-000 five-lens decomposition, record persistent schema decisions, define slice one, and…

@teklabsdigital@teklabsdigitalInstall Skill
derive-tests

derive-tests

Use only after the lock (gate 2b) is on record for the slice portion, to derive the fidelity ledger and acceptance scenarios from…

@teklabsdigital@teklabsdigitalInstall Skill
design

design

Use when D-000 exists and the whole-product prototype does not, to run Claude Design in its own context and produce the prototype…

@teklabsdigital@teklabsdigitalInstall Skill
extract

extract

Use when an X2 project completes (or reaches a major milestone) to run the extraction loop, the quality feedback that folds the…

@teklabsdigital@teklabsdigitalInstall Skill
help

help

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…

@teklabsdigital@teklabsdigitalInstall Skill

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills2w309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc2w293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react5d252k
@facebook@facebookInstall Skill

Questions about slice-exit.

Which coding agents can use slice-exit?
slice-exit installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.