
Code Polish
Polish changed code on request, simplifying safely and reviewing fixed scope by risk profile.
- CCM score
- 61 of 100
- skills.sh installs
- 2.8K
- GitHub stars
- 107
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers the workflow in order: resolve a fixed file scope, simplify without behavior change, review and fix verified defects, then verify
- Enforces that simplifications keep public contracts, error behavior, and performance-sensitive characteristics intact, and that review findings cite verified evidence
- Supports
--simplifyand--reviewmodes, plus--with-profileand--skip-profileto select language and risk profiles such assecurity,go, andtypescript - Designed for changes in Git repositories that need a verified, scoped cleanup pass before completion
Install
$ npx -y skills add paulrberg/agent-skills --skill code-polish -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
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
- Require a Git repository.
- Use explicit paths, patterns, ranges, natural-language targets, or a supplied
resolved-scopeblock when present. Otherwise, use only files modified in this session. If session history is unavailable, use all uncommitted tracked and untracked files. - 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.
- 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
Details
- Repository
- github.com/paulrberg/agent-skills
- Category
- Code Review & Quality
- First seen
- May 16, 2026
More from paulrberg/agent-skills
All 8Similar to Code Polish
More Code Review & Quality
jscpdkucherenko/jscpd2.8K installsCopy-paste detector for 220+ languages. Detect duplicated code and measure duplication percentages.
hunk-reviewmodem-dev/hunk2.7K installsInteracts with live Hunk diff review sessions via CLI. Inspects review focus, navigates files and hunks, reloads session contents, and adds inline review commen
weedjuxt/allium2.7K installsWeed the Allium garden. Find where Allium specifications and implementation code have diverged, and help resolve the divergences. Use when the user wants to che
code-review-proonewave-ai/claude-skills2.6K installsComprehensive code review covering security vulnerabilities, performance bottlenecks, best practices, and refactoring opportunities. Use when user requests code
qodo-get-rulesqodo-ai/qodo-skills2.6K installsLoads coding rules from Qodo most relevant to the current coding task by generating a semantic search query from the assignment. Use when Qodo is configured and
launchdarkly-flag-cleanuplaunchdarkly/ai-tooling2.5K installslaunchdarkly flag cleanup