Como usar
- Copie o comando e verifique o pacote antes de instalar no seu ambiente de agente.
- Consulte no original as ferramentas, credenciais e ambientes necessários.
- Descreva os dados de entrada e a entrega esperada; confira a saída com as fontes.
npx skills add https://github.com/github/spec-kit --skill code-reviewAntes de começar
- A instalação não inclui assinatura de modelo, franquia API ou acesso aos seus arquivos.
- Estrelas e instalações indicam atividade, não um teste independente de qualidade ou segurança.
Documento original do Skill
Renderizado do repositório de origem, preservando títulos, exemplos, código, tabelas, links e imagens.
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.