code-polish

This skill should be used when the user asks to "polish code", "simplify and review", "clean up and review code", "full code polish", "simplify then review", "refactor and review", "simplify and fix", "clean up and fix", or wants a combined simplification and review workflow on recently changed code.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "code-polish" with this command: npx skills add paulrberg/agent-skills/paulrberg-agent-skills-code-polish

Code Polish

Combined simplification and review pipeline. This skill orchestrates two sub-skills in sequence:

  1. code-simplify — simplify for readability and maintainability
  2. code-review --fix — review for correctness, security, and quality, auto-applying all fixes

Both sub-skills share the same scope resolution: only session-modified files are in scope. If there are no session-modified files, they fall back to all uncommitted tracked changes. See each sub-skill for full details.

Workflow

1) Run code-simplify

Invoke the code-simplify skill, forwarding $ARGUMENTS as-is.

2) Run code-review --fix

Invoke the code-review skill with the --fix flag appended to $ARGUMENTS.

3) Report

Combine the outputs from both skills into a single summary:

  1. Scope: Files and functions touched.
  2. Simplifications: Key changes from code-simplify.
  3. Review findings and fixes: Findings and applied fixes from code-review.
  4. Verification: Commands run and outcomes.
  5. Residual risks: Assumptions or items needing manual review.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

code-simplify

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

code-review

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

cli-gh

No summary provided by upstream source.

Repository SourceNeeds Review