cafitac

Code Polish Hermit — Development skill for Claude Code

Development community

/code-polish-hermit — state-machine polish loop.

How to install Code Polish Hermit

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.

What Code Polish Hermit does

/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

Alternatives in Development

  • Cancel Pua Loop — 取消当前活跃的 PUA Loop(原子级联:state + worktree + 记录) 19.5k ★
  • Portaljs Add Geo — Auto-ingest a geospatial file (GeoJSON, Shapefile, GeoPackage, KML/KMZ, FlatGeobuf, CSV-with-geometry) into a 2.3k ★
  • Agentlas Login — Sign this machine into Agentlas (opens the browser sign-in window) 1.1k ★

Full documentation available on GitHub

View Source Repository