Aller au contenu
Skillpedia
Programmation générale17k · #10798

review-agent

Ce qu’il fait

Cette skill fait lire par un agent un ensemble de modifications de code, puis signaler les bogues et les risques, sans changer aucun fichier. Elle s'adresse aux développeurs qui veulent un second regard attentif avant une fusion.

Quand l’utiliser

  • ✓Quand vous voulez un second avis sur des modifications non committées avant de les committer.
  • ✓Quand vous avez besoin d'une relecture des différences d'une branche par rapport à sa branche de base.
  • ✓Quand un autre agent ou un collègue demande une vérification en lecture seule d'un commit précis.

Lien du skill

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

Copiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.

Comment l’utiliser

Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.

Message prêt à coller

Utilise ce skill pour m’aider : https://github.com/HKUDS/DeepCode/blob/main/core/skills/builtin/review-agent/SKILL.md Lis le fichier SKILL.md de ce lien et suis ses instructions pour ma tâche.
Envie que votre IA trouve seule des skills comme celui-ci ?Installez le MCP gratuit de Skillpedia : une ligne, et elle cherche parmi 15 000+ skills avant chaque tâche.Installer en 1 minute →

Exemple de demande à votre IA

“Peux-tu examiner mes modifications non committées et me signaler les vrais problèmes, sans modifier les fichiers ?”

5 nouveaux skills par semaine. 1 minute de lecture.

Comment ça marche

L'agent lit le diff et le code qui l'entoure, vérifie les tests et les appelants concernés, et ne signale que les problèmes qu'il peut confirmer. Il ne modifie, ne committe ni ne publie rien.

Contenu technique (SKILL.md original)

Texte original de l’auteur, en anglais, directement depuis 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.

Questions fréquentes

Va-t-il modifier mon code ?

Non. La relecture est en lecture seule : elle ne modifie pas les fichiers, ne crée pas de commits et ne publie pas de commentaires.

Signale-t-il les petits détails de style ?

Il se concentre sur les problèmes importants et actionnables qui touchent à la justesse, à la sécurité, aux performances ou à la maintenabilité.

Que peut-il relire ?

Il peut relire des modifications non committées, une branche comparée à sa base, un commit ou des instructions personnalisées que vous lui donnez.

Détails

Description originale de l’auteur

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

Popularité

Étoiles GitHub
17k
Position au classement
#10798
Licence
MIT
Mis à jour
02/11/2026

Ce skill vous est-il utile ?

0

Connectez-vous pour voter.

Commentaires

  • …

Skills similaires