From blueprint
Refactors code to improve structure without changing behavior. Automatically activates when asked to simplify, clean up, or reduce duplication.
How this skill is triggered — by the user, by Claude, or both
Slash command
/blueprint:refactor [optional files, diff, commit, or cleanup focus][optional files, diff, commit, or cleanup focus]The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Improve code shape without changing behavior. Use this when the user asks to refactor, simplify, tidy, clean up, reduce duplication, improve design, or make code easier to maintain.
Improve code shape without changing behavior. Use this when the user asks to refactor, simplify, tidy, clean up, reduce duplication, improve design, or make code easier to maintain.
$ARGUMENTS, specified files, git diff, staged changes, or the latest commit.git diff HEAD; otherwise review git diff.Look for changes that would make the code easier to understand, maintain, or safely extend:
npx claudepluginhub owainlewis/blueprint --plugin blueprintRefactors code while preserving behavior: cleanup, modularize, deduplicate, rename, simplify structure in small reversible steps. Not for behavioral changes.
Automates refactoring of files, directories, semantic queries, or recent git changes using code-simplifier agent. Applies best practices and removes dead code in limited scopes.
Refines existing code for clarity, readability, and maintainability without changing behavior, interfaces, or outputs. Use for simplify, clean up, refactor for readability requests.