--- name: polish-code description: "Stage, format, lint, test, review, smoke test, and re-run until stable. Use when the user asks to \"polish code\", \"refine code\", \"iterate on code quality\", \"review loop\", or \"run the polish loop\"." --- # Polish Code ## Task Tracking At the start of every invocation (including re-runs from Step 7), use `TaskCreate` to create a task for each step: 1. Run `/stage` skill 2. Run `/run-checks` skill 3. Run `/review-code` skill 4. Run `/evaluate-findings` skill 5. Run `/apply-findings` skill 6. Run `/smoke-test` skill 7. Re-run `/polish-code` skill if changed ## Loop State Loop state lives in a ledger at `.turbo/loops/polish-code-