Pular para o conteúdo
Skillpedia
Código em geral17 mil · #10798

review-agent

O que ela faz

Esta skill faz um agente ler um conjunto de mudanças de código e relatar bugs e riscos, sem alterar nenhum arquivo. É para desenvolvedores que querem uma segunda análise cuidadosa antes do merge.

Quando usar

  • ✓Quando você quer uma segunda opinião sobre mudanças não commitadas antes de fazer o commit.
  • ✓Quando você precisa de uma revisão das diferenças de um branch em relação ao branch base.
  • ✓Quando outro agente ou um colega pede uma verificação somente de leitura de um commit específico.

Link da skill

https://github.com/HKUDS/DeepCode/blob/main/core/skills/builtin/review-agent/SKILL.md

Copie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.

Como usar

O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.

Mensagem pronta para colar

Use esta skill para me ajudar: https://github.com/HKUDS/DeepCode/blob/main/core/skills/builtin/review-agent/SKILL.md Leia o arquivo SKILL.md desse link e siga as instruções dele na minha tarefa.
Quer que a sua IA encontre skills como esta sozinha?Instale o MCP grátis do Skillpedia: uma linha, e ela pesquisa entre 15.000+ skills antes de cada tarefa.Instalar em 1 minuto →

Exemplo do que pedir para a IA

“Por favor, revise minhas mudanças não commitadas e me diga os problemas reais, sem alterar os arquivos.”

5 skills novas por semana. 1 minuto de leitura.

Como funciona

O agente lê o diff e o código ao redor, verifica os testes e os chamadores relacionados e informa somente os problemas que consegue confirmar. Ele não edita, não faz commit e não publica nada.

Conteúdo técnico (SKILL.md original)

Texto original do autor, em inglês, direto do GitHub.

Review Agent

Inspect the requested target directly and return every finding that the author would likely fix. Do not modify files, create commits, push branches, post review comments, or delegate the review to another agent.

Review the change

  1. Read the applicable AGENTS.md instructions.
  2. Inspect the complete diff for the requested target and enough surrounding code to understand each changed path.
  3. Identify concrete regressions introduced by the change. Continue through the whole diff after finding the first issue.
  4. Check the relevant tests and call sites to confirm that each finding is real and actionable.

For a base-branch review, compare the changes that would actually merge rather than diffing directly against the branch tip. Resolve the comparison ref to the branch's upstream when that upstream exists and is ahead of the local branch; otherwise use the local branch. Run git merge-base HEAD <comparison-ref>, then inspect git diff <merge-base-sha>. If the local branch cannot be resolved, try its configured upstream explicitly before reporting that the target is unavailable.

Flag an issue only when all of these are true:

  • It affects correctness, security, performance, or maintainability in a meaningful way.
  • It is discrete and actionable.
  • It was introduced by the reviewed change.
  • The affected scenario or call path can be demonstrated from the code.
  • The author would probably fix it if they knew about it.

Do not flag speculative concerns, pre-existing problems, intentional behavior changes, or style nits that do not obscure the code.

Write the result

Present findings first, ordered by severity. Use one entry per issue in this form:

[P1] Imperative finding title — path/to/file.rs:line

Follow the title with one short paragraph explaining the affected scenario and why the behavior is wrong. Keep the cited range as small as possible and make sure it overlaps the reviewed diff.

Use these priorities:

  • P0: universal release blocker or critical failure.
  • P1: urgent defect that should be fixed next.
  • P2: ordinary defect that should be fixed.
  • P3: low-impact issue that is still worth fixing.

If there are no qualifying findings, say No findings. Do not invent a finding to fill the result. After the findings, add a brief overall assessment and mention any material test gaps or residual risks.

Perguntas frequentes

Ele vai mudar meu código?

Não. A revisão é somente de leitura, então não modifica arquivos, não cria commits e não publica comentários.

Ele relata pontos pequenos de estilo?

Ele foca em problemas significativos e acionáveis que afetam correção, segurança, desempenho ou manutenibilidade.

O que ele pode revisar?

Pode revisar mudanças não commitadas, um branch comparado com sua base, um commit ou instruções personalizadas que você der.

Detalhes

Descrição original do autor

Perform a read-only, defect-first review of a specified code change and return every actionable finding. Use when another agent delegates review of uncommitted changes, a base-branch diff, a commit, or custom review instructions.

repo: HKUDS/DeepCode

Popularidade

Estrelas no GitHub
17 mil
Posição no ranking
#10798
Licença
MIT
Atualizada em
02/11/2026

Essa skill é útil?

0

Entre para votar.

Comentários

  • …

Skills parecidas