spec/SKILL.md
將用戶模糊的複雜需求拆解為有嚴格實作範圍的規格文檔。產出包含 tasks.md、checklist.md、設計方案、架構 diff 與測試策略。形成完整規格包。不用於已有明確實作方案的簡單任務,不用於不需 spec 的單檔案變更。
npx skillsauth add laitszkin/apollo-toolkit specInstall 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.
將用戶需求轉化為有明確完成條件與實作邊界的 spec。
分析用戶需求。 在 repo 中搜索可能相關的內容。 完成搜索後,深入閱讀相關代碼。 識別變更範圍。 如果外部環境存在 subagents 功能,必須通過並行調度 subagents 來完成深入閱讀 repo 的任務。
將用戶需求拆分為有明確邊界的工程需求。結合現有代碼,設計業務架構。在設計的過程中,你需要考慮包括但不限於以下設計事項:
同時對每個需求標記不確定性等級:
若用戶有不清晰的需求且該需求會影響設計方案,記錄並填入 spec。 等待用戶回答。
將完整設計方案拆分為精確到函式或檔案級別的任務。 確保每個任務可直接執行且無歧義。 以此確保開發者不偏離設計方案。
使用 test-case-strategy 為任務制定基於測試的驗收條件。
確保每個任務完成後能被驗證。
同時為需求制定驗收條件。
確保用戶需求能被測試明確驗收。
在撰寫 spec 前,使用 deep-research 技能查找所需外部依賴的官方文檔或源代碼。
確保後續實作符合外部規範。
apltk cli 工具協助完成 spec使用 CLI 工具產生 spec 模板。將完整計劃填入模板。
若變更範圍跨多個模塊,建立 batch spec。
盡可能確保每份 spec 可獨立實作。
無法獨立實作的 spec,額外建立 preparation.md 定義前置工作。
apltk cli 工具協助完成 spec architecture diff通過 CLI 工具生成完整的 architecture diff,採用 C4 模型層級逐步展開。 讓用戶審閱本次 spec 的架構設計。
閱讀項目現有架構圖(resources/project-architecture/atlas/atlas.index.yaml + 受影響的 feature YAML)。
不讀取無關的 feature 或模組,維持 context economy。
若無現有架構圖,跳過基準比對,直接從 System Context 開始定義本次 spec 的邊界。
比對現有架構圖與當前程式碼,確認基準 atlas 的可靠程度:
依照 C4 model 層級逐步產生架構 diff:
每個透過 CLI 宣告的 component 應連結到 spec 中的對應任務:
無法直接對應到 spec 內容的宣告應在 architecture diff 中標記。
使用 apltk architecture --spec <spec_dir> 指令完成所有宣告,然後:
apltk architecture --spec <spec_dir> render
apltk architecture --spec <spec_dir> validate
確認驗證通過後,使用 apltk architecture diff 產生可視化對比,讓用戶審閱。
在交付 spec 前,使用 references/spec-quality-checklist.md 進行自我審查。
確認以下項目:
自我審查通過後才可將 spec 交付給用戶審核。
apltk create-specs — spec 模板產生器 CLI 工具(TypeScript handler 取代原本的 Python create-specs)。assets/templates/spec.md - spec.md 的綁定模板。assets/templates/tasks.md - tasks.md 的綁定模板。assets/templates/checklist.md - checklist.md 的綁定模板。assets/templates/contract.md - contract.md 的綁定模板。assets/templates/design.md - design.md 的綁定模板。assets/templates/coordination.md - batch root 的 coordination 模板。assets/templates/preparation.md - batch root 的前置工作模板。references/TEMPLATE_SPEC.md - apltk cli工具相關格式指引。apltk create-specs --help - spec生成相關cli工具的指引命令apltk architecture --help - 架構圖生成相關cli工具的指引命令references/definition.md - 架構圖之中功能模塊及子模塊的具體定義references/spec-quality-checklist.md - spec 交付前自我審查清單development
Read a user-specified PDF that marks the week's key financial events, deeply research each marked event with current sources, capture any additional breaking financial developments, and produce a concise Chinese-capable PDF briefing that explains what happened and why it matters.
documentation
Generate long-form videos (more than 10 minutes) by following user instructions and invoking related skills only when needed (`openai-text-to-image-storyboard`, `docs-to-voice`, `remotion-best-practices`). For text inputs, extract a complete long-form story arc, generate fresh storyboard images (no reuse of previously generated pictures), and render a 16:9 animated long-form video.
tools
協助完成自動化版本發佈。同步文檔、更新版本號、推送 tag 並建立 GitHub Release。
development
Incrementally refresh the architecture atlas when the project diagram drifts from actual code. Measures drift before updating to determine scope, then updates the base atlas and re-renders HTML.