Skip to content
cccskills
FreePublished on GitHub

polish

Iteratively review and fix issues on the current branch until the review passes.

The English summary is being prepared. Showing the original description.

See how to install

Files included (1)

  • SKILL.md2.1 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Polish

Review-fix loop on the current branch until it converges to LGTM. Require 3 consecutive LGTMs before declaring convergence (reviews are non-deterministic, especially for large changes). Maximum 25 iterations.

Preflight

Check git log main..HEAD --oneline. If no commits ahead and no uncommitted changes, ask the user what they intended. Stage and commit any uncommitted changes before starting.

Count the commits ahead of main. This determines how fixes are committed in the loop:

  • Single commit: use /amend to fold fixes into it each iteration.
  • Multiple commits: create a single polish: ... commit on the first fix iteration, then /amend that same commit on subsequent iterations. This keeps all polish fixes in one commit rather than scattering them across iterations.

State tracking

Track across iterations: Fixed (what was changed), Dismissed (why not fixed), Pending user input (needs a decision). When a re-raised issue was previously dismissed, skip it.

Loop

  1. Review: delegate to a fresh sub-agent with no prior context (so it reviews the code on its own merits, not anchored to previous findings): "Run /review on the current branch against main. Skip: PR description, Needs verification, Existing issues."
  2. Triage: for each finding — skip if dismissed, fix or dismiss with rationale, collect ambiguous cases for user input. Watch for findings that reveal design gaps (wrong assumptions, flawed mental models) regardless of severity — escalate these to the user rather than auto-fixing, as they may require rethinking the approach.
  3. Fix: apply fixes (🔴 > 🟠 > 🟡), run lint/format, then commit using the strategy determined in Preflight (amend for single-commit branches, new commit for multi-commit branches). Go to Step 1.
  4. Report: ✅ LGTM after N iterations or ⚠️ Stopped after N iterations. List fixes by file, dismissed items, and remaining issues.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

amend

Free

Amend the last commit with current changes and/or an updated message.

The English summary is being prepared. Showing the original description.

simonepri/ifttt-lint29Updated Sep 29, 2026

commit

Free

Stage changes and create a commit with a conventional commit message.

The English summary is being prepared. Showing the original description.

simonepri/ifttt-lint29Updated Sep 29, 2026

cook

Free

Full autopilot — plan, implement, and polish a task end-to-end.

The English summary is being prepared. Showing the original description.

simonepri/ifttt-lint29Updated Sep 29, 2026

diff

Free

Fetch and display diffs for various scopes (PR, commit, branch, staged, working tree). Used by other skills that need to analyze changes.

The English summary is being prepared. Showing the original description.

simonepri/ifttt-lint29Updated Sep 29, 2026

Execute a plan file — parse phases, spawn parallel subagents, handle failures.

The English summary is being prepared. Showing the original description.

simonepri/ifttt-lint29Updated Sep 29, 2026

fork

Free

Start or end a forked session for exploring rabbit holes without losing the main conversation's context.

The English summary is being prepared. Showing the original description.

simonepri/ifttt-lint29Updated Sep 29, 2026

See all skills by simonepri

Report a problem with this skill