skills/refactor/SKILL.md
Improve the shape of existing code without changing behavior.
npx skillsauth add owainlewis/blueprint refactorInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
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:
tools
Commit, push, and open a pull request with a clear description. Use when finished work on the current branch needs to become a PR.
development
Run several tickets to draft PRs at the same time, one isolated worker per ticket. Use when the user passes multiple tickets and wants them worked in parallel. Composes task-to-pr per ticket; never writes code itself.
development
Turn one ticket into a draft PR. Use when the user passes a ticket reference (JIRA-123, LIN-123, github#456, an issue URL) and expects code, tests, review, and a PR. Use implement when no PR is expected; use multitask for several tickets at once.
development
Turn one scoped task into a verified diff: code, tests, verification, report. The inner build step of the delivery flow. Use directly when the workspace is prepared and no PR is expected; use task-to-pr when a ticket should become a PR.