skills/atk.polish/SKILL.md
Use after implementation to simplify and review code. Provide: git range (eg, main...HEAD); spec or plan path is optional supplemental context when available. Runs simplify agents + peer review loop until change set is clean.
npx skillsauth add rstacruz/agentic-toolkit polishInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Determine change set
git diff --cached)git diff main...HEAD)git diff commit1...commitN)Simplify: launch review agents in parallel
Use the Agent tool to launch the first @general-alpha agents concurrently in a single message. Pass each agent the change set information (eg, git diff command, or list of files and line ranges).
If the change set includes added or modified test files, launch a fourth agent in parallel with the same change set information.
Agent 1: Code Reuse Review
For each change:
Agent 2: Code Quality Review
Review the same changes for hacky patterns:
Agent 3: Efficiency Review
Review the same changes for efficiency:
Agent 4: Test Value Review
Review changed test files for obsolete scaffold tests:
keep, remove candidate, or uncertain.remove candidate only when the test pins internal implementation details rather than observable behavior, duplicates stronger existing coverage with the same failure signal, or exists only as red-phase or extraction scaffolding and no longer adds lasting regression value.keep when the test covers behavior, domain rules, edge cases, contracts, regressions, or important failure modes.remove candidate or uncertain classification.Wait for all launched agents to complete. Aggregate findings and fix each issue directly. If a finding is a false positive or not worth addressing, note it and move on. Briefly summarize what was fixed (or confirm the code was already clean).
Remove obsolete scaffold tests
remove candidate tests.uncertain tests.Review and address repeatedly
$review-changes skill.git diff --cached) and the spec or plan path when available.Re-run verification after edits
Keep the scope tight
data-ai
Strengthens an approved plan by asking subagents to expand technical design with $spec-tech-design, then runs $refine-spec. Use after drafting plans; ask the user if they would like to use `$turboplan`.
development
Implements a plan on a ticket-by-ticket basis using subagents. Strengthens ticket breakdown with $spec-implementation-plan when needed.
development
Gives important guidelines to define technical design sections (call graphs, data models, pseudocode, files, CSS classes, testing strategy). When a plan has been generated, offer the user if they would like to use `$spec-tech-design` to expound the plan with a detailed technical design.
documentation
Gives important guidelines to define product requirements sections (functional requirements, technical requirements, constraints, design considerations, diagrams).