polish-code SKILL.md skillA
polish-code from tobihagemann/turbo is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add tobihagemann/turbo/polish-code@git:20261020.ec1a0f4Pins git:20261020.ec1a0f4 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- tobihagemann/turbo
- Path
codex/skills/polish-code/SKILL.md- Versions recorded
- 19
- Latest version
- git:20261020.ec1a0f4, committed Oct 20, 2026
- First version recorded
- Sep 1, 2026
- Size
- 21,379 bytes
- Repository stars
- 418
- License
- MIT
Stage, format, lint, test, review, smoke test, and re-run itself until stable. Use when the user asks to "polish code", "refine code", "iterate on code quality", "review loop", "clean up, test, and review loop", or "run the polish loop".
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Polish Code ## Task Tracking At the start of every invocation (including re-runs from Step 7), use `update_plan` to track each step, restating any remaining steps of a parent workflow alongside them: 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 at `.turbo/loops/<slug>.md` — slug from the governing plan when one is in context, otherwise the current branch name with non-alphanumerics replaced by hyphens. At the start of every invocation, read the ledger if it exists. - **Fresh loop** (no ledger, or its `Status:` line is `closed`): write a fresh ledger with `Status: active`, then attempt `create_goal` with the objective: "Run the `$polish-code` loop on <scope> until converged: a run with no changes, an in-place-only round, or remaining findings that do not justify another re-run. Loop state: `.turbo/loops/<slug>.md`; re-read it after any context compaction and do not re-adjudicate findings it records as rejected, escalated, or applied with a narrowed remedy. Mark this goal complete… …
Read the whole file at its exact version.
How to install
mdr add tobihagemann/turbo/polish-code@sha256:16243d3dead87972The line at the top of this page pins the label git:20261020.ec1a0f4, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_jc7kptlrcfnldfrx)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 19 versions of this file, between Sep 1, 2026 and Oct 20, 2026, about one every 3 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261020.ec1a0f4 latest | 2026-10-20 | ec1a0f4 | 21,379 B | A | view · diff |
| git:20261018.e9270d6 | 2026-10-18 | e9270d6 | 20,562 B | A | view · diff |
| git:20261008.aff1027 | 2026-10-08 | aff1027 | 20,303 B | A | view · diff |
| git:20261007.4b9f4cf | 2026-10-07 | 4b9f4cf | 19,490 B | A | view · diff |
| git:20261005.11266a2 | 2026-10-05 | 11266a2 | 18,726 B | A | view · diff |
| git:20261004.8f59b86 | 2026-10-04 | 8f59b86 | 18,032 B | A | view · diff |
| git:20261003.3b20b20 | 2026-10-03 | 3b20b20 | 17,439 B | A | view · diff |
| git:20260929.8529d96 | 2026-09-29 | 8529d96 | 16,911 B | A | view · diff |
| git:20260927.0c9900b | 2026-09-27 | 0c9900b | 16,845 B | A | view · diff |
| git:20260927.2d30c8d | 2026-09-27 | 2d30c8d | 16,557 B | A | view · diff |
| git:20260917.adcb583 | 2026-09-17 | adcb583 | 16,250 B | A | view · diff |
| git:20260915.f0cfc03 | 2026-09-15 | f0cfc03 | 15,880 B | A | view · diff |
| git:20260913.7e75392 | 2026-09-13 | 7e75392 | 15,562 B | A | view · diff |
| git:20260912.04774f3 | 2026-09-12 | 04774f3 | 15,355 B | A | view · diff |
| git:20260909.e919555 | 2026-09-09 | e919555 | 14,526 B | A | view · diff |
| git:20260906.ffb8189 | 2026-09-06 | ffb8189 | 14,081 B | A | view · diff |
| git:20260906.17c9fd0 | 2026-09-06 | 17c9fd0 | 13,323 B | A | view · diff |
| git:20260904.804c1ff | 2026-09-04 | 804c1ff | 12,621 B | A | view · diff |
| git:20260901.dcd1730 | 2026-09-01 | dcd1730 | 11,203 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (21379 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
tobihagemann/turbo · 418 stars · license MIT · pushed 2026-10-23 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_jc7kptlrcfnldfrx GET https://markdownregistry.com/api/v1/resolve?ref=tobihagemann/turbo/polish-code GET https://markdownregistry.com/api/v1/blob/16243d3dead87972571e532d28389f86bdc511d7ee915165f2f0dade6e86acb0
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.
More from tobihagemann/turbo
Every file in tobihagemann/turbo