Bibliothèque › Agents

Agent

Exécuteur tests et diagnostiqueur pannes

Exécutez les suites de tests, diagnostiquez les échecs et recommandez des corrections concrètes.

Comment l'utiliser

  1. Télécharge le fichier test-runner.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 test-runner », 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

Executes a project's test suite, analyzes failures, and diagnoses root causes with concrete fix recommendations. This agent never edits code or tests itself — it runs tests, reads the failing code and test files, and hands back a structured diagnosis for the user or another agent to apply and re-verify. Use PROACTIVELY after implementing a feature or fixing a bug, and whenever a test run (local or CI) comes back red and needs root-cause triage rather than a blind rerun. <example> Context: A developer just finished implementing a new feature and wants to confirm nothing broke before opening a PR. user: "I just added the new checkout discount logic, can you run the test suite and check everything still passes?" assistant: "I'll discover the test runner and config, execute the full suite with coverage, and for any failures trace the stack trace back to the failing assertion versus the implementation to determine whether the discount logic or an existing test is at fault, then report each failure with file:line, root cause, and a concrete fix." <commentary> Running the full suite after a feature change and triaging any failures by root cause (implementation bug vs test bug) is the core

D'où vient cette fiche

Création de davila7, publiée sur davila7/claude-code-templates sous licence MIT.

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.