implement/SKILL.md
在當前分支或獨立 worktree 中依 spec 完成實作。按 tasks.md 逐項實作,按 checklist.md 逐項驗收,最後回填 spec 以反映實際代碼狀態。不用於不需 spec 的單檔案變更,不用於無明確 tasks.md 的探索性任務。
npx skillsauth add laitszkin/apollo-toolkit implementInstall 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,確保所有任務完成且用戶需求被滿足。
checklist.md、tasks.md、spec.md閱讀用戶指定的 spec:
spec.md 定義了用戶的需求tasks.md 定義了詳細的實作任務checklist.md 定義了任務的完成和驗收條件contract.md 定義了 spec 的外部依賴design.md 定義了相關業務鏈路的架構設計coordination.md(如有)定義了 batch spec 之中各份 spec 各自的實作邊界preparation.md(如有)定義了實作 batch spec 之前各 spec 的共用準備工作閱讀 repo。理解本次 spec 的實作範圍。
參考 references/isolation-guidance.md 判斷本次實作是否需要使用 git worktree 隔離:
在建立 worktree 前,先檢查當前分支的狀態:
滿足前置條件後,從當前分支創建子分支及 worktree。 分支以規格文檔的實際變更命名,且需符合通用開發規範(如 feat/event-bus-backend)。
嚴格按照 tasks.md 定義的任務逐項實作。
若有多份 tasks.md 存在於多份 spec 中,依照 coordination.md 建議的 merge 順序進行實作。
在確認完成所有任務之後,將 tasks.md 中的所有 checkboxes 勾選為完成。
若實作的 spec 是 batch spec,且有 preparation.md,在開始實作前先完成其規定的任務。
驗收條件滿足後回填 preparation.md。
實作範圍守門員:在實作過程中持續對照 spec 的 In Scope / Out of Scope。若發現超出範圍的修改,暫停並與用戶確認後再繼續。
實作偏離處理:若在實作過程中發現 tasks.md 的任務無法照計劃完成(如 spec 的假設與實際程式碼不符、外部依賴變更),按以下流程處理:
spec.md 中相關需求的 checkboxes 與備註按照 checklist.md 定義的驗收標準,逐項驗收並檢查任務是否完成。
未達到驗收標準的任務必須重新實作與驗收。
此外,必須執行以下技術驗證:
通過後將 checklist.md 中的 checkboxes 勾選為完成。
確保所有實作任務完成並通過驗收之後,更新 spec.md 中的需求 checkboxes。
以反映實際代碼實作狀態。
使用 commit 將變更提交到分支上。不需要將變更推送到 remote。
若與主分支發生合併衝突:
git merge main 將主分支最新變更拉入若使用隔離路徑,提交後清理 worktree。
references/branch-naming.md - 建議分支命名方式references/isolation-guidance.md - 判斷何時需要使用 worktree 隔離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。