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
claude/skills/polish-code/SKILL.md
Versions recorded
22
Latest version
git:20261020.ec1a0f4, committed Oct 20, 2026
First version recorded
Aug 31, 2026
Size
22,762 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 `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

## Step 1: Run `/stage` Skill

Run the `/stage` skill.

## Step 2: Run `/run-checks` Skill

Run the `/run-checks` skill.

Stage all changes made in this step before continuing.

## Step 3: Run `/review-code` Skill

Run the `/review-code` skill on the staged changes. The diff command is `git diff --cached`.

## Step 4: Run `/evaluate-findings` Skill

Run the `/evaluate-findings` skill on the results from Step 3.

## Step 5: Run `/apply-findings` Skill

Record the staged tree with `git write-tree` before applying anything, and use `TaskUpdate` to add the tree ID it prints to this run's Step 7 task description.

Run the `/apply-findings` skill on the evaluated results.
…

Read the whole file at its exact version.

How to install

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

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_wj42ak45j4hqmovz.svg)](https://markdownregistry.com/a/art_wj42ak45j4hqmovz)

5 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 22 versions of this file, between Aug 31, 2026 and Oct 20, 2026, about one every 2 days.

versioncommittedcommitsizeaudit
git:20261020.ec1a0f4 latest2026-10-20 ec1a0f4 22,762 BA view · diff
git:20261018.e9270d62026-10-18 e9270d6 21,799 BA view · diff
git:20261008.aff10272026-10-08 aff1027 21,540 BA view · diff
git:20261007.4b9f4cf2026-10-07 4b9f4cf 20,728 BA view · diff
git:20261005.11266a22026-10-05 11266a2 19,796 BA view · diff
git:20261004.8f59b862026-10-04 8f59b86 19,102 BA view · diff
git:20261003.3b20b202026-10-03 3b20b20 18,808 BA view · diff
git:20260929.8529d962026-09-29 8529d96 18,211 BA view · diff
git:20260927.0c9900b2026-09-27 0c9900b 18,145 BA view · diff
git:20260927.2d30c8d2026-09-27 2d30c8d 17,900 BA view · diff
git:20260925.75e0c4c2026-09-25 75e0c4c 17,593 BA view · diff
git:20260924.733e9832026-09-24 733e983 15,624 BA view · diff
git:20260917.adcb5832026-09-17 adcb583 14,818 BA view · diff
git:20260915.f0cfc032026-09-15 f0cfc03 14,448 BA view · diff
git:20260913.7e753922026-09-13 7e75392 14,139 BA view · diff
git:20260912.04774f32026-09-12 04774f3 13,932 BA view · diff
git:20260909.e9195552026-09-09 e919555 12,989 BA view · diff
git:20260906.ffb81892026-09-06 ffb8189 12,555 BA view · diff
git:20260906.17c9fd02026-09-06 17c9fd0 11,797 BA view · diff
git:20260904.804c1ff2026-09-04 804c1ff 11,157 BA view · diff
git:20260901.dcd17302026-09-01 dcd1730 9,739 BA view · diff
git:20260831.9985d292026-08-31 9985d29 9,618 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 (22762 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_wj42ak45j4hqmovz
GET https://markdownregistry.com/api/v1/resolve?ref=tobihagemann/turbo/polish-code
GET https://markdownregistry.com/api/v1/blob/37080d5802fcea9422fc1e9e741fe54ae41d8cbc947e476efbfe164686ee9899

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 · codex/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.