本文へ移動
cccskills
無料GitHub で公開

bmad-testarch-evaluate

Run scored behavioral evaluations and repair gaps. Use when the user says "evaluate this agent" or "I want proof this behaves correctly"

インストール方法を見る

含まれるファイル(41)

  • SKILL.md9.4 KB
  • assets/contract.skeleton.json803 B
  • assets/evaluation-ci-plan.template.json7.7 KB
  • assets/evaluation-folder.gitignore47 B
  • assets/evaluation.json979 B
  • assets/evaluator-conditions.template.json118 B
  • assets/evaluators/agentevals-frameworks.json244 B
  • assets/evaluators/agentevals-trajectory.mjs5.8 KB
  • assets/evaluators/command-evaluator.mjs2.3 KB
  • assets/evaluators/frameworks.json45 B
  • assets/evaluators/installed-version.mjs8.0 KB
  • assets/evaluators/LEARNED.md1.6 KB
  • assets/evaluators/mapping.json127 B
  • assets/evaluators/promptfoo-assertions.mjs12.8 KB
  • assets/evaluators/promptfoo-frameworks.json242 B
  • assets/http-probe-port.conformance.mjs12.7 KB
  • assets/http-probe-port.mjs22.3 KB
  • assets/inspection-record.md4.3 KB
  • assets/README.md6.3 KB
  • assets/requirements-statement.md1.4 KB
  • assets/scoring-policy.template.json282 B
  • bmod.toml106 B
  • customize.toml1.5 KB
  • references/adapters.md21.3 KB
  • references/ci.md25.2 KB
  • references/contract.md30.5 KB
  • references/corpus-agent.md7.7 KB
  • references/corpus-ai-feature.md7.6 KB
  • references/corpus-skill.md7.8 KB
  • references/corpus-test-review-mechanism.md7.7 KB
  • references/corpus-tool-use-system.md7.6 KB
  • references/corpus-workflow.md12.7 KB
  • references/corpus.md19.2 KB
  • references/evaluator.md36.9 KB
  • references/gaps.md30.2 KB
  • references/harness.md11.0 KB
  • references/inspection.md7.2 KB
  • references/intake.md4.2 KB
  • references/mutation.md6.5 KB
  • references/oracles.md11.3 KB
  • references/run.md13.8 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Evaluate

Overview

Goal: Take an adopter from a described target through a scored development and held-out evaluation with named gaps and repairs, and finish it with the CI plan that enforces it.

Role: You are the Master Test Architect.

You will continue to operate with your given name, identity, and communication_style, merged with the details of this role description.

Conventions

  • Bare paths (e.g. references/inspection.md) resolve from the skill root.
  • {skill-root} resolves to this skill's installed directory (where customize.toml lives).
  • {project-root} is the nearest ancestor of the working directory that contains an _bmad directory.
  • {skill-name} resolves to the skill directory's basename.
  • Resolve sibling files such as references/... and assets/... from {skill-root}.

On Activation

Step 1: Resolve the Workflow Block

Run: uv run {project-root}/_bmad/scripts/resolve_customization.py --skill {skill-root} --project-root {project-root} --key workflow

If the script fails, resolve the workflow block yourself by reading these three files in base → team → user order and applying the same structural merge rules as the resolver:

  1. {skill-root}/customize.toml — defaults
  2. {project-root}/_bmad/custom/{skill-name}.toml — team overrides
  3. {project-root}/_bmad/custom/{skill-name}.user.toml — personal overrides

Any missing file is skipped. Scalars override, tables deep-merge, arrays of tables keyed by code or id replace matching entries and append new entries, and all other arrays append.

Step 2: Execute Prepend Steps

Execute each entry in {workflow.activation_steps_prepend} in order before proceeding.

Step 3: Load Persistent Facts

Treat every entry in {workflow.persistent_facts} as foundational context you carry for the rest of the workflow run. Entries prefixed file: are paths or globs resolved from {project-root} — expand them and load every matching file in lexical path order as facts. All other entries are facts verbatim.

Step 4: Load Config

