본문으로 건너뛰기
cccskills
무료GitHub에 공개

bmad-eval

Evaluate BMad skills using your agent's configured runner. Compare results with the model alone or another version, grade outputs against criteria, and test whether descriptions trigger correctly, preserving transcripts and evidence for each run.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

원문원문 설명 보기

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.

설치 방법 보기

이럴 때 유용합니다

  • Compare a skill with the model alone
  • Compare an edited skill with a previous version
  • Grade outputs against defined criteria
  • Test and refine description trigger accuracy

포함된 파일(20)

  • SKILL.md6.6 KB
  • bmod.toml83 B
  • customize.toml1.2 KB
  • evals/triggers.json2.2 KB
  • references/description-optimization.md6.5 KB
  • references/eval-format.md7.4 KB
  • references/grader.md5.9 KB
  • references/harness.md2.2 KB
  • references/self-improvement.md5.0 KB
  • scripts/aggregate_benchmark.py8.9 KB
  • scripts/convert_cases.py4.0 KB
  • scripts/eval_common.py13.4 KB
  • scripts/run_evals.py13.5 KB
  • scripts/run_triggers.py11.4 KB
  • scripts/tests/fake_harness.py2.1 KB
  • scripts/tests/test_aggregate_benchmark.py1.5 KB
  • scripts/tests/test_convert_cases.py3.7 KB
  • scripts/tests/test_eval_common.py2.7 KB
  • scripts/tests/test_run_evals.py10.3 KB
  • scripts/tests/test_run_triggers.py6.2 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

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

ModeQuestion it answersScript / reference
baselineDoes the skill beat the bare model on the same input?references/eval-format.md, scripts/run_evals.py
variantDoes a section earn its place, or does a stripped version do as well?references/eval-format.md, scripts/run_evals.py
qualityDoes the output meet the named rubric?references/grader.md, references/eval-format.md
triggerDoes 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 means a case errored or timed out or the command was not found, 3 that no harness is recorded; a trigger query failing its threshold is a result, not an error.

Trigger:

uv run {skill-root}/scripts/run_triggers.py \
  --skill-path <skill> --queries <queries-file> --output-dir <dir> \
  [--runs-per-query N]

For quality, spawn the grader in references/grader.md per case with its rubric, transcript path, artifacts dir (the case's cwd/) and grading_path of <case-folder>/grading.json. Relay its rubric feedback. If a grader errors, mark the case grading_error, never a default verdict.

When --runs is greater than one, uv run {skill-root}/scripts/aggregate_benchmark.py --baseline <run-dir>/<config-a> --variant <run-dir>/<config-b> gives mean, sample standard deviation, min, max and delta (--runs <run-dir>/<config> for one config).

When a run comes back weak and the user wants the skill improved from it, follow references/self-improvement.md.

Artifacts

Each run is a dated folder under the output dir, with run.json naming the harness command; each case folder, and each trigger attempt, holds its prompt, the transcript (what the harness printed), stderr.txt, cwd/ (the workspace after the run), timing.json (written the moment the invocation ends) and grading.json when quality ran. Never delete, overwrite or rotate a run folder. Tell the user where it is when you finish.

Outcomes

  • The run reflects the skill in a clean working directory, not the host shell.
  • Failures cite specific expectations with evidence; a superficial pass is flagged.
  • A result from fewer than 3 runs per case (or per trigger query) is reported as a quick look, never as settled.
  • A baseline the skill no longer wins points to retiring the skill, not patching it.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

bmad

무료

Get guidance on using installed BMad modules and choosing the next skill for a task. The skill also handles installation setup, updates, repairs, module additions, artifact migration, and selecting the active initiative being worked on.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Choosing where to start or what to do next
  • Setting up or repairing a BMad installation
  • Adding modules or migrating project artifacts
bmad-code-org/BMAD-METHOD5.4만2026년 10월 18일 업데이트

Revisit a recent answer, plan, draft, or decision using selected critique methods. The skill offers relevant approaches, explains what they reveal, and proposes improvements that are applied only after the user accepts them.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Examining assumptions in a plan
  • Reviewing a draft from several perspectives
  • Exploring failure risks before a launch
bmad-code-org/BMAD-METHOD5.4만2026년 10월 18일 업데이트

Work with Mary, a business analyst persona, to research markets, examine competitors, and clarify requirements. Use evidence-based discussion to turn vague needs into concrete specifications that can guide the next steps of a project.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Researching a market before planning a project
  • Examining competitors to inform a business idea
  • Turning vague requests into concrete requirements
bmad-code-org/BMAD-METHOD5.4만2026년 10월 18일 업데이트

Turn product requirements and user experience plans into technical architecture with Winston, a system architect persona. Discuss technology choices and their trade-offs, with an emphasis on established tools, developer productivity, and designs that can be implemented.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Turning product requirements into a technical design
  • Discussing trade-offs between technology choices
  • Reviewing architecture with developer productivity in mind
bmad-code-org/BMAD-METHOD5.4만2026년 10월 18일 업데이트

Implement approved development stories and code changes with Amelia, a senior software engineer persona. Follow a test-first process: write a failing test, make it pass, then improve the code while checking every acceptance criterion.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Implementing an approved development story
  • Making code changes with a test-first process
  • Checking implementation against acceptance criteria
bmad-code-org/BMAD-METHOD5.4만2026년 10월 18일 업데이트

Work with John, a product manager persona, to clarify requirements through user interviews and stakeholder alignment. Turn a product vision into a PRD, a product requirements document, and small, validated increments for development.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Turning a product idea into a PRD
  • Discovering requirements through user interviews
  • Aligning stakeholders on product requirements
bmad-code-org/BMAD-METHOD5.4만2026년 10월 18일 업데이트

bmad-code-org의 스킬 모두 보기

이 스킬의 문제 신고