Skip to content
Development
Skill

/improve

Makes existing code easier to understand without changing behavior. Use to simplify structure, remove duplication or dead code, improve names, or remove unnecessary abstractions.

From plugin
blueprint
2948 skills
Install
$ npx -y skills add owainlewis/blueprint --skill improve --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/improve

Context preview

The summary Claude sees to decide when to auto-load this skill.

Makes existing code easier to understand without changing behavior. Use to simplify structure, remove duplication or dead code, improve names, or remove unnecessary abstractions.

SKILL.md

improve.SKILL.md
name: improve
description: "Makes existing code easier to understand without changing behavior. Use to simplify structure, remove duplication or dead code, improve names, or remove unnecessary abstractions."
user-invocable: true
argument-hint: "[code, files, diff, branch, or improvement focus]"

Improve

Workflow

1. Identify the target from the request, current diff, or recently changed code. 2. Read the target, its tests, and relevant surrounding code. State the behavior that must not change. 3. If that behavior lacks tests, add focused coverage before refactoring. If automated tests cannot exercise it, explain why and give other evidence. 4. Find unnecessary complexity, duplication, dead code, weak names, awkward boundaries, and abstractions that cost more than they help. 5. Make focused improvements by deleting, deduplicating, renaming, simplifying, extracting, or inlining. 6. Preserve public interfaces, data shapes, errors, and user-visible behavior unless the user explicitly asks to change them. 7. Run tests and checks that cover behavior the refactor can affect. Report what improved, what behavior was preserved, and the evidence.

Boundaries

  • Do not add product scope or absorb unrelated cleanup.
  • Prefer a few clear edits over a broad rewrite.
  • Preserve behavior even when a redesign would be easier.
Ships withblueprint

A small set of instructions for AI coding. Blueprint helps agents decide what to build, make focused changes, test them, get an independent review, and open pull requests.

Get the whole plugin
Stats
297
Stars
54
Forks
Active
Maintenance
Shell
Language
MIT
License
4d ago
Last commit
5mo ago
Created

Repo: owainlewis/blueprint

Other skills on blueprint.