code-polish
Installation
SKILL.md
Code Polish
Objective
Run a combined pipeline on recently changed code: code-simplify for readability and maintainability, then code-review --fix for correctness, security, and quality with fixes applied. One scope resolution, one user-facing report, no redundant simplify-phase verification.
Arguments
- Paths, patterns, a commit/range, or a scope phrase: used in Scope Resolution step 2.
--skip-profile <name>: Forward unchanged tocode-review. Repeatable.- Extra cleanup instructions (e.g. "and split
_lib.tsinto smaller files"): execute during the simplify phase. - Default: run the full pipeline on the resolved scope.
Running Sub-Skills
This skill requires code-simplify and code-review installed as sibling skills.
- Read the sibling skill file once —
../code-simplify/SKILL.mdor../code-review/SKILL.md, relative to this file — and follow its instructions inline as if it were invoked with the stated arguments. Flags such as--fixare instructions to interpret, not commands to execute. - If a sibling
SKILL.mdis missing, stop and report which one.