qa/SKILL.md
審查規格文檔相關的程式碼變更。從六個維度產出 code review report:幻覺代碼、冗餘、偏移、遺漏、架構、性能。不用於非 spec 相關的變更審查,不用於直接修改代碼,不用於沒有 spec 的情境。
npx skillsauth add laitszkin/apollo-toolkit qaInstall 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 相關變更審查報告。 先回答「這次變更是否滿足規劃中的業務要求」。 再補充邊界、安全與代碼審查發現。 每條關鍵需求需給出可追溯的狀態判定、證據來源、缺口說明與剩餘不確定性。 本技能不負責修改代碼或更新規劃文件。
閱讀用戶指定的 spec。 按照其中定義的實作範圍,檢索並閱讀相關代碼。 如果外部環境允許使用 subagents,建議通過並行調度 subagents 完成代碼的深度閱讀。
對所有實作代碼進行多維度審查,包含以下維度:
若有舊有的 code review report,不閱讀它。 將本次審查當作全新審查處理,避免被舊有結果誤導。 若有代碼違反上述 6 個原則,將其紀錄在案。
如果外部環境允許使用 subagents,必須並行建立以下6個 subagents:
當 subagents 完成審查後,檢查各 agent 回報的 findings 之間是否有重疊。 若同一段代碼被多個 agent 標記,合併為單一 finding 並保留各維度的視角。
收集所有 subagents 的 findings 後,按以下程序合成:
使用 apltk CLI 工具生成模板。
按模板指示填入審查結果。
報告需包含以下區段:
注意,你提出的建議修正方案不可與 spec 本身的需求衝突。
代碼審查只有在完全滿足以下條件時,才可以被視為通過:
assets/templates/code-review-report.md - code review report 模板references/halluciation-review-instruction.md - 幻覺代碼審查建議流程apltk create-review-report --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。