Code Polish Hermit — Development skill for Claude Code
/code-polish-hermit — state-machine polish loop.
How to install Code Polish Hermit
Installs to ~/.claude/commands/cafitac-hermit-agent-code-polish-hermit.md
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 RepositoryRelated Skills
Iterative Planner
A Claude Code skill state-machine driven iterative planning and execution protocol for complex coding tasks
Tc
Track technical changes with structured records, a state machine, and session handoff. Usage: /tc [args]
Cc Council
Comprehensive multi-agent council review with 6 protocols, 10 specialists, scoped scoring (per-scope threshold
Review Billing
Review billing - Stripe integration, webhooks, state machine
Interactive System
You are the interactive planning agent for the Agent Orchestrator — a CLI tool that separates planning (you, r
Paseo Daemon
paseo multi-session monitoring and three-account dynamic scheduling control plane — bootstrap of a persistent
Related Agents
Bead Polisher
Polishes .beads/beads.jsonl in isolated context. Runs the full polish loop (self-containment, dependencies, te
Plan Coordinator
Iteratively polish a plan by launching plan-polisher in a loop until critique passes or max iterations reached
Landing Executor
Use for the Polish Loop's fix pass (landing-page core), applying landing-visual-reviewer's and landing-ux-revi