eval-driven-dev
Ce qu’il fait
Cet outil aide à tester et à améliorer les applications d'IA. Il simule la façon dont un vrai utilisateur utiliserait l'application, vérifie si les réponses sont correctes et suggère des améliorations.
Quand l’utiliser
- ✓Lorsque vous voulez vous assurer qu'une application d'IA fonctionne correctement.
- ✓Lorsque vous cherchez et corrigez des erreurs dans une application d'IA.
- ✓Pour améliorer la qualité et les performances d'une application d'IA.
Lien du skill
https://github.com/github/awesome-copilot/blob/main/skills/eval-driven-dev/SKILL.mdCopiez-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
Pour Claude Code, Codex ou Cursor : lancez-la dans le dossier du projet et le skill est installé.
Téléchargez le SKILL.md et placez-le dans le dossier de skills de votre agent.
Exemple de demande à votre IA
“Mettez en place les tests de mon application d'IA, s'il vous plaît.”
5 nouveaux skills par semaine. 1 minute de lecture.
Comment ça marche
L'outil lance l'application avec des données de test, compare les résultats aux attentes à l'aide d'évaluateurs, et indique si les tests ont réussi ou échoué.
Contenu technique (SKILL.md original)
Texte original de l’auteur, en anglais, directement depuis GitHub.
Eval-Driven Development for Python LLM Applications
You're building an automated evaluation pipeline that tests a Python-based AI application end-to-end — running it the same way a real user would, with real inputs — then scoring the outputs using evaluators and producing pass/fail results via pixie test.
What you're testing is the app itself — its request handling, context assembly (how it gathers data, builds prompts, manages conversation state), routing, and response formatting. The app uses an LLM, which makes outputs non-deterministic — that's why you use evaluators (LLM-as-judge, similarity scores) instead of assertEqual — but the thing under test is the app's code, not the LLM.
During evaluation, the app's own code runs for real — routing, prompt assembly, LLM calls, response formatting — nothing is mocked or stubbed. But the data the app reads from external sources (databases, caches, third-party APIs, voice streams) is replaced with test-specified values via instrumentations. This means each test case controls exactly what data the app sees, while still exercising the full application code path.
Rule: The app's LLM calls must go to a real LLM. Do not replace, mock, stub, or intercept the LLM with a fake implementation. The LLM is the core value-generating component — replacing it makes the eval tautological (you control both inputs and outputs, so scores are meaningless). If the project's test suite contains LLM mocking patterns, those are for the project's own unit tests — do NOT adopt them for the eval Runnable.
The deliverable is a working pixie test run with real scores — not a plan, not just instrumentation, not just a dataset.
This skill is about doing the work, not describing it. Read code, edit files, run commands, produce a working pipeline.
Before you start
First, activate the virtual environment. Identify the correct virtual environment for the project and activate it. After the virtual environment is active, run the setup.sh included in the skill's resources.
The script updates the eval-driven-dev skill and pixie-qa python package to latest version, initialize the pixie working directory if it's not already initialized, and start a web server in the background to show user updates.
Setup error handling — what you can skip vs. what must succeed:
- Skill update fails → OK to continue. The existing skill version is sufficient.
- pixie-qa upgrade fails but was already installed → OK to continue with the existing version.
- pixie-qa is NOT installed and installation fails → STOP. Ask the user for help. The workflow cannot proceed without the
pixiepackage. pixie initfails → STOP. Ask the user for help.pixie start(web server) fails → STOP. Ask the user for help. Checkserver.login the pixie root directory for diagnostics. Common causes: port conflict, missing dependency, slow environment. Do NOT proceed without the web server — the user needs it to see eval results.
The workflow
Follow Steps 1–6 straight through without stopping. Do not ask the user for confirmation at intermediate steps — verify each step yourself and continue.
How to work — read this before doing anything else:
- One step at a time. Read only the current step's instructions. Do NOT read Steps 2–6 while working on Step 1.
- Read references only when a step tells you to. Each step names a specific reference file. Read it when you reach that step — not before.
- Create artifacts immediately. After reading code for a sub-step, write the output file for that sub-step before moving on. Don't accumulate understanding across multiple sub-steps before writing anything.
- Verify, then move on. Each step has a checkpoint. Verify it, then proceed to the next step. Don't plan future steps while verifying the current one.
When to stop and ask for help:
Some blockers cannot and should not be worked around. When you encounter any of the following, stop immediately and ask the user for help — do not attempt workarounds:
- Application won't run due to missing environment variables or configuration: The app requires environment variables or configuration that are not set and cannot be inferred. Do NOT work around this by mocking, faking, or replacing application components — the eval must exercise real production code. Ask the user to fix the environment setup.
…
Questions fréquentes
Qu'est-ce qu'un « évaluateur » ?
C'est un outil qui juge la qualité des réponses de l'IA, par exemple en vérifiant si la réponse est pertinente ou si elle est dans le bon format.
Pourquoi ne puis-je pas remplacer l'IA par un faux test ?
Parce que l'objectif est de tester l'application complète, y compris la véritable IA. La remplacer rendrait les tests inutiles, car vous contrôleriez à la fois l'entrée et la sortie.
Qu'est-ce que « pixie test » ?
C'est l'outil qui exécute les tests, rassemble les résultats et affiche un rapport final de réussite ou d'échec.
Détails
Description originale de l’auteur
Improve AI application with evaluation-driven development. Define eval criteria, instrument the application, build golden datasets, observe and evaluate application runs, analyze results, and produce a concrete action plan for improvements. ALWAYS USE THIS SKILL when the user asks to set up QA, add tests, add evals, evaluate, benchmark, fix wrong behaviors, improve quality, or do quality assurance
repo: github/awesome-copilot
Popularité
- Étoiles GitHub
- 40k
- Position au classement
- #7191
- Licence
- MIT
- Mis à jour
- 15/10/2026
Commentaires
- …
Autres skills de ce dépôt
acquire-codebase-knowledge
40kAide votre agent à comprendre et documenter un projet de code existant. Utile pour accueillir de nouveaux membres ou obtenir une vue d'ensemble de l'architecture.
acreadiness-assess
40kPermet à votre agent d'évaluer la préparation d'un projet à l'IA et de générer un rapport. Utile pour savoir dans quelle mesure un projet est prêt à utiliser des outils d'IA.
acreadiness-generate-instructions
40kAide votre agent à rédiger des instructions pour les outils d'IA à partir d'une évaluation, afin d'améliorer leur travail sur le code et combler les lacunes.
acreadiness-policy
40kPermet à votre agent d'aider à définir ou appliquer des politiques d'évaluation des projets d'IA. Utile pour standardiser les évaluations et garantir la conformité.
Skills similaires
add-model-provider
394kPermet à votre agent de connecter un nouveau fournisseur de modèles IA à OpenClaw par des commandes sûres, sans clé en clair, puis de lancer un test.
acp-router
394kAide votre agent à envoyer une tâche à un assistant de code comme Claude Code ou Cursor via OpenClaw, afin que le travail s'exécute dans cet outil.
browser-automation
394kApprend à votre agent à piloter des pages web étape par étape, y compris les connexions, les onglets et la reprise lorsqu'une page ne répond plus.