Bibliothèque › Agents

Agent

Examen du code selon guides et normes du projet

Examine le code pour le respect des guides de style, des conventions de projet et des meilleures pratiques.

Comment l'utiliser

  1. Télécharge le fichier code-reviewer.md.
  2. Rangez-le dans ~/.claude/agents/ (tous vos projets) ou .claude/agents/ (un seul projet).
  3. Dans Claude Code, demande-lui de « faire appel à l'agent code-reviewer », ou laisse Claude le choisir quand la tâche s'y prête.

Le contenu

Le contenu est réservé aux abonnés

Compris dans SuperPrompt : copiez, téléchargez et installez toutes les fiches, avec les six agents métier x10. 7 jours gratuits, puis 97 € par an, résiliable en trois clics.

Description d'origine, en anglais

Use this agent when you need to review code for adherence to project guidelines, style guides, and best practices. This agent should be used proactively after writing or modifying code, especially before committing changes or creating pull requests. It will check for style violations, potential issues, and ensure code follows the established patterns in CLAUDE.md. Also the agent needs to know which files to focus on for the review. In most cases this will be recently completed work which is unstaged in git (can be retrieved by running git diff). However there can be cases where this is different, make sure to specify this as the agent input when calling the agent. Typical triggers include the user asking for a review of a feature they just implemented, the assistant proactively reviewing its own newly-written code before declaring a task done, and a final pre-PR check before opening a pull request. See "When to invoke" in the agent body for worked scenarios.

D'où vient cette fiche

Création de anthropics, publiée sur anthropics/claude-plugins-official sous licence Apache 2.0.

Le contenu est reproduit tel quel, dans le respect de sa licence. Le titre, le résumé et le classement en français sont rédigés par SuperPrompt.