Run uv run {project-root}/_bmad/scripts/resolve_config.py --project-root {project-root} --key core --key modules.tea. If the script fails, merge {project-root}/_bmad/config.toml, {project-root}/_bmad/custom/config.toml and {project-root}/_bmad/custom/config.user.toml yourself, in that order, with the merge rules above. If _bmad/config.toml is missing or has no modules.tea table, tell the user TEA is not set up, ask them to run bmad setup tea first, and stop.

Each core and modules.tea key is available as {<key>}, and as config.<key> in later steps. Replace {project-root} inside a value with the project root. Setup answers are strings: read "true" and "false" as booleans.

{tea_evaluations_folder} is {workflow.evaluations_folder}, relative to {project-root}.

Step 5: Greet the User

Greet {user_name}, speaking in {communication_language}.

Step 6: Execute Append Steps

Execute each entry in {workflow.activation_steps_append} in order.

Activation is complete. Begin the workflow below.

Workflow

Evaluate is one continuous loop over twelve stages, run inline rather than as separate step files: each stage's craft lives in its own references/ guide, loaded when that stage is reached. Work under {tea_evaluations_folder} unless the adopter names another location. On resume, read the existing inspection record, evaluation.json, any requirements.md, any <evaluation-folder>/ci/evaluation-ci-plan.json, and any {test_artifacts}/evaluate/<evaluationId>/gap-report.md before choosing a stage. Before Stage 3, require the adopter's confirmation in the statement and compare requirements.digest with eval-quality's digestBytes over the committed file; otherwise return to intake. Continue from the first incomplete stage, or the adopter's requested stage when its prerequisites hold. assets/README.md says how to fill each template under assets/.

Never improvise the stage's craft yourself, and never compute a verdict, score, or pass/fail decision outside eval-quality's own CLI (AD-6): a verdict this skill computed itself would not be one eval-quality sealed.

Stage 1: Inspection

Inspect the target and identify its kind. Load references/inspection.md.

Stage 2: Intake

Capture behavioral requirements and constraints the adopter confirms. Load references/intake.md.

Stage 3: Corpus

Design the probe corpus. Load references/corpus.md.

Stage 4: Contract

Author the Behavioral Evaluation Contract. Load references/contract.md. Stamp its sourceSpecDigest with eval-quality's digestBytes over the confirmed requirements.md bytes, matching evaluation.json requirements.digest.

Stage 5: Oracles

Design oracles and rubrics. Load references/oracles.md.

Stage 6: Adapters

Scaffold the execution-target registry and adapters. Load references/adapters.md.

When the contract, oracles and registry are filled, copy assets/evaluator-conditions.template.json to policy/evaluator-conditions.json and fill the target's modelSnapshot and systemPromptDigest. A tea-skill-runner registry needs a real model snapshot. For a deterministic evaluator with a rubric, declare evaluation.json.judge and fill judge.modelSnapshot; remove the unused template judge block for other cases. Ensure policy/scoring-policy.json has been copied from the installed template and filled if any probe takes the controlled-mutation, historical, or gameability route. Ask the adopter for its policyId and thresholds, then set evaluation.json.trials at or above minimumTrialCount.

Before the first tea-evaluate check, load references/mutation.md and author every mutations/<mutationId>.mutation.json named by a Stage 3 controlled-mutation probe. Use an adopter-owned target, a single exact replacement, and the probe's observable defect signature. Refresh corpus-index.json after writing those files. For an adopter installation, run npm exec --prefix {tea_evaluations_folder} -- tea-evaluate digest --evaluation <evaluation-folder>; for TeA's own package, run node cli/evaluate.js digest --evaluation <evaluation-folder> from the repository root. Stage 6 preflight qualifies the nominated probes; Stage 8 inspects their manifestation and rollback evidence and expands the mutation set.

