/desplega:engineering-standardsfrom desplega
Ensures minimal complexity in code via six checkable tests (deletion, two-adapters, inline, diff, explanation, new-dependency). Use when writing code, designing modules, or reviewing diffs.
Ships in desplega. 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.
None: SKILL.md is the whole skill.
The goal is always the same: solve the problem with the least code and the least complexity that actually solves it. Not the cleverest solution, not the most extensible one — the one a senior engineer would defend in review. Every rule below is phrased as a checkable test, not a slogan: if you can't run the test, the rule doesn't apply; if the test fails, change the code.
The repo overrides. A documented repo standard (CLAUDE.md, AGENTS.md, runbooks/, contributing docs, lint config) always wins over this baseline. This skill fills the gaps; it never argues with the repo.
Deleting code is the best outcome. A change that solves the problem by removing code beats one that adds it. Always check whether the problem is an existing abstraction that should die, before building a new one on top (see Sediment, below).
When writing or reviewing, scan for these; each names the fix:
| Smell | Fix direction |
|---|---|
| Speculative Generality (hooks/params nothing uses) | delete until needed (test 2) |
| Middle Man (class that only delegates) | inline it (tests 1, 3) |
| Mysterious Name | rename to what it does |
| Duplicated Code | extract — but only on the 2nd+ real occurrence |
| Feature Envy (method living off another module's data) | move it to that module |
| Data Clumps (same 3 params travelling together) | introduce the object |
| Primitive Obsession (stringly-typed domain ideas) | introduce the type |
| Repeated Switches (same switch in N places) | polymorphism / lookup map |
| Shotgun Surgery (one change touches 8 files) | consolidate the concern |
| Divergent Change (one file changes for 8 reasons) | split the concerns |
Message Chains (a.b().c().d()) | hide the traversal |
| Sediment (stale layers kept "because removing feels risky") | delete; git remembers |
Duplication note: the rule is "extract on the second real occurrence" — two similar-looking blocks with different reasons to change are NOT duplication, and unifying them creates coupling worse than the repetition.
Silently implementing a design you believe is over-built is Ruinous Empathy. When a request, plan phase, or existing pattern fails one of the tests above, push back at these checkpoints — using desplega:feedback (bundled with this plugin; same skill as radical-candor:feedback):
One concrete objection with the alternative attached, then respect the decision. Pushback is a checkpoint, not a filibuster.
runbooks/Teams extend or override this baseline by persisting their own standards in the project root as runbooks:
runbooks/index.md # hub: one line + link per runbook
runbooks/<slug>.md # flat for small sets…
runbooks/<name>/<slug>.md # …or grouped by area when they multiply
CLAUDE.md/AGENTS.md gets a one-line pointer per runbook (Full rules: [runbooks/<slug>.md](./runbooks/<slug>.md)) plus a hub mention of runbooks/ — the pointer is what makes agents find them; an unreferenced runbook is dead weight. Edit whichever of the two files exists; never create one from scratch.desplega:code-reviewing's Standards axis must load the relevant ones, and they override this skill's baseline on conflict.index.md and the CLAUDE.md/AGENTS.md pointer in the same edit). Update the affected runbook in the same PR whenever the behavior it documents changes.desplega:code-reviewing's Standards axis (repo standards still override).What SKILL.md sets; muted values are Claude Code's defaults
26 skills in this plugin
/ask-userConventions for asking the user questions during a workflow via the AskUserQuestion tool. Other skills reference this to keep prompts consistent and structured./babysit-prKeep a GitHub PR moving until it is clean on its head commit. Each round fixes CI failures, handles review findings, rebases when needed, re-triggers the reviewers, and then waits in the background for the next event. Use when the user says "babysit the PR", "watch the PR until it's approved", "keep going until approved", "monitor the PR", or invokes /babysit-pr. Merges only when the user asks for it./brainstormingInteractive exploration of ideas through Socratic Q&A. Produces progressive documents that serve as lightweight pre-PRDs feeding into research.npx claudepluginhub desplega-ai/ai-toolbox --plugin desplegaOther plugins' skills for the same job