Refactoring patterns
Skill Benkapner/claude-code-basecamp/skills/refactoring-patterns
A meta-repository for Claude Code users that includes workspace setup (skills, commands, hooks)
npx -y skills add Benkapner/claude-code-basecamp --skill refactoring-patternsAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 14 stars14 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Measurement-driven code refactoring — profile before changing, measure after, keep only if metrics improve. Covers complexity reduction, extraction patterns, and bulk refactoring for mechanical changes across many files.
SKILL.md
0.9 KB, as published. Nobody here has run it
Refactoring Patterns
Measure before. Refactor. Measure after. Keep only if it improved.
When to Activate
- When the user says "refactor", "clean up", "simplify", "this code is messy"
- When code has high complexity, deep nesting, or large functions
- When extracting, renaming, or restructuring across multiple files
- When consolidating duplicated code
Process
Read skills/refactoring-process.md for the measure-refactor-measure workflow, extraction patterns, and bulk refactoring mode.
Behavioral Rules
Read guidelines.md for measurement requirements, revert criteria, and scope limits.