使用方法
- 复制安装命令,在自己的智能体环境安装前先检查源码包。
- 从原始文档核对所需工具、凭据和支持的宿主。
- 说明输入材料与期望交付物,并对照来源检查输出。
npx skills add https://github.com/github/spec-kit --skill code-review开始前需了解
- 安装不包含模型订阅、API 额度或访问文件的权限。
- 仓库星数和安装量反映活跃情况,不等于独立质量或安全测试。
仓库原始内容
按源仓库内容呈现,保留标题、案例、代码、表格、链接以及原文引用的演示图片。
Code Review
- Ensure each code change has test cases that verify what the code should do and what it should prevent.
- Ensure bug-fix pull requests include a regression test that demonstrates the bug was reproducible before the change and is fixed afterward; if the reviewer cannot run the comparison, use available evidence and state that limitation.
- Ensure wording changes use repository-consistent terms; exclude community-authored catalog content and its generated documentation from this check.
- Identify the affected domains and read the applicable documents in
design/before evaluating architectural consistency. For CLI command changes, usedesign/cli.md; for agent integrations, usedesign/integration.md; for workflow step types, usedesign/workflow-step.md. Read other design documents when relevant, not every document for every PR. - Check the changes against the applicable design requirements, including implementation boundaries, ownership, lifecycle, and delivery requirements. Reference the documents rather than duplicating their rules in this skill. Cite the document and section for each reported mismatch.
- Distinguish an unexplained design violation from an intentional design change. Evaluate the rationale and evidence for an intentional change; updating the design document alone does not establish that the implementation is justified.