From 5ff22dcd4f76f87e3783c54fa438d95cc3eaf322 Mon Sep 17 00:00:00 2001 From: wenshao Date: Tue, 7 Apr 2026 00:36:38 +0800 Subject: [PATCH] feat(review): add commit tip for local reviews with Approve verdict MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit After local review with no critical issues, suggest "type commit to commit your changes" — the follow-up system picks this up as ghost text so users can Tab to commit. PR reviews keep the existing "post comments" tip. Co-Authored-By: Claude Opus 4.6 (1M context) --- packages/core/src/skills/bundled/review/SKILL.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/core/src/skills/bundled/review/SKILL.md b/packages/core/src/skills/bundled/review/SKILL.md index 767158293..31438d486 100644 --- a/packages/core/src/skills/bundled/review/SKILL.md +++ b/packages/core/src/skills/bundled/review/SKILL.md @@ -290,8 +290,10 @@ One of: - **Request changes** — Has critical issues that need fixing - **Comment** — Has suggestions but no blockers -If the review target is a PR and there are confirmed findings, append a tip after the verdict: -"Tip: type `post comments` to publish these findings as PR inline comments." +Append a follow-up tip after the verdict based on the review target: + +- **PR review with confirmed findings**: "Tip: type `post comments` to publish these findings as PR inline comments." +- **Local review with Approve verdict**: "Tip: type `commit` to commit your changes." If the user responds with "post comments" (or similar intent like "yes post them", "publish comments"), proceed directly to Step 4 using the findings already collected — do NOT re-run Steps 1-3.5.