/clanker-skills:yagni-anti-ceremonialfrom clanker-skills
Always-on YAGNI and anti-ceremonial gate for proposed guards, fallbacks, recovery rails, symmetry changes, policy findings, and legacy handling. Determine applicability and the current contract before producer and inventory checks; include code, manual, migration, replay, recovery, and external producers. Use when reviewing decision-changing feedback or touching money, auth, remediation, dead paths, or legacy state. Also use when drafting issues or plans that turn findings into proposed work or acceptance criteria.
Ships in clanker-skills. 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.
Default to the smallest change that closes a current contract. A logically possible guard is not automatically useful code. Equally, an empty database snapshot does not prove a state can never be produced again.
Use native repository search plus semantic-blast-radius for producers and consumers. Use an authorized database skill for inventory. Use migration-apply-time when a migration's mutability matters. Do not depend on a named navigation tool that is unavailable in the current environment.
For a writing-only task, use existing evidence first. Do not launch a code audit or inventory sweep merely to polish an issue. Apply the technical decision order below when a material claim needs further verification; otherwise state the specific evidence limit.
Before turning a finding into requested work:
A configured value proves configuration, not adequacy against operating costs. A recommendation proves a proposal, not that it was adopted for every path. Do not inflate a narrow issue with a new fee framework, telemetry project, governance process, or generic test checklist without a demonstrated need.
Before delivery, compare the title, body, and completion criteria: all must express the same remaining scope. Report only the useful conclusion and evidence limits; the full classification worksheet is not required in an issue draft.
Run this order before adding or accepting a check, fallback, guard, recovery path, or symmetric branch.
Bind the claim to the exact target before searching for hypothetical states:
Use evidence already available and stop when it disproves a load-bearing premise. Do not run an inventory query for a format that never shipped to the target. A staging-only producer does not establish production inventory. A technically constructible custom client request is not a product-support obligation, although it may still be a security input at an untrusted server boundary.
State the current product or metric contract. Ask whether the proposed bad state can change that contract. A reachable state may still be not applicable to the claim—for example, a record outside the cohort or valuation basis.
If it cannot change the contract, classify N/A with the semantic reason. Do not continue merely to justify code.
Search the current specification, durable code comments, tests, commit and PR history, rollout records, and incident history for the intended behavior, acknowledged residual risk, and explicit non-goals. Resolve contradictions by authority and recency; do not count repeated reviewer wording as policy evidence.
If the reachable behavior and its residual exposure match the current documented contract, and no higher-authority contract or observed breach contradicts it, classify POLICY rather than a defect. A comment or commit proves engineering intent, not necessarily organizational authority. When authority is material but cannot be established, classify PARTIAL and name the missing evidence. Never invent an approval role, written-acceptance requirement, or governance process.
If the state is applicable and reachable but belongs to a different product contract or would materially expand the user's requested work, classify FOLLOW-UP. Report it; do not silently implement it in this candidate.
Enumerate every producer class that can create the state today:
No code producer is not no producer. Record inaccessible producer classes as an evidence gap.
Query the authorized environment at the exact row or event identity and grain. Record database, role, time, cohort, and predicate. Inventory greater than zero can make a dead producer operationally relevant. Inventory zero is only a timestamped snapshot; it supports CEREMONIAL only when the producer search is also complete enough to show the state cannot recur.
Show the transition by which a user, operator, external system, or recovery process reaches the state and the concrete contract violation it causes. A similar sibling branch is not reachability evidence.
Ask whether the proposed change alters who may move money, credit, settle, withdraw, retry, or mark state terminal. Treat authority gaps as high risk, but still prove the actual boundary. A check on an unreachable branch is theater.
Distinguish source proof, runtime proof, synthetic tests, and inference. A copied expression can verify arithmetic logic; it cannot prove the production query, data cohort, role, or deployed boundary. Mark the result PARTIAL when a material producer or runtime boundary is inaccessible.
| Label | Meaning | Action |
|---|---|---|
| LIVE | Applicable producer and harmful reachable transition exist. | Implement the smallest current-contract fix. |
| RESIDUAL | Producer is gone, but applicable inventory remains. | Heal or support the inventory; prefer bounded remediation over permanent branches. |
| POLICY | Reachable behavior and acknowledged exposure match the current documented contract. | Do not report a defect or recommend a fix. Record policy reconsideration separately only when it is requested or materially relevant. |
| N/A | State cannot affect the named contract, cohort, unit, or metric. | Decline for this claim. |
| FOLLOW-UP | Real issue, but outside the authorized candidate. | Report separately; do not smuggle it into the patch. |
| CEREMONIAL | No current producer, no residual inventory, and producer coverage is sufficient to rule out recurrence. | Decline code. |
| THEATER | The code looks protective but does not change a reachable authority or failure boundary. | Decline code and state the real boundary. |
| PARTIAL | Evidence is useful but producer, inventory, identity, or access coverage is incomplete. | Do not greenlight or dismiss; name the missing proof. |
For every suggested change:
Forbidden justifications without evidence include cheap so why not, better safe than sorry, defense in depth, and the sibling function has it. Never perform agreement before verification.
The consolidating agent owns the final classification. A delegated reviewer, automated tool, priority badge, repeated conclusion, or verified call-chain edge does not adjudicate the defect. Rechecking the same path with the same product assumption corroborates mechanics; it is not orthogonal evidence of a contract violation.
Before a technical finding changes a payment, merge, deployment, production, or acceptance recommendation, cite the user instruction or governing contract that connects the verified finding to that decision. Without that bridge, keep the finding informational. A technically real exposure does not create an unstated payment or governance condition.
Before recommending a state-machine or accounting change, name the canonical state or cost owner and enumerate producers, writers, readers, retries, terminal transitions, triggers, and compensating calculations. Show why the remedy is exactly-once and cannot double-count, reopen terminal state, or move the inconsistency to another reader. If this non-interference proof is missing, classify PARTIAL and request proof rather than code.
classification: LIVE | RESIDUAL | POLICY | N/A | FOLLOW-UP | CEREMONIAL | THEATER | PARTIAL
contract/applicability: <why S can or cannot affect C>
intent/policy: <current contract evidence and authority>
producer set: <classes searched and evidence>
inventory: <environment, role, timestamp, predicate, count or NOT CHECKED>
reachability/harm: <transition and violated contract>
authority: <changed boundary or unchanged>
counterevidence: <strongest evidence against the claim>
evidence limit: <none or exact gap>
decision bridge: <contract linking this result to the requested decision or NONE>
remedy safety: <canonical owner and non-interference proof or NOT ESTABLISHED>
action: <smallest fix, remediation, decline, follow-up, or proof needed>
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub canerkocak/clanker-skills --plugin clanker-skills22 skills in this plugin
/adaptive-code-orchestratorAdaptively choose single-agent work, parallel reconnaissance, dependency waves, or independent review for reliable repository changes. Use for uncertain, cross-cutting, multi-file, long-running, or high-risk coding work where agent coordination may improve evidence or speed, or when the user asks how much agent coordination to use. When explicitly invoked for a small localized edit, stay single-agent and keep the workflow minimal.
/analyze-data-qualityAssess whether structured data, financial equations, state-machine accounting, query results, dashboards, or analytical evidence are trustworthy enough to use. Use to check data quality, reconcile conflicting sources or metric definitions, adjudicate financial-data findings, or decide whether evidence is safe to cite./ast-grep-callchain-auditPerform strict AST-based call-chain and code-quality audits with ast-grep. Use for code reviews, refactors, unfamiliar code, dead parameters, duplicate helpers, wrong call-site usage, stale functions, AI-generated slop, or multi-rail and multi-surface changes.
/better-englishLine-edit English prose when the user wants to tighten a draft, cut filler, or remove repetition. Preserve the writer's meaning and voice.
/call-chain-invariantsClassify which discovered product surfaces actually share an invariant before claiming a fix is complete. Use for multi-rail, admin/app, API/UI, lifecycle, explorer, fee, status, or repeated-state bugs where a one-surface patch may leave a reachable sibling broken. Consume the semantic blast-radius graph; do not assume a hard-coded chain or UI matrix applies.
/codebase-searchTrace repository behavior with a read-only Astra low/fast Codex session. Use for implementation searches, call-chain analysis, and source-backed code questions when delegation is permitted. Handle simple known-file lookups directly.