/meta:reuse-firstfrom meta
Use before implementing any non-trivial piece of functionality in any stack — a drag-and-drop list, a tooltip or popover, a dialog, a date formatter, a form with validation, a debounce, a virtual list, a data table, a fetch cache, an animation, a parser — when the question is whether to write it or take it from somewhere: the codebase, the platform, a composable/hook library, or a mature package. Also use when reviewing a change that added a hand-written version of a well-known thing, or when asked "is there a library for this" / "should we write our own". NOT for reusing an in-repo React UI primitive (frontend-react:ui-primitive-reuse) and NOT for trimming an over-built design that is already ours (meta:ockham).
Ships in meta. 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.
In: a non-trivial piece of functionality about to be written, in any language or framework, and the project's dependency manifest.
Out: a one-paragraph decision, written before the code, that names what was checked at each rung
of the ladder below and why the chosen rung won; the code then follows that decision. The checkable
expectations are in evals/rubric.json.
Walk it top to bottom and stop at the first rung that solves the task well. Write down the rung and the reason, in the PR description or the issue, before writing code.
Intl for dates and
numbers, <dialog>, popover, AbortController, structuredClone, URL, Vue's
Transition, React's useDeferredValue.references/catalog.md. They are
directions to look in, never a required dependency list.| Do not | Do not either |
|---|---|
| reinvent what a maintained library does well | pull a 200 kB dependency for a ten-line function |
| copy a library's code into the repo without a reason | wrap every library call in a helper of ours |
| pick an outdated library because it is the one you know | build a UI framework of our own out of primitives |
| skip the ladder because the first idea was fast to type | turn a simple task into a survey of ten alternatives |
The ladder is proportionate: a debounce takes one look at the platform and the hook library and is done; a data grid deserves the full comparison.
A rule about code (units, naming, braces, selector shape, import direction, a forbidden call) is also a thing to reuse rather than build. The hand-built version of a check is an LLM reading the diff, and it is the last rung, not the first. A linter reads every line on every push and never tires. A lens reads a diff once, under a budget, and counts a whole class of breaks once.
npx eslint --print-config <file> or npx stylelint --print-config <file>. A config that
comes later can switch an earlier rule off: eslint-config-prettier turns curly off unless it
is set again after it.tsc for TypeScript, Ruff and mypy for
Python, golangci-lint for Go, Checkstyle and Error Prone for Java, Roslyn analyzers for C#,
RuboCop for Ruby, PHPStan for PHP, Clippy for Rust, PMD for Apex, ShellCheck for shell,
Stylelint for CSS. The full table, with formatters, rule engines and cross-language checks, is in
references/catalog.md § Checks; the exact rules a stack turns on live in its tooling skill.eslint-plugin-boundaries for layers.
Compare it the way rung 5 above compares a library.A finding of a class that rungs 1 to 4 can catch is a missing or disabled rule. Fix the rule first, then the code it now reports. A review finding that a linter could have caught names the rule it needs, not only the lines.
The stack skills call this one at the moment they would otherwise write code: the Vue skills name
VueUse as rung 3 and the ecosystem libraries as rung 4; the React skills do the same with their
hooks. frontend-react:ui-primitive-reuse is the in-repo search of rung 1 for UI primitives, and it
wins when the thing being reused is one of our own components.
git diff package.json shows one package for one task, and the
comparison names at least one alternative that lost and why.references/catalog.md: the paragraph says which
library was rejected and for which reason from rung 7. No reason, no own code.--print-config, or the paragraph says why no tool on
rungs 1 to 4 of the checks ladder can hold it.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
10 skills in this plugin
/lean-writingLean Writing — specs & brainstorming resultsUse this skill to WRITE terse technical documents. Trigger when asked to write, draft, summarize, present, or update a spec, design doc, RFC, brainstorming/exploration summary, or a decision log of options considered — e.g. "write the spec for…", "draft a design doc…", "write up the options we considered…", "present the brainstorming results…", "summarize the exploration we did…" — even if the user never says "concise". Produce short plain sentences, bullets over prose, no filler; caveman-simple but technically precise. NOT for normal conversation, code, or commit/jira messages, and NOT for reviewing or auditing an already-written doc for clarity or bloat (that's meta:wittgenstein)./model-routingModel Routing — the right model for every agentUse whenever the plan is to spawn, fan out, or parallelize agents — ANY multi-agent work, not just when models are mentioned. Triggers: "spawn/kick off subagents", "a bunch of agents in parallel", fleets that audit/comb/sweep/hunt across files, verify or skeptic stages, reviewer fan-outs, loop-until-done runs, authoring or editing a Workflow script (agent()/parallel()/pipeline()), or writing agent-definition frontmatter. Every spawned agent must get an EXPLICIT model tier assigned BEFORE it launches: reserve expensive head models for a small bounded set of final judges/synthesizers; mid-tier for judgment (review, verify, hunt); cheap tier for mechanical sweeps (grep, list, count, rename). Activate even when the user says nothing about models or cost — an omitted model silently inherits the pricey session model, and fan-out multiplies that waste by the agent count./new-skillCreate a New SkillUse this skill to author a brand-new skill FROM SCRATCH — deciding its plugin/domain, folder name, file placement, and writing its SKILL.md, frontmatter, and initial metadata.yaml sidecar. Triggers for "create/add/write a new skill for X", "where does the SKILL.md go", "what's the naming convention or folder structure for a new skill", or "what goes in the description frontmatter" — including standing up a NEW domain plugin with its plugin.json, and choosing between a marketplace skill and one local to a single repo. This is about scaffolding a NOT-YET-EXISTING skill's structure and location, NOT about tuning, evaluating, or fixing an EXISTING skill's trigger behavior (skill-creator), and NOT about refreshing an EXISTING skill's metadata.yaml after its body/tools/scripts/hooks changed — that is the separate `meta:update-skill` skill. Also NOT for ordinary code, components, or config in a project. If the skill already exists, use `meta:update-skill` or `skill-creator` instead./ockham⚔️ OCKHAM — The RazorThe Razor. Invoke before creating ANY new entity — file, folder, module, class, function, component, hook, util, type, prop, variant, config key, abstraction layer, doc, or top-level category — in ANY language or stack. Not domain-specific. If you are about to bring a new thing into existence, OCKHAM speaks first./skill-evalSkill Eval — Faithful Trigger ScoringUse when you need to know whether a skill's `description` actually makes Claude reach for it — scoring an existing skill's trigger accuracy before shipping it, after editing its description, or when someone reports that a skill "never triggers" and you need to find out why. Also use to read a score you already have: what a miss means, and what a should-not-trigger query that fired means. Do NOT use to REWRITE a skill's description or body (use `meta:update-skill` — measuring is this skill's job, rewriting is that one's), and never measure with skill-creator's `run_eval`/`run_loop`, which produces systematic false zeros./solidSOLID — the design law for all codeSOLID is the design law for all code — SRP/OCP/LSP/ISP/DIP plus DRY, KISS, YAGNI. Activate at DESIGN time and whenever writing, editing, or reviewing code in ANY language or stack — ESPECIALLY when a class, function, hook, route, or method does several things (fetches + formats + writes, or auth + validation + DB in one method) and you're weighing whether to split it; a switch or if-chain keeps growing with new cases; you're deciding how one module should depend on or import another; or designing an interface or extension point. Pairs with meta:ockham (whether an entity should exist at all) — SOLID governs how the entities that DO exist are structured.npx claudepluginhub aquivalabs/bladeforge --plugin meta