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.

Install it, pinned
mdr add tobihagemann/turbo/polish-code@git:20261020.ec1a0f4

Pins 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

The exact contents, by fingerprint
mdr add tobihagemann/turbo/polish-code@sha256:16243d3dead87972

The 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.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_jc7kptlrcfnldfrx.svg)](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.

versioncommittedcommitsizeaudit
git:20261020.ec1a0f4 latest2026-10-20 ec1a0f4 21,379 BA view · diff
git:20261018.e9270d62026-10-18 e9270d6 20,562 BA view · diff
git:20261008.aff10272026-10-08 aff1027 20,303 BA view · diff
git:20261007.4b9f4cf2026-10-07 4b9f4cf 19,490 BA view · diff
git:20261005.11266a22026-10-05 11266a2 18,726 BA view · diff
git:20261004.8f59b862026-10-04 8f59b86 18,032 BA view · diff
git:20261003.3b20b202026-10-03 3b20b20 17,439 BA view · diff
git:20260929.8529d962026-09-29 8529d96 16,911 BA view · diff
git:20260927.0c9900b2026-09-27 0c9900b 16,845 BA view · diff
git:20260927.2d30c8d2026-09-27 2d30c8d 16,557 BA view · diff
git:20260917.adcb5832026-09-17 adcb583 16,250 BA view · diff
git:20260915.f0cfc032026-09-15 f0cfc03 15,880 BA view · diff
git:20260913.7e753922026-09-13 7e75392 15,562 BA view · diff
git:20260912.04774f32026-09-12 04774f3 15,355 BA view · diff
git:20260909.e9195552026-09-09 e919555 14,526 BA view · diff
git:20260906.ffb81892026-09-06 ffb8189 14,081 BA view · diff
git:20260906.17c9fd02026-09-06 17c9fd0 13,323 BA view · diff
git:20260904.804c1ff2026-09-04 804c1ff 12,621 BA view · diff
git:20260901.dcd17302026-09-01 dcd1730 11,203 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • 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

GitHub

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

apply-turbo-handoffs SKILL.md skill
tobihagemann/turbo · .claude/skills/apply-turbo-handoffs/SKILL.md · Audit the turbo skill lessons that /self-improve writes into this repo's .turbo/handoff/ from other projects, apply the…
git:20261004.cdcfe2f · audit A · 418 stars
AGENTS.md AGENTS.md file
tobihagemann/turbo · AGENTS.md
git:20260927.fa1ba5a · audit A · 418 stars
CLAUDE.md CLAUDE.md file
tobihagemann/turbo · CLAUDE.md
git:20261002.0f83d5c · audit A · 418 stars
CLAUDE.md@assets CLAUDE.md file
tobihagemann/turbo · assets/CLAUDE.md
git:20260920.5edbbe3 · audit A · 418 stars
AGENTS.md@claude AGENTS.md file
tobihagemann/turbo · claude/AGENTS.md
git:20260726.3cf3297 · audit A · 418 stars
CLAUDE.md@claude CLAUDE.md file
tobihagemann/turbo · claude/CLAUDE.md
git:20261008.aff1027 · audit A · 418 stars
apply-findings SKILL.md skill
tobihagemann/turbo · claude/skills/apply-findings/SKILL.md · Apply findings by making the suggested code changes. Applies accepted verdicts, escalates ambiguous findings to the…
git:20261023.44fa179 · audit A · 418 stars
assess-technical-debt SKILL.md skill
tobihagemann/turbo · claude/skills/assess-technical-debt/SKILL.md · Assess project-wide structural technical debt: complexity hotspots, deprecated API usage, duplication clusters…
git:20261022.181a901 · audit A · 418 stars
changelog-rules SKILL.md skill
tobihagemann/turbo · claude/skills/changelog-rules/SKILL.md · Shared changelog conventions and formatting rules referenced by /create-changelog and /update-changelog. Not typically…
git:20260801.187c292 · audit A · 418 stars
code-style SKILL.md skill
tobihagemann/turbo · claude/skills/code-style/SKILL.md · Enforce existence, reuse, mirror, and symmetry principles to keep new code minimal and consistent with surrounding…
git:20261016.409a05c · audit A · 418 stars
codex-exec SKILL.md skill
tobihagemann/turbo · claude/skills/codex-exec/SKILL.md · Run autonomous task execution using the codex CLI. Use when the user asks to "codex exec", "run codex exec", "execute a…
git:20261008.aff1027 · audit A · 418 stars
commit-rules SKILL.md skill
tobihagemann/turbo · claude/skills/commit-rules/SKILL.md · Shared commit message rules and technical constraints for skills that write commits. Not typically invoked directly.
git:20260927.8a693f4 · audit A · 418 stars

Every file in tobihagemann/turbo

Other files named polish-code

polish-code SKILL.md skill
tobihagemann/turbo · claude/skills/polish-code/SKILL.md · Stage, format, lint, test, review, smoke test, and re-run itself until stable. Use when the user asks to "polish code"…
git:20261020.ec1a0f4 · audit A · 418 stars

Browse by kind, by grade A, or by owner.