Systematic refactoring of codebase components through a structured 3-phase process. Use when asked to refactor, restructure, or improve specific components, modules, or areas of code. Produces research documentation, change proposals with code samples, and test plans. Triggers on requests like "refa
npx playbooks add skill baggiponte/skills --skill code-refactor
Code Refactor specializes your AI coding agent in testing & qa — it systematic refactoring of codebase components through a structured 3-phase process. use when asked to refactor, restructure, or improve specific components, modules, or areas of code. produces research documentation, change proposals with code samples, and test plans. triggers on requests like "refa.
At 41 words, this compact prompt gives your agent specialized testing & qa expertise with structured patterns and output formats. Install via CLI or copy the prompt below.
Systematic refactoring of codebase components through a structured 3-phase process. Use when asked to refactor, restructure, or improve specific components, modules, or areas of code. Produces research documentation, change proposals with code samples, and test plans. Triggers on requests like "refa
Code Refactor is a free testing & qa skill for AI coding agents. Systematic refactoring of codebase components through a structured 3-phase process. Use when asked to refactor, restructure, or improve specific components, modules, or areas of code. Produces research documentation, change proposals with code samples, and test plans. Triggers on requests like "refa. It provides a specialized system prompt that configures your agent with testing & qa expertise.
Run npx playbooks add skill baggiponte/skills --skill code-refactor in your terminal to install Code Refactor into your Claude Code session. It works immediately after installation.
Code Refactor is compatible with Claude Code, Cursor, GitHub Copilot, Windsurf, OpenClaw, Cline, and any AI agent that supports custom system prompts or .cursorrules files.
Yes, Code Refactor is completely free and open source. The full source is available on GitHub at https://github.com/baggiponte/skills/tree/main/code-refactor. You only need a subscription to the AI agent you use it with.
Weekly roundup of top Claude Code skills, MCP servers, and AI coding tips.