bouroo

Cmd Refactor — Code Quality skill for Claude Code

Code Quality community

Refactor phase (ACT loop): analyze, plan, baseline, execute, verify, and sync a behavior-preserving restructuring with before/after measurement.

How to install Cmd Refactor

Installs to ~/.claude/skills/bouroo-agents-cmd-refactor/SKILL.md

Terminal
mkdir -p ~/.claude/skills/bouroo-agents-cmd-refactor && curl -fsSL https://raw.githubusercontent.com/bouroo/agents/HEAD/commands/cmd-refactor.md -o ~/.claude/skills/bouroo-agents-cmd-refactor/SKILL.md

Restart Claude Code, or start a new session, for it to be picked up.

What Cmd Refactor does


description: "Refactor phase (ACT loop): analyze, plan, baseline, execute, verify, and sync a behavior-preserving restructuring with before/after measurement. Use when restructuring existing code for clarity, safety, or performance without changing its observable behavior." argument-hint: " [--goal=]"

Refactor Phase

A behavior-preserving restructuring workflow inside the ACT phase. Measure before and after; keep only what the

Alternatives in Code Quality

  • Refactor — We are about to refactor code 1.6k ★
  • Refactor Claude Md — Refactor CLAUDE.md by extracting sections to dedicated docs with path-scoped rules 1.6k ★
  • Claude Review Loop — Claude Code plugin: automated code review loop with Codex 589 ★

Full documentation available on GitHub

View Source Repository