/craftsman:smallest-change-firstfrom craftsman
Walks a decision ladder that prioritizes reuse over new code, requiring user approval before adding anything beyond the literal request. Helps avoid unnecessary code and scope creep.
Ships in craftsman. 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.
New code is a liability the moment it's written: it has to be read, tested, and maintained forever after. Most requests don't need new code at all — they need something that already exists, used correctly.
Core principle: the best code is the code you don't write.
Before writing anything, walk this ladder in order. Stop at the first step that resolves the need.
stdlib already provides
correctly and tested.package.json/pyproject.toml/
build.gradle/etc. for a library already in use that does this, before adding a new one.If step 5 concludes a new dependency is genuinely warranted, or if satisfying the request would require touching files, adding abstractions, or writing code beyond the literal scope of what was asked — stop and ask the user first. Do not silently expand scope because a better version occurred to you mid-task. Surface it, explain why, let them decide.
Sometimes the right call under the ladder is still an intentional simplification — e.g. step 6/7
lands on something that works for the current case but has a known ceiling. When that happens,
don't leave a silent TODO. Log it via the logging-tradeoffs skill instead: a documented,
findable tradeoff beats an undocumented one every time.
| Thought | Reality |
|---|---|
| "I'll just add a small helper for this" | Check steps 2–4 first — it may already exist. |
| "This library is heavy, I'll write my own version" | A hand-rolled subset is usually worse than the dependency, and now it's yours to maintain forever. |
| "While I'm in here, I'll also clean up X" | That's scope creep. Surface it, ask, don't just do it. |
| "This edge case probably won't happen" | If it's in scope, handle it; if it's not, don't add speculative handling either. |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
code-reuse, decision-ladder, scope-control, minimal-code, code-quality
7 skills in this plugin
/caveats-and-statusUse when about to report any nontrivial task as complete — requires closing with a Caveats & status section stating what was verified, what was assumed, and what's unresolved./commit-craftUse before any git commit, branch, or pull request — defines the project's conventions for atomic commits, message format, branch naming, and PR hygiene so history stays navigable, bisectable, and safe to ship./environment-memoryUse before retrying any command, tool, or approach that failed once, and immediately after discovering any OS/shell/tool-specific quirk — checks and updates a stable cross-project quirks file so failed approaches are never silently repeated.npx claudepluginhub ccplugins/awesome-claude-code-plugins --plugin craftsmanOther plugins' skills for the same job