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
43111 skills

Claude Code

$ npx -y skills add owainlewis/blueprint --skill improve --agent claude-code

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]"
disable-model-invocation: true

Improve

Make code easier to understand without changing what it does. Reduce the layers a reader must trace and the hidden state they must remember.

Process

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 and run it against the unchanged code. Commit the passing test-only change before refactoring. If automated tests cannot exercise the behavior, 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. Ask of each important value: can a new reader say where it comes from and what can change it? 5. Delete first: remove dead code and redundant checks before you reshape what is left. Then make focused improvements by 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.

Return

State what became simpler, what behavior stayed the same, and which checks prove it. Name any behavior that remains unverified.

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.
Read more
@owainlewis
Ships withblueprint

Senior engineering habits for coding agents. Small skills for Claude Code and Codex that turn an idea into a reviewed, tested pull request.

Stars on GitHub

Momentum

stars in total
431
Star history of owainlewis/blueprint on GitHub, a chart by star-history.com

Other skills on blueprint.

architecture-review

architecture-review

Reviews a technical proposal before any code is written: an architecture, spec, RFC, ADR, or design issue. Finds choices that…

architecture

architecture

Writes root ARCHITECTURE.md from a fixed template: the intended system, a data flow diagram, the data model, and the rules every…

html-doc

html-doc

Generates a polished, static HTML reading view from an existing Markdown PRD or technical design. Use when a user asks to render,…

plan

plan

Splits a spec into small tasks, each a working slice an agent can finish in one pull request. Use when a spec is too big for one…

requirements

requirements

Writes the product requirements document (PRD) in root REQUIREMENTS.md as user stories with checkable outcomes. Use for a new…

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills11d309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc13d293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react2d252k
@facebook@facebookInstall Skill

Questions about improve.

Which coding agents can use improve?
improve installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.