Help us improve
Share bugs, ideas, or general feedback.
From aws-skills-for-claude-code
Refactors code to improve structure, reduce duplication, and apply SRP/DRY principles without changing behavior. Use for incremental code quality enhancements with test verification.
npx claudepluginhub whchoi98/aws-skills-for-claude-code --plugin aws-skills-for-claude-codeHow this skill is triggered — by the user, by Claude, or both
Slash command
/aws-skills-for-claude-code:refactorThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Refactor existing code to improve quality without changing behavior.
Refactors code to improve structure, readability, and maintainability while preserving behavior. Guides test-driven cycle, checklists, and patterns like extract function.
Guides safe code refactoring with test-first steps, common refactor patterns, and anti-patterns to avoid.
Refactors code while preserving behavior: cleanup, modularize, deduplicate, rename, simplify structure in small reversible steps. Not for behavioral changes.
Share bugs, ideas, or general feedback.
Refactor existing code to improve quality without changing behavior.
Present the refactoring plan to the user:
Run with /refactor command