From 87e4555a90c57972b7a08af042c2cfdcc5c89bdc Mon Sep 17 00:00:00 2001 From: Jeffery Date: Tue, 8 Sep 2026 15:04:21 +0800 Subject: [PATCH 1/2] =?UTF-8?q?docs(comment-scope):=20=E8=89=B2=E7=A2=BC?= =?UTF-8?q?=E5=88=97=E9=80=B2=E5=85=81=E8=A8=B1=E9=A0=85=EF=BC=8C=E4=B8=8D?= =?UTF-8?q?=E5=86=8D=E7=95=B6=E7=B7=A8=E8=99=9F=E7=9C=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 「允許寫進註解」那張表加一列:十六進位色碼。理由寫在同一列——它指的是顏 色,不是編號;只有純十進位的才當議題編號看。 守門腳本那一邊已經多剪一條,把井號後面含十六進位字母的色碼先剪掉。正文 是規則的唯一真實來源,腳本剪了一條而正文不動,下一個讀正文的人會以為色 碼仍然違規,於是把註解裡的色碼手動刪掉,或反過來覺得腳本放水。兩邊對不 起來,規則就沒有人信。 補的是一列,不是一段。既有六列的欄位次序照舊,允許項、理由、範例三格都 填滿,範例挑樣式表註解裡標主色那種常見寫法,讀的人一眼看得出這條規則在 講哪種場景。 影響註解範圍的判準本身,也就是所有讀這份正文的人與所有引用它的技能:註 解裡寫色碼從此明文放行,議題編號、需求編號那些照舊禁止。 Co-Authored-By: Claude Opus 5 --- references/comment-scope.md | 1 + 1 file changed, 1 insertion(+) diff --git a/references/comment-scope.md b/references/comment-scope.md index 75fec02..8b0ee44 100644 --- a/references/comment-scope.md +++ b/references/comment-scope.md @@ -88,6 +88,7 @@ | 第三方套件的 issue 連結 | 說明繞道寫法的成因與解除條件 | `// 繞過 github.com/foo/bar/issues/88,修好後可移除` | | 授權標頭、SPDX 標記 | 法律要求 | `// SPDX-License-Identifier: MIT` | | 語言原生標記 | 編譯器或工具鏈直接解讀 | `@deprecated`、`@since` | +| 十六進位色碼 | 指的是顏色,不是編號;純十進位的才當議題編號看 | `/* 主色沿用 #7c3aed,別再調 */` | `@author` 不在允許之列:它是人名,屬「流程與人事資訊」。 -- 2.53.0 From da361a18e6087c93a57f0add25a8e760ebb82182 Mon Sep 17 00:00:00 2001 From: Jeffery Date: Tue, 8 Sep 2026 15:04:21 +0800 Subject: [PATCH 2/2] =?UTF-8?q?chore(version):=20=E4=B8=89=E4=BB=BD=20mani?= =?UTF-8?q?fest=20=E5=8D=87=E7=89=88=E8=87=B3=200.1.4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 註解規範正文多了一列允許項,行為跟著變,版號要動。三份 manifest 的版號 必須一致,版本前置檢查是拿它們互相比對的。 由 0.1.3 升到 0.1.4,末位加一。改動只在版號那一行,描述、技能路徑與其他 欄位一個字都沒碰。 影響部署與版本前置檢查:升上去之後,各 CLI 端才抓得到帶新規則的這一版。 Co-Authored-By: Claude Opus 5 --- .claude-plugin/plugin.json | 2 +- .codex-plugin/plugin.json | 2 +- plugin.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.claude-plugin/plugin.json b/.claude-plugin/plugin.json index 7e05654..0cb4270 100644 --- a/.claude-plugin/plugin.json +++ b/.claude-plugin/plugin.json @@ -1,6 +1,6 @@ { "name": "jsc-review", - "version": "0.1.3", + "version": "0.1.4", "description": "程式碼審查:Refactoring 壞味道六組 + 註解規範 + 淺模組", "skills": "./skills", "author": { diff --git a/.codex-plugin/plugin.json b/.codex-plugin/plugin.json index 637bb96..2f9ce47 100644 --- a/.codex-plugin/plugin.json +++ b/.codex-plugin/plugin.json @@ -1,6 +1,6 @@ { "name": "jsc-review", - "version": "0.1.3", + "version": "0.1.4", "description": "程式碼審查:Refactoring 壞味道六組 + 註解規範 + 淺模組", "skills": "./skills", "jsc": { diff --git a/plugin.json b/plugin.json index 39ed890..968743f 100644 --- a/plugin.json +++ b/plugin.json @@ -1,6 +1,6 @@ { "name": "jsc-review", - "version": "0.1.3", + "version": "0.1.4", "description": "程式碼審查:Refactoring 壞味道六組 + 註解規範 + 淺模組", "skills": "./skills/", "jsc": { -- 2.53.0