code-polish SKILL.md skillB

code-polish from paulrberg/agent-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add paulrberg/agent-skills/code-polish@git:20261005.b512acb

Pins git:20261005.b512acb in mdr.lock. Pin the fingerprint instead.

Audit grade
B, 16 of 17 checks passed
Kind
SKILL.md skill
Repository
paulrberg/agent-skills
Path
skills/code-polish/SKILL.md
Versions recorded
5
Latest version
git:20261005.b512acb, committed Oct 5, 2026
First version recorded
Aug 10, 2026
Size
6,183 bytes
Repository stars
101
License
MIT

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

# Code Polish

Resolve scope once. Make only high-confidence simplifications. Fix defects supported by evidence according to their
risk. Verify the final state.

## Modes

- `--simplify`: simplify only.
- `--review`: review and fix only.
- Neither or both: simplify, then review the simplified result.
- `--with-profile <name>` / `--skip-profile <name>`: add or suppress review profiles. Skip wins.

## Fixed Scope

1. Require a Git repository.
2. Use explicit paths, patterns, ranges, natural-language targets, or a supplied `resolved-scope` block when present.
   Otherwise, use only files modified in this session. If session history is unavailable, use all uncommitted tracked
   and untracked files.
3. Exclude lockfiles, generated outputs, vendored code, minified bundles, and large data snapshots from manual review
   unless explicitly requested. Validate relevant excluded outputs through their generator, schema, or invariants.
4. Resolve and retain one authoritative scope set and optional exclusions for execution. Do not broaden or recompute
   scope later. Stop if it is empty.

## Simplify
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add paulrberg/agent-skills/code-polish@sha256:3f0fc25e29f702b7

The line at the top of this page pins the label git:20261005.b512acb, 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_5hkwifccsk7pmtvp.svg)](https://markdownregistry.com/a/art_5hkwifccsk7pmtvp)

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

Versions

The registry has recorded 5 versions of this file, between Aug 10, 2026 and Oct 5, 2026, about one every 14 days.

versioncommittedcommitsizeaudit
git:20261005.b512acb latest2026-10-05 b512acb 6,183 BB view · diff
git:20261001.95eac422026-10-01 95eac42 6,163 BB view · diff
git:20260924.ccfca262026-09-24 ccfca26 5,994 BB view · diff
git:20260922.e3dd7452026-09-22 e3dd745 6,093 BB view · diff
git:20260810.bf109152026-08-10 bf10915 5,649 BB view

Audit of the latest version

B  16 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • fail: Frontmatter declares a description
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Size between 200 bytes and 200 KB (6183 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

Starting a new one? Use a template for SKILL.md on mdpantry, which passes every one of these checks and says what to change in it.

Source

GitHub

paulrberg/agent-skills · 101 stars · license MIT · pushed 2026-10-19 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_5hkwifccsk7pmtvp
GET https://markdownregistry.com/api/v1/resolve?ref=paulrberg/agent-skills/code-polish
GET https://markdownregistry.com/api/v1/blob/3f0fc25e29f702b704361411b811627cf02364994c627a7c26ec8fdecba750f4

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 paulrberg/agent-skills

AGENTS.md AGENTS.md file
paulrberg/agent-skills · AGENTS.md
git:20261015.5a7a952 · audit A · 101 stars
agents-brain SKILL.md skill
paulrberg/agent-skills · skills/agents-brain/SKILL.md
git:20261013.0e89ced · audit B · 101 stars
agents-docs SKILL.md skill
paulrberg/agent-skills · skills/agents-docs/SKILL.md · Use for current official documentation about Codex, Codex CLI, or Claude Code behavior, configuration, prompting…
git:20261012.80c837a · audit A · 101 stars
agents-introspection SKILL.md skill
paulrberg/agent-skills · skills/agents-introspection/SKILL.md
git:20261008.079a59d · audit B · 101 stars
agents-system SKILL.md skill
paulrberg/agent-skills · skills/agents-system/SKILL.md
git:20261007.87de3b3 · audit B · 101 stars
ai-prune SKILL.md skill
paulrberg/agent-skills · skills/ai-prune/SKILL.md
git:20261005.b512acb · audit B · 101 stars
brainstorm-with-me SKILL.md skill
paulrberg/agent-skills · skills/brainstorm-with-me/SKILL.md
git:20261005.b512acb · audit B · 101 stars
chromium-browser SKILL.md skill
paulrberg/agent-skills · skills/chromium-browser/SKILL.md
git:20261019.e444ac2 · audit C · 101 stars
cli-cast SKILL.md skill
paulrberg/agent-skills · skills/cli-cast/SKILL.md
git:20261011.7177eaa · audit B · 101 stars
cli-coingecko SKILL.md skill
paulrberg/agent-skills · skills/cli-coingecko/SKILL.md
git:20261005.4be9b88 · audit B · 101 stars
cli-gh SKILL.md skill
paulrberg/agent-skills · skills/cli-gh/SKILL.md
git:20261008.079a59d · audit B · 101 stars
cli-just SKILL.md skill
paulrberg/agent-skills · skills/cli-just/SKILL.md
git:20261005.b512acb · audit B · 101 stars

Every file in paulrberg/agent-skills

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