docs(doc-funcs): 讓 README 連結依 origin 產生 #11

Merged
admin merged 1 commits from develop into master 2026-06-21 13:29:31 +00:00
Member

變更摘要

  • 調整 doc-funcs skill 的 README 功能目錄連結規則,要求先從目標專案的 git remote get-url origin 取得遠端來源。
  • 補上 SSH / HTTPS origin 轉換規則,並依 Gitea 或 GitHub 產生對應的檔案行號連結格式。
  • 明確禁止使用 skill repo、工作區外 repo 或硬編碼外部 repo 座標。

影響範圍

  • 僅影響 skills/doc-funcs/SKILL.md 的執行指引。
  • 不改動 runtime 程式碼、plugin manifest 或其他 skill。

風險與注意事項

  • 若無法可靠解析 origin、分支、路徑或行號,仍會退回純文字功能名稱。
  • 無法判斷平台時會優先採 Gitea 格式,符合目前 repo 的主要使用情境。
## 變更摘要 - 調整 `doc-funcs` skill 的 README 功能目錄連結規則,要求先從目標專案的 `git remote get-url origin` 取得遠端來源。 - 補上 SSH / HTTPS origin 轉換規則,並依 Gitea 或 GitHub 產生對應的檔案行號連結格式。 - 明確禁止使用 skill repo、工作區外 repo 或硬編碼外部 repo 座標。 ## 影響範圍 - 僅影響 `skills/doc-funcs/SKILL.md` 的執行指引。 - 不改動 runtime 程式碼、plugin manifest 或其他 skill。 ## 風險與注意事項 - 若無法可靠解析 origin、分支、路徑或行號,仍會退回純文字功能名稱。 - 無法判斷平台時會優先採 Gitea 格式,符合目前 repo 的主要使用情境。
jiantw83 added 1 commit 2026-06-21 13:29:03 +00:00
admin approved these changes 2026-06-21 13:29:25 +00:00
admin merged commit d1c13d8391 into master 2026-06-21 13:29:31 +00:00
Sign in to join this conversation.
No Reviewers
No labels
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: plugins/doc#11