update-project-html/SKILL.md
當項目架構圖與實際程式碼脫節時,增量刷新架構圖資源。包括基礎 atlas 與渲染 HTML。更新前先測量 drift 程度決定更新範圍。
npx skillsauth add laitszkin/apollo-toolkit update-project-htmlInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
根據目前分支、工作區或指定提交範圍內的程式碼變更,增量刷新基礎 atlas 與渲染 HTML。 使架構圖持續和實際程式碼保持一致。
閱讀現有架構圖。 整理功能模塊之間、子模塊之間的關係等重要資訊。
只讀取
atlas.index.yaml+ 受影響 feature 的 YAML 檔案。不讀取無關的 feature 或未變更的模組,以維持 context economy。
在決定更新範圍前,先比對架構圖與當前程式碼的偏離程度:
atlas.index.yaml 與當前目錄結構:是否有新增 / 移除的目錄或模組?根據 drift 程度決定更新策略:
init-project-html)分析 diff 範圍,過濾不影響架構的變更類型:
將過濾後的 diff hunk 對應到受影響的 feature。
閱讀當前 repo 中受影響的部份。 驗證架構圖是否存在錯誤或遺漏。 如果外部環境允許使用 subagents,建議並行調度 subagents 完成代碼與架構圖的對照任務。
apltk cli 工具更新當前架構圖使用 apltk cli 工具,按照以下流程完成架構圖的更新:
當從 diff 推斷 component 時,使用 --evidence inferred 標記品質等級。例如:
apltk architecture function add --feature <slug> --submodule <slug> --name <fn> --evidence "inferred:<source-path>"
更新完成後再次測量 drift,確認已降低至可接受範圍。
apltk architecture --help - cli 工具的指引development
Guides the agent through creating a new Agent Skill from scratch. Use when the user wants to build a skill, create a new skill, scaffold a skill directory, or author a SKILL.md. Do NOT use for optimising or rewriting existing skills — use 'optimise-skill' for that. Do NOT use for editing files that are already part of a skill. Do NOT use for creating non-skill content like documentation, scripts, or project files.
development
Guides the agent through creating a new Agent Skill from scratch. Use when the user wants to build a skill, create a new skill, scaffold a skill directory, or author a SKILL.md. Do NOT use for optimising or rewriting existing skills — use 'optimise-skill' for that. Do NOT use for editing files that are already part of a skill. Do NOT use for creating non-skill content like documentation, scripts, or project files.
development
Review a pull request — interactive PR selection via `gh`, 4-dimension code review (hallucinated code, architecture, performance, test validity), then post severity-graded comments with fix suggestions on the PR. Not for spec-based review — use `review` instead.
tools
協助完成自動化版本發佈。同步文檔、更新版本號、推送 tag 並建立 GitHub Release。