What:新增 wiki-to-issue 技能,把一頁 wiki 轉成同一個存取庫的議題;配套新增 tools/gitea-link.sh 解析連結、tools/issue.sh 讀寫議題。
Why:wiki 頁要變成可追蹤的工作時,原本得自己拼 API:組 JSON、查標籤 id、挑回應欄位,跳脫一錯就把對外的議題內容寫壞。
How:連結是唯一入口,gitea-link.sh 解不出 wiki 頁就中止,不猜存取庫也不猜頁名;標籤只從既有的挑;站台沒有專案看板 API 時據實回報請使用者手動拖,不假裝關聯成功。
Who:使用 jsc 技能組、需要把 wiki 內容交辦出去的人。
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
摘要
變更內容
skills/wiki-to-issue/SKILL.mdskills/html-export/SKILL.mdskills/html-style/SKILL.mdtools/gitea-link.shtools/issue.shtools/html-style.shtools/html-render.shtools/gitea.shtemplates/html/README.md設計重點
.jsc/html-styles優先,其次$JSC_HOME/html-styles.conf;對不到退DEFAULT,再對不到才用內建的report/minimal。get的第三欄會說出這組值是使用者設的還是撿來的。issue.sh projects直接 exit 3 並印出看板網址,技能據實回報請使用者手動拖,不假裝關聯成功。/markdown端點在 1.27 回 200 但內容是空的,所以改走/markdown/raw。代價是 wiki 的[[頁名]]不會變成連結,由技能先換成絕對網址。測試結果
sh -n四支新腳本與改動的gitea.sh:通過。gitea-link.sh parse:wiki 連結、帶留言錨點的議題連結、非法連結(exit 3)三種都符合預期。issue.sh labels/title/labels-of/projects:對plugins/sdlc實測,projects如預期 exit 3 並印出手動指引。html-style.sh:layouts、styles、set、get、list、打錯版型名(exit 4)全數符合預期;退回DEFAULT與內建預設的來源欄位正確。html-render.sh:六種版型乘五種風格共三十種組合全部產出成功,表格與程式碼區塊確認有被渲染。ste100-lint.sh gitea、check-wiki-rules.sh:通過。前置 Push Request