agentsclimarketplace

Refactoring patterns

Skill Benkapner/claude-code-basecamp/skills/refactoring-patterns

A meta-repository for Claude Code users that includes workspace setup (skills, commands, hooks)

Install
npx -y skills add Benkapner/claude-code-basecamp --skill refactoring-patterns

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

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.