跳到正文
cccskills
免费在 GitHub 公开

polish

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

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(1)

  • SKILL.md2.1 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

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.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

amend

免费

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

中文简介正在准备中。当前显示原文说明。

simonepri/ifttt-lint292026年9月29日 更新

commit

免费

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

中文简介正在准备中。当前显示原文说明。

simonepri/ifttt-lint292026年9月29日 更新

cook

免费

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

中文简介正在准备中。当前显示原文说明。

simonepri/ifttt-lint292026年9月29日 更新

diff

免费

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

中文简介正在准备中。当前显示原文说明。

simonepri/ifttt-lint292026年9月29日 更新

execute

免费

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

中文简介正在准备中。当前显示原文说明。

simonepri/ifttt-lint292026年9月29日 更新

fork

免费

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

中文简介正在准备中。当前显示原文说明。

simonepri/ifttt-lint292026年9月29日 更新

查看 simonepri 的全部技能

报告此技能的问题