generate-spec/SKILL.md
當你需要將用戶模糊的複雜需求拆解成有嚴格實作範圍的spec時,使用這個技能
npx skillsauth add laitszkin/apollo-toolkit generate-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 的任務。
將用戶需求轉化、拆分為明確、存在邊界的工程需求。結合現有代碼,設計業務架構。在設計的過程中,你需要考慮包括但不限於以下設計事項:
將上一步之中你構思的完整設計方案拆分為精確到函式或檔案級別的任務。你必須確保每一個任務都是可以直接執行,且沒有歧義的。以此確保執行設計方案的開發者不會偏離設計方案。
使用 test-case-strategy 這個技能,為任務制定基於測試的驗收條件,確保每一個任務在完成之後都能夠被驗證。
同時,為需求制定驗收條件,確保用戶需求能夠被測試清晰地驗收、檢驗成果。
apltk cli 工具協助完成 spec使用 cli 工具,產生 spec 的模板。將你的完整計劃填入到模板之中。 如果該 spec 設計超過三個模塊,則需要創建 batch spec。
apltk cli 工具協助完成 spec architecture diff通過 cli 工具生成完整的 architecture diff 讓用戶審閱本次 spec 的架構設計。
架構圖需要清楚描述:
apltk create-specs — spec 模板產生器 CLI 工具(TypeScript handler 取代原本的 Python create-specs)。references/templates/spec.md - spec.md 的綁定模板。references/templates/tasks.md - tasks.md 的綁定模板。references/templates/checklist.md - checklist.md 的綁定模板。references/templates/contract.md - contract.md 的綁定模板。references/templates/design.md - design.md 的綁定模板。references/templates/coordination.md - batch root 的 coordination 模板。references/templates/preparation.md - batch root 的前置工作模板。references/TEMPLATE_SPEC.md - apltk cli工具相關格式指引。apltk create-specs --help - spec生成相關cli工具的指引命令apltk architecture --help - 架構圖生成相關cli工具的指引命令references/definition.md - 架構圖之中功能模塊及子模塊的具體定義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.
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。