Cmd Refactor
Description
--- 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: "<module|package|path|file> [--goal=<readability|safety|performance>]" --- # Refactor Phase A behavior-preserving restructuring workflow inside the ACT phase. Measure before and after; keep only what the
Installation
Installs to ~/.claude/skills/bouroo-agents-cmd-refactor/SKILL.md
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.
Full documentation available on GitHub
View Source RepositoryRelated Skills
Import Drawio
Redraw a draw.io file as an editorial diagram at a chosen format, size, and detail level
Code Quality Import Mermaid
Redraw Mermaid as an editorial diagram at a chosen format, size, and detail level
Code Quality Job Stories
- Create job stories with acceptance criteria in JTBD format
Code Quality Wwas
- Create backlog items in Why-What-Acceptance format
Code Quality Code Quality Review
Review code quality in: $ARGUMENTS
Code Quality Standards Skills
Engineering standards and compliance skills
Code Quality