Skip to content

重整:補齊缺失 skill + SKILL0/文件缺口修復 - #2

Merged
JoshuaWangTW merged 7 commits into
mainfrom
restructure-gap-fixes
Jul 8, 2026
Merged

JoshuaWangTW merged 7 commits into
mainfrom
restructure-gap-fixes

Conversation

@JoshuaWangTW

Copy link
Copy Markdown
Owner

摘要

補齊路由表宣稱但不存在的 3 個 skill,並修復一輪功能缺口分析找到的問題。全部改動最小 diff,.omc/ 工作暫存與任何個人/機密內容皆已排除。

重整

  • 補齊 3 個缺失 skilloffice-hoursbrand-reviewretro——路由表與 README 宣稱 19 個,實際只有 16 個目錄。移植為通用版並補上 ## Compact Version 區塊。
  • README 專案結構樹:補上 scripts/.github/.markdownlint.jsonc.lycheeignore

缺口修復

  • SKILL0 機制usage.json 不存在時初始化為 {}(原本只讀不建);明確定義何謂「修正」(觸發 Helpfulness Rebound);新增「SKILL0 狀態」診斷指令。
  • validator 強化:新增路由表↔目錄雙向一致性檢查(防 19 vs 16 這類缺口再度靜默通過 CI);子 skill 缺 ## Compact Version 區塊時報錯。
  • 文件誠實化:路由器 token 數 ~150~1,300(實測 2776 字元,原數字差約 10 倍),衍生 context 上限一併重算;補上 Claude Projects 環境限制說明(相對路徑引用無效、SKILL0 不支援持久檔案系統)。
  • workflow.md:補上 git-autodocument 進管線。
  • plan-eng:標註預設技術棧可自訂。

驗證

  • python scripts/validate_skills.py → 20/20 通過
  • markdownlint-cli2 **/*.md → 0 錯誤
  • 機密掃描(工作目錄 + git 全歷史)→ 零匹配

🤖 Generated with Claude Code

JoshuaWangTW and others added 7 commits July 9, 2026 00:17
路由表與 README 宣稱 19 個 skill,實際只有 16 個目錄。
移植時已泛化為通用版本,並補上 Compact Version 區塊。

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
正向:路由表引用的目錄必須存在且含 SKILL.md
反向:含 SKILL.md 的目錄必須出現在路由表
防止 19 vs 16 這類缺口再度靜默通過 CI

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
- 路由器:usage.json 不存在時初始化為 {};明確定義何謂「修正」;新增「SKILL0 狀態」診斷指令
- validator:子 skill 缺少 ## Compact Version 區塊時報錯

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
README 原稱路由器常駐 ~150 tokens,實測 2776 字元約 1,200-1,500 tokens,差約 10 倍。
一併更新衍生的 context 上限估算,並修正 workflow.md 同一處數字。
新增 Claude Projects 環境限制:相對路徑引用無效、SKILL0 不支援持久檔案系統。

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@JoshuaWangTW
JoshuaWangTW merged commit eef7d7a into main Jul 8, 2026
3 checks passed
@JoshuaWangTW
JoshuaWangTW deleted the restructure-gap-fixes branch July 8, 2026 16:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant