Skip to content
Back to skills

Improve

ASecurity

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

  • 412 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added October 6, 2026
developmentrefactoring

Security analysis

A100/100

Scanned October 6, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Improve?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Improve
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/owainlewis-improve/badge)](https://www.skillsdirectory.com/skills/owainlewis-improve)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
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

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.
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.

## 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.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…