Aller au contenu
Skillpedia
Tests55k · #3351

bmad-eval

Ce qu’il fait

Cette compétence fait tester par un agent d'IA la qualité d'une compétence BMad. Elle s'adresse aux auteurs de compétences qui veulent des preuves qu'une compétence est utile et qu'elle se déclenche pour les bonnes demandes.

Quand l’utiliser

  • ✓Quand vous voulez savoir si une compétence fait mieux que le modèle nu sur la même tâche.
  • ✓Quand vous voulez comparer deux versions d'une compétence pour voir quelles sections aident.
  • ✓Quand vous voulez vérifier que la description d'une compétence se déclenche pour les bonnes demandes.

Lien du skill

https://github.com/bmad-code-org/BMAD-METHOD/blob/main/skills/bmad-eval/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/bmad-code-org/BMAD-METHOD/blob/main/skills/bmad-eval/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

“Lance les évaluations de ma compétence de synthèse et montre-moi si elle fait mieux que le modèle nu sur les mêmes entrées.”

5 nouveaux skills par semaine. 1 minute de lecture.

Comment ça marche

L'agent exécute chaque cas de test avec la compétence, puis sans elle, et note les résultats selon une grille. Il peut aussi mesurer la fréquence à laquelle la description de la compétence se déclenche correctement.

Contenu technique (SKILL.md original)

Texte original de l’auteur, en anglais, directement depuis GitHub.

Skill Eval Runner

You run a skill's evals and report what they say. Cite specific findings, flag evals that pass for trivial reasons, and never widen a tolerance to make a run look like it succeeded. No model or harness is named in this skill: the harness a project's evals run through is recorded in this skill's customization at the first run.

The four modes

Mode Question it answers Script / reference
baseline Does the skill beat the bare model on the same input? references/eval-format.md, scripts/run_evals.py
variant Does a section earn its place, or does a stripped version do as well? references/eval-format.md, scripts/run_evals.py
quality Does the output meet the named rubric? references/grader.md, references/eval-format.md
trigger Does the description fire on the right queries and stay quiet on the rest? references/harness.md, scripts/run_triggers.py

Baseline runs every case with the skill staged and with nothing staged. Variant runs the skill against the one at --variant-path. Quality grades one config against its rubric. Trigger measures real firing; references/description-optimization.md improves the description across rounds.

Case format

A case is input + rubric + optional state_prefix + optional fixture files; the state_prefix is a bracketed prime prepended to the input that places the skill mid-workflow in one shot. Cases live in <skill>/evals/cases.json, trigger queries as {query, should_trigger} in <skill>/evals/triggers.json. The full shape and the strong-versus-weak expectation taxonomy are in references/eval-format.md. A skill-creator evals.json converts with uv run {skill-root}/scripts/convert_cases.py <evals.json> --output <cases.json> (--to skill-creator reverses it).

On activation

  1. Read config with uv run {project-root}/_bmad/scripts/resolve_config.py --project-root {project-root} --key core.output_folder and customization with uv run {project-root}/_bmad/scripts/resolve_customization.py --skill {skill-root} --project-root {project-root} --key workflow. Absent keys are fine. {reports_folder} is {workflow.reports_folder} with {output_folder} filled in.
  2. Verify <skill-path>/SKILL.md exists; halt with a clear error if not.
  3. When workflow.harness.command came back empty, work out the harness facts for the CLI you are running in per references/harness.md, prove them on one case, and record them by invoking the bmad-customize skill (install: npx skills add bmad-code-org/BMAD-METHOD --skill bmad-customize); the runner reads them from there. When nobody is at the keyboard, stop and show the table to record instead.
  4. Find the cases file: the one the user named, then <skill-path>/evals/, then <project-root>/evals/<skill-name>/, then anywhere under <project-root>/evals/. If nothing is found, halt and say so; the runner does not invent cases.
  5. Confirm the run summary unless the user asked for a non-interactive run, then execute. The summary names the skill, cases, modes and output dir, shows the harness command, and says that it runs with permission prompts off and is not contained unless the command wraps it in a sandbox. A non-interactive run needs the harness already recorded.

Run execution

The user asks for a run in <mode> mode on <skill> (the directory holding SKILL.md), with a variant skill for variant mode. The project root is the first ancestor of the skill holding _bmad/ or .git/; the output dir is {reports_folder} when BMad is set up, else ~/bmad-evals/. Every run is its own timestamped folder there, so runs never collide. Each case runs in a clean room, a temporary folder outside the project with a copy of the skill staged into its workspace and an environment built from scratch, so host config, prior runs, the project's instruction files and its installed skills cannot bias the result. The runner reads the harness from customization itself; in a project without BMad, pass --harness <json> with the same keys.

Baseline, variant and quality:

uv run {skill-root}/scripts/run_evals.py \
  --cases <cases-file> --skill-path <skill> --output-dir <dir> \
  --mode quality|baseline|variant [--variant-path <skill>] \
  --label <skill-name>-<mode> [--runs N]

--runs defaults to 1 for a quick look; a result counts as settled only at 3 or more. Case subsets, timeouts and workers are in the script docstrings. Exit 0 is a complete run; 1 m

Questions fréquentes

Qu'est-ce qu'une référence de comparaison ?

Une référence de comparaison exécute les mêmes cas de test avec la compétence et sans rien ajouter, pour voir si la compétence aide réellement.

Peut-elle améliorer la description de la compétence ?

Oui. Elle dispose d'une boucle d'optimisation facultative qui travaille sur la description au fil de plusieurs tours.

Qu'est-ce qu'une grille d'évaluation ?

C'est un ensemble de critères nommés selon lesquels chaque résultat est noté.

Détails

Description originale de l’auteur

Runs the evals of a BMad skill through the agent harness the user works in and reports what they show: baseline against the bare model, variant against a stripped or prior version, quality against a rubric, and trigger accuracy of the description with an optional optimization loop. Use when the user asks to evaluate, benchmark, test the triggers of, grade, or compare versions of a skill, or when the bmad-toolsmith skill asks for an eval of a skill it built.

repo: bmad-code-org/BMAD-METHOD

Popularité

Étoiles GitHub
55k
Position au classement
#3351
Licence
—
Mis à jour
02/11/2026

Ce skill vous est-il utile ?

0

Connectez-vous pour voter.

Commentaires

  • …

Autres skills de ce dépôt

Skills similaires