/meta:solidfrom meta
SOLID 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.
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: code being designed, written, edited, or reviewed — a class, function, hook, route, module, or the way one depends on another — in any language or stack.
Out: each unit holds one responsibility, a new case extends rather than grows a conditional,
subtypes honour their base, interfaces stay small, dependencies point at abstractions, and there is no
duplicated knowledge, no over-built form, no speculative entity. The checkable expectations are in
evals/rubric.json.
Pairs with meta:ockham: Ockham decides WHETHER an entity should exist; SOLID decides HOW the
entities that do exist are structured. Consult Ockham before creating; apply SOLID once it lives.
if/switch.SOLID serves readability and safe change; it is not a license to explode entity count. When "split it" (SOLID) and "don't multiply entities" (Ockham) pull apart, resolve with a concrete trigger: split only on REAL divergence — two genuine reasons to change, duplication in 3+ places, or a unit too big to hold in your head at once. Never split for one hypothetical. One well-named unit beats five premature ones. On a case that isn't real yet, simplicity and "not yet" (KISS/YAGNI/ Ockham) win over structure you don't need today.
The corner-cuts under deadline — both directions (skipping structure AND over-splitting):
| Thought | Reality |
|---|---|
| "Deadline — I'll just add one more branch to this if/switch" | That's the OCP smell. Add the case as an entry (strategy/lookup), not by editing the ladder. |
| "This function does a few things but it's fine" | Two reasons to change = split (SRP). "Fine" now is the god-function later. |
| "I'll split this out to be SOLID-correct" (one hypothetical) | Splitting for an imagined case violates YAGNI. Split only on REAL divergence / 3+ duplication / too-big-to-hold. |
| "Faster to copy the block than refactor" | DRY: one piece of knowledge, one place. Hoist the shared unit. |
| "A clever abstraction handles all future cases" | KISS. The simplest thing a stranger reads at a glance wins. |
meta:ockham).evals/rubric.json.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./reuse-firstReuse firstUse 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)./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.npx claudepluginhub aquivalabs/bladeforge --plugin meta