/coding:codingfrom coding
Makes the smallest complete, maintainable code change for a bounded feature, fix, integration, or behavior-preserving refactor. Use when implementing or modifying code whose approach is already clear ("add X to Y", "fix this function", "refactor this without changing behavior", "simplest solution", "this is over-engineered").
Ships in coding. 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.
Make the smallest change that satisfies the request's observable contract, and finish every part the task needs. Be lazy about the solution, never about the change.
Not for multi-slice plans (planning), unknown-cause bugs (problem-solving), test-only work (unit-testing), shell scripts (bash), or large legacy upgrades (modernize). Use each one if installed.
Validation at trust boundaries, authorization, error handling that prevents data loss or silent failure, resource cleanup, security, accessibility, and anything the user asked for. Code you move or merge keeps its error handling and validation.
Set the envelope. List every place the change must reach (callers, tests, fixtures, config, exports) and what it could break for users (data it would destroy or expose, callers that stop working). That is the scope; treat everything else as out of scope. If the contract is missing or contradictory, ask for the smallest clarifying fact (in a main session, ask the user; as a subagent, put it in the hand-back) and leave the code unchanged.
Take the first option that fully works. Stop at the first that meets the contract:
Match the local shape. Name the closest analogous implementation as your exemplar and copy its names, module boundaries, error handling and validation style. Leave existing interfaces and return values alone unless the request changes them. Where the module disagrees with itself, follow the dominant pattern; if the split is close to even, pick one and say which. Don't copy a known bug from the exemplar: reuse the structure and flag the defect.
Choose the direct design. Put the change at the narrowest boundary that owns the behavior, as one straightforward path with guard clauses.
references/design-seams.md when a change adds a seam, injects a dependency or defines a public interface.ClientWorkflow beside a LeadWorkflow, a second state machine, handler, service or job), stop: extend or extract the existing one, or state why the duplication is justified.Make one cohesive change. Edit only what the envelope requires. When existing code is in the way, delete or consolidate before adding. Don't tidy neighbouring code. If an edit starts to expand ownership, change a public contract, duplicate a rule or cross into a new subsystem, stop and re-check the envelope: split the work, get approval, or use the existing boundary.
shortcut: <the limit>, <when to upgrade>.Verify the contract. Review the diff against the envelope: every changed line traces to an acceptance condition, a safety requirement or a needed local convention. Drop lines that don't, and remove what the change made obsolete.
Finish. List useful extras you didn't do (refactors, skipped options, docs the change didn't make stale) instead of doing them. Stop when every in-scope condition has direct evidence.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub adminhead/claude-plugins --plugin coding