/core:reducerfrom core
Reduces whole-system complexity by deriving minimal mechanism from first principles while preserving all supported behaviors and guarantees. Use when simplifying branches, state, dependencies, or moving parts.
Ships in core. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Conserve behaviour. Minimise mechanism.
principle-preserve-unrelated-work).principle-stay-in-scope).principle-redesign-from-first-principles).principle-subtract-before-you-add).principle-minimize-reader-load).State the scope, outcome, and mode. Diagnosis produces a design without edits; implementation changes the system in reversible slices.
Inventory entry points, callers, tests, state, integrations, configuration, operations, and relevant decisions. Create a behaviour ledger:
| Behaviour or guarantee | Trigger | Outcome and side effects | Boundary | Oracle or gap |
|---|
Include errors, edge cases, ordering, concurrency, retries, migration, compatibility, and applicable non-functional guarantees. Diagnosis records missing oracles as proof obligations. Before product edits, implementation captures affected gaps with characterisation tests or stable pre-change evidence such as fixtures, snapshots, traces, or recorded input/output pairs (principle-capture-the-baseline).
Complete when: every in-scope behaviour and boundary has preservation evidence or an explicit proof gap, and the allowed change surface is clear.
Trace every behaviour end to end:
| Mechanism | Behaviour served | Owner | Complexity cost | Essential constraint | Evidence | Disposition |
|---|
Count applicable dimensions with the same scope and method before and after:
Record a dimension the evidence shows is absent as 0, not as a proof gap; mark N/A only dimensions irrelevant to the change. Include tests and operational machinery when they impose ongoing cost; exclude generated artifacts unless their source or runtime mechanism changes. A smaller function or diff is not evidence unless the complete mechanism shrinks.
Complete when: every mechanism on an in-scope behaviour path is accounted for, every listed dimension is counted with the same scope and method or marked N/A, and the baseline shows where complexity is created, transferred, and paid.
Ignore the current decomposition and answer from first principles:
Sketch the minimum mechanism. Name the constraint that requires each remaining part, then compare it with the baseline. Seek leverage in this order:
principle-foundational-thinking).principle-derive-from-one-owner).principle-model-the-domain, principle-narrow-state-lifetime).principle-minimize-reader-load).principle-reuse-before-building).Reject changes that merely rename, split, wrap, relocate, or conceal complexity, and local simplifications that increase coupling, coordination, comprehension cost, change cost, or failure modes elsewhere. Moving a policy or a decision out of its single owner is redistribution, not deletion. Before you delete a bound, limit, timeout, or back-pressure control, prove that another control still enforces the guarantee it serves. Without that proof, treat the guarantee as withdrawn. Name the exposed failure path in concrete terms, such as resource exhaustion or silent loss. Record it and any replacement control alongside the counts.
Complete when: every target mechanism has a named behavioural or external reason and the expected whole-system reduction is explicit.
Rank candidates by mechanism removed × confidence ÷ blast radius; use the smaller blast radius to break ties. Choose the smallest reversible slice that removes one complete mechanism. Record:
Apply the gap rule: diagnosis may carry proof gaps; implementation remains diagnosis until every behaviour and guarantee the slice can affect has a passing preservation oracle. Keep a compatibility shim only for a live boundary. Assign the migration that closes the shim to the caller or integration owner, assign the shim's deletion to the component owner, and record one measurable removal condition (principle-migrate-callers-then-delete-legacy-apis).
Diagnosis now reports the proposal. Implementation continues to Step 5.
Complete when: the slice is reversible, satisfies the gap rule, has executable proof obligations, and removes rather than redistributes mechanism.
For each authorised implementation slice:
principle-capture-the-baseline).principle-never-weaken-a-check).If evidence fails or another affected behaviour appears, stop. Derive its oracle only from the recorded pre-slice state or independent pre-change evidence; restore only this slice's edits when necessary. Never characterise modified behaviour as the baseline.
Apply both gates at every stage of a staged slice, including after you remove a shim. A slice passes only when both gates pass and total in-scope mechanism falls. Treat a net-neutral or displaced result as unfinished. Repeat only after the current slice passes (principle-sequence-verifiable-units).
Complete when: all behaviour-ledger entries are preserved, the old mechanism is gone, the before/after ledger proves a net reduction, and every temporary bridge has an owner and removal condition.
For implementation, lead with the conserved behaviour and removed mechanism:
| Dimension | Before | After | Evidence |
|---|
List every baseline dimension, including explicit N/A rows, and state whether the target adds any owner or representation. List verification results and essential complexity retained. Report proof gaps, compatibility shims, and follow-up slices with owners and closure or removal conditions (principle-gaps-are-not-passes). For diagnosis, report ranked slices, proof obligations, and blockers; claim neither realised reduction nor equivalence (principle-label-the-evidence). Give every slice you name, including a rejected proposal's replacement and a slice deferred behind missing oracles, its expected whole-system before/after mechanism delta and its slice-local rollback boundary. State each delta as before and after counts per dimension; never defer the count to later work. Report a behaviour withdrawal only as a prerequisite decision; never design or schedule it.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub mintuz/skills --plugin core37 skills in this plugin
/acceptance-reviewWHEN deciding whether a PR, branch, diff, or current code satisfies an authoritative issue, specification, or decision contract; NOT for reconstructing meetings, tracing decision lineage, general code review, or implementation; returns a criterion-by-criterion proof and acceptance verdict./adam-modeWHEN explicitly invoked as /adam-mode or asked to work in Adam's style; NOT for automatic invocation; routes the task to a playbook, loads the principle and domain skills it needs, delegates through adam-agent and proves the result before it reports./architectWHEN shaping non-trivial code whose types, signatures, non-type contracts or module boundaries are not settled, before implementation; NOT for edits inside one function, read-only explanation, repo-wide hotspot scans, physical folder/package layout, or work whose design is already agreed; sketches caller usage, types, dependencies and module boundaries through arena, then implements against the agreed sketch when authorised/arenaWHEN choosing between alternative shapes for a non-trivial artifact (code, interface, prompt, document or visual direction) by producing several independent attempts in one pass, judging them against a rubric, picking a base and grafting in the best parts of the others; NOT for raising one artifact to a confirmed external bar over repeated rounds (gauntlet-loop), tasks with one obvious answer, or broad coverage or exploration partitions; returns one synthesised artifact and a synthesis note/babysitUSE WHEN a branch with committed work must reach green CI and merge while the user is away, or WHEN you are about to write a loop that polls or re-runs CI for one branch; NOT WHEN you watch many PRs as an agent inbox (github-monitor), only draft a PR description (pr), write commit messages (commit-messages), or write a poller that ships as product or repository code. Pushes the branch, opens the PR, watches checks with gh (GitHub) or tea (Forgejo, Gitea), fixes branch failures and merge conflicts, merges only after the user says yes, and reports each transition./benchmark-checklistWHEN validating a benchmark or measured performance claim; NOT for an unmeasured optimization guess; checks completed work, fairness and repeatabilityOther plugins' skills for the same job