
This is a two-stage pipeline that runs code-simplify then code-review with auto-fix on your recent changes. The smart part is scope resolution: it figures out what "polish this" means once, whether that's session-modified files, uncommitted changes, or an explicit list, then feeds the same file list to both passes so you're not answering the same question twice. You get one combined report covering simplifications, review findings, fixes applied, and verification results. It skips the usual simplify verification step since review runs afterward anyway. Useful when you want a full cleanup pass without babysitting two separate tools or reconciling overlapping diffs.
$ npx -y skills add paulrberg/agent-skills --skill code-polish --agent claude-codeInstalls into .claude/skills of the current project.
Resolve scope once. Make only high-confidence simplifications. Fix defects supported by evidence according to their risk. Verify the final state.
--simplify: simplify only.--review: review and fix only.--with-profile <name> / --skip-profile <name>: add or suppress review profiles. Skip wins.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.Sponsors