For an adopter installation, run npm exec --prefix {tea_evaluations_folder} -- tea-evaluate check --evaluation <evaluation-folder>, then npm exec --prefix {tea_evaluations_folder} -- eval-quality compile --in <evaluation-folder>/contract.json --out <evaluation-folder>/compiled-contract.json, then npm exec --prefix {tea_evaluations_folder} -- eval-quality seal --in <evaluation-folder>/contract.json --out <evaluation-folder>/sealed-brief.json. For TeA's own package, run node cli/evaluate.js check --evaluation <evaluation-folder>, then ./node_modules/.bin/eval-quality compile --in <evaluation-folder>/contract.json --out <evaluation-folder>/compiled-contract.json, then ./node_modules/.bin/eval-quality seal --in <evaluation-folder>/contract.json --out <evaluation-folder>/sealed-brief.json from the repository root. The local CLI and binary use that root's one eval-quality installation. Stop at the first nonzero exit. Report its command, exit code and stderr before changing the artifact and rerunning that stage.

After seal succeeds, copy assets/evaluation-folder.gitignore to <evaluation-folder>/.gitignore before the first preflight creates runs/. For an adopter installation, run npm exec --prefix {tea_evaluations_folder} -- tea-evaluate preflight --evaluation <evaluation-folder> --partition development; for TeA's own package, run node cli/evaluate.js preflight --evaluation <evaluation-folder> --partition development from the repository root. This verifies the selected registry can launch and satisfy its clean control. The flag is required only when evaluation.json declares a partitionPlan, and a preflight with no --partition over one exits 64. Held-out preflight (--partition held-out) runs only after the development review. Stop and report the command, exit code and stderr on failure; complete adapter wiring only after preflight succeeds.

Stage 7: Evaluator

Choose or build the evaluation layer. Load references/evaluator.md.

Stage 8: Mutation

Apply and roll back controlled mutations. Load references/mutation.md.

Stage 9: Harness

Scaffold the runner and scoring policy. Load references/harness.md.

Stage 10: Run

Run the clean and mutated arms and score them. Load references/run.md.

Stage 11: Gaps

Interpret a weak result and close the gap. Load references/gaps.md.

Stage 12: CI

Inspect the adopter's repository, place each check in a tier, write <evaluation-folder>/ci/evaluation-ci-plan.json and hand it to bmad-testarch-framework with CI setup scope. The bmad-testarch-ci compatibility entry remains valid. Load references/ci.md.

On Complete

Run: uv run {project-root}/_bmad/scripts/resolve_customization.py --skill {skill-root} --project-root {project-root} --key workflow.on_complete

If the resolver succeeds and returns a non-empty workflow.on_complete, execute that value as the final terminal instruction before exiting.

If the resolver fails, returns no output, or resolves an empty value, skip the hook and exit normally.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

bmad-tea

無料

Master Test Architect and Quality Advisor. Use when the user asks to talk to Murat or requests the Test Architect.

日本語の概要は準備中です。原文の説明を表示しています。

bmad-code-org/bmad-method-test-architecture-enterprise1072026年10月11日 更新

Teach testing progressively through structured sessions. Use when user says "lets learn testing" or "I want to study test practices"

日本語の概要は準備中です。原文の説明を表示しています。

bmad-code-org/bmad-method-test-architecture-enterprise1072026年10月11日 更新

Generate red-phase acceptance test scaffolds using the TDD cycle. Use when the user says "lets write acceptance tests" or "I want to do ATDD"

日本語の概要は準備中です。原文の説明を表示しています。

bmad-code-org/bmad-method-test-architecture-enterprise1072026年10月11日 更新

Generate tests in red or expand mode and run-and-heal new tests. Use when the user says "lets expand test coverage", "I want to automate tests", "lets write acceptance tests", or "I want to do ATDD"

日本語の概要は準備中です。原文の説明を表示しています。

bmad-code-org/bmad-method-test-architecture-enterprise1072026年10月11日 更新

Scaffold CI/CD quality pipeline with test execution. Use when the user says "lets setup CI pipeline" or "I want to create quality gates"

日本語の概要は準備中です。原文の説明を表示しています。

bmad-code-org/bmad-method-test-architecture-enterprise1072026年10月11日 更新

Initialize test framework and CI/CD setup for browser, backend or mobile stacks. Use when the user says "lets setup test framework" or "I want to initialize testing framework"

日本語の概要は準備中です。原文の説明を表示しています。

bmad-code-org/bmad-method-test-architecture-enterprise1072026年10月11日 更新

bmad-code-org のスキルをすべて見る

このスキルの問題を報告する