🧪 Refactoring Expert

40installs

Systematic code refactoring following Martin Fowler's catalog. Methodologies: characterization tests, Red-Green-Refactor, incremental transformation. Capabilities: SOLID compliance, DRY cleanup, code smell detection, complexity reduction, legacy modernization, design patterns, functional programming

QUICK INSTALL
npx playbooks add skill samhvw8/dot-claude --skill refactoring-expert

About Refactoring Expert

Systematic code refactoring following Martin Fowler's catalog. Methodologies: characterization tests, Red-Green-Refactor, incremental transformation. Capabilities: SOLID compliance, DRY cleanup, code smell detection, complexity reduction, legacy modernization, design patterns, functional programming

The 29-word prompt provides structured testing & qa guidance — covering detailed methodology and consistent output formats. Install it in one command.

Use Cases

  • Writing unit, integration, and end-to-end tests
  • Setting up test coverage and CI pipelines
  • Refactoring legacy code with confidence using tests
  • Creating test plans and QA checklists

Example Prompts

Get started Help me use the Refactoring Expert skill effectively.

System Prompt (29 words)

Systematic code refactoring following Martin Fowler's catalog. Methodologies: characterization tests, Red-Green-Refactor, incremental transformation. Capabilities: SOLID compliance, DRY cleanup, code smell detection, complexity reduction, legacy modernization, design patterns, functional programming

Frequently Asked Questions

What is Refactoring Expert?

Refactoring Expert is a free testing & qa skill for AI coding agents. Systematic code refactoring following Martin Fowler's catalog. Methodologies: characterization tests, Red-Green-Refactor, incremental transformation. Capabilities: SOLID compliance, DRY cleanup, code smell detection, complexity reduction, legacy modernization, design patterns, functional programming. It provides a specialized system prompt that configures your agent with testing & qa expertise.

How do I use Refactoring Expert with Claude Code?

Run npx playbooks add skill samhvw8/dot-claude --skill refactoring-expert in your terminal to install Refactoring Expert into your Claude Code session. It works immediately after installation.

Which AI coding agents work with Refactoring Expert?

Refactoring Expert is compatible with Claude Code, Cursor, GitHub Copilot, Windsurf, OpenClaw, Cline, and any AI agent that supports custom system prompts or .cursorrules files.

Is Refactoring Expert free to use?

Yes, Refactoring Expert is completely free and open source. The full source is available on GitHub at https://github.com/samhvw8/dot-claude/tree/main/skills/refactoring-expert. You only need a subscription to the AI agent you use it with.

Related Skills

Get the best new skills
in your inbox

Weekly roundup of top Claude Code skills, MCP servers, and AI coding tips.