Community程式設計與開發github.com

bmwojcik/merge-reviewer - 跳過審查修正

記錄當前畫布修正為已忽略,不實際套用。當使用者說 skip-review-fixes 或 @skip-review-fixes 時使用。不會啟動審查工具。

merge-reviewer - 跳過審查修正 是什麼?

此技能(bmwojcik/merge-reviewer)定義了「跳過審查修正」行為,專為 AI 編碼代理(如 Claude Code、Cursor 或 Codex)設計。當開發者輸入 skip-review-fixes 或 @skip-review-fixes 時,代理會呼叫底層引擎的 apply-review-fixes --skip 命令,將目前畫布上的修正標記為「已忽略」而不實際套用到程式碼中。這有助於避免重複審查相同問題,同時保留日後手動套用的彈性。它支援透過 MERGE_REVIEWER_HOME 或 CURSOR_TEMPLATE_HOME 環境變數設定引擎路徑,並從 ~/.config/review-change/cursor.env 讀取設定。主要用於 git 分支工作流程,其中審查記錄(ledger)會記住這些錨點,確保同一問題不會再次被提起。技能明確要求不提交、不推送,也不啟動審查器。

相容平台~Claude Code~Codex CLI✓Cursor
npx skills add https://github.com/bmwojcik/merge-reviewer/tree/HEAD/cursor/skills/skip-review-fixes

Installed? Explore more 程式設計與開發 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

跳過審查修正

專案規則來自 PROJECT.md ## 品質標準 以及 INDEX/筆記。設定值來自 .agent-tools/config.md。

解析引擎

使用第一個包含 bin/apply-review-fixes 的目錄:

  1. $MERGE_REVIEWER_HOME
  2. $(dirname "$CURSOR_TEMPLATE_HOME")/merge-reviewer
  3. <git-root>/tools/merge-reviewer

僅從 ~/.config/review-change/cursor.env 讀取 MERGE_REVIEWER_HOME 和 CURSOR_TEMPLATE_HOME。不要列印其他鍵值。

執行步驟

  1. 從 git 根目錄,執行 <engine>/bin/apply-review-fixes --skip。
  2. 引用「已忽略 N 個筆記」這一行。記錄(ledger)會為此分支保留這些錨點,因此審查工具不會再次提出它們。
  3. 不要編輯 var/review-change.fixes.json 中列出的檔案。
  4. 如果 .cursor/review-change.skip.request 存在,保留其第一行為 canvas-trigger。引擎會改寫觸發條件。
  5. 告知使用者差異已被忽略。他們仍可在 JSON 存在時稍後套用。
  6. 不要提交、推送,或啟動審查工具。

Individual skills in this repo

This repo contains 2 individual skills — each has its own dedicated page.

相關技能