Code Polish Hermit banner
cafitac cafitac

Code Polish Hermit

Development community

Description

# /code-polish-hermit — state-machine polish loop Unlike `/code-polish`, this variant is a **distributed state machine**. Hermit runs its own review-and-apply loop until it is self-clean, and Claude provides two independent review passes on top as a quality gate. Claude's token spend is capped at ~2 review rounds. ## Arguments `$ARGUMENTS` — PR number (required). - `--strategy {aggressive|moderate|conservative}` — delegation depth. If omitted, read from the model-strategy map in the checkp

Installation

Installs to ~/.claude/commands/cafitac-hermit-agent-code-polish-hermit.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/cafitac/hermit-agent/HEAD/.claude/commands/code-polish-hermit.md -o ~/.claude/commands/cafitac-hermit-agent-code-polish-hermit.md

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

Full documentation available on GitHub

View Source Repository