run-evals

GitHub

用于运行技能评估、基准测试及性能对比。通过读取配置、调度子代理执行任务并验证输出,最后根据标准进行评分,以检验技能表现。

tool/dart_skills_lint/.agents/skills/run-evals/SKILL.md flutter/agent-plugins

Trigger Scenarios

用户要求运行评估(evals) 测试技能性能 运行基准测试 对比基线与启用技能后的执行效果

Install

npx skills add flutter/agent-plugins --skill run-evals -g -y
More Options

Non-standard path

npx skills add https://github.com/flutter/agent-plugins/tree/main/tool/dart_skills_lint/.agents/skills/run-evals -g -y

Use without installing

npx skills use flutter/agent-plugins@run-evals

指定 Agent (Claude Code)

npx skills add flutter/agent-plugins --skill run-evals -a claude-code -g -y

安装 repo 全部 skill

npx skills add flutter/agent-plugins --all -g -y

预览 repo 内 skill

npx skills add flutter/agent-plugins --list

SKILL.md

Frontmatter
{
    "name": "run-evals",
    "metadata": {
        "internal": true
    },
    "description": "Run evaluations for one, multiple, or all skills using the agent orchestration framework. Make sure to use this skill whenever the user asks to run evals, test a skill's performance, run benchmarks, or compare baseline versus with-skill execution."
}

Run Skill Evals

  1. Read Framework: Read <target-package-root>/evals/README.md for understanding the difference between per-skill evals and cross-skill evals (where <target-package-root> is the directory containing the .agents or skills folder).
  2. Locate Targets: Find target evals/evals.json files inside .agents/skills/ and/or skills/. For cross-skill evaluations, look for *_evals.json files directly in <target-package-root>/evals/.
  3. Determine Agent Configuration: Check the agent_config field in the target target JSON file to determine the environment/harness to spawn. If agent_config is "bare-agent", spawn a subagent with the bare-agent profile. If it is a specific contributor profile (e.g. "reidbaker-agent"), use that profile to provide the necessary contributor context.
  4. Orchestrate: By default, run an Integration Test by spawning a single With-Skill subagent using Workspace: branch and the identified agent_config.
    • Provide the task prompt. See resources/with_skill_execution_prompt.md for the template. When filling in <path-to-skill>, you MUST use a relative path from the repository root, not an absolute path. If you are running a cross-skill evaluation, fill in <path-to-skill> with "none (cross-skill meta-eval)". Also, replace <target-package-root> with the actual directory path in both templates.
    • Only if the user explicitly requests a comparison or benchmark, also spawn a Baseline subagent. See resources/baseline_execution_prompt.md for the template. Instruct the subagent(s) to return their git diff and verification outputs (dart pub get, dart format, dart analyze, dart test) without committing. Ensure you instruct them to run these commands exclusively from within the <target-package-root> directory to avoid analyzing unrelated packages. CRITICAL: You must explicitly warn the subagent(s) to confine all file edits strictly to their current working directory and avoid using absolute paths to modify the parent workspace. WORKSPACE LIMITATION WARNING: If the user has multiple active workspaces mounted, the Workspace: branch feature will fail. In this situation, you MUST warn the user that running concurrent evaluations in Workspace: inherit mode will cause git state bleed and cross-eval pollution (e.g., changes made by a failure scenario will be visible to a success scenario running simultaneously in the same shared directory). Instruct the user to fix this by closing all workspaces except the primary package workspace, and then re-run the evaluations. Do NOT silently fallback to Workspace: inherit for concurrent tasks.
  5. Grade: Parse the combined rubric (resolving repo_criteria + evals.json expectations). Use the grading instructions in resources/agent_judge_prompt.md. When an expectation fails, you MUST explicitly list both the expectation and what was actually found that caused the failure.
  6. Artifact: Grade the outputs and generate a Markdown artifact (e.g., <skill>_eval_results.md) containing the metadata, pass/fail rationale, and raw diffs/stdout.

Version History

  • c3c71cf Current 2026-08-20 07:12

Same Skill Collection

.agents/agents/reidbaker-agent/skills/api-review/SKILL.md
.agents/agents/reidbaker-agent/skills/code-documentation/SKILL.md
.agents/agents/reidbaker-agent/skills/code-review/SKILL.md
.agents/agents/reidbaker-agent/skills/grill-with-docs/SKILL.md
.agents/agents/reidbaker-agent/skills/natural-writing/SKILL.md
.agents/agents/reidbaker-agent/skills/unix-cli-best-practices/SKILL.md
skills/dart-add-unit-test/SKILL.md
skills/dart-build-cli-app/SKILL.md
skills/dart-collect-coverage/SKILL.md
skills/dart-fix-runtime-errors/SKILL.md
skills/dart-generate-test-mocks/SKILL.md
skills/dart-migrate-to-checks-package/SKILL.md
skills/dart-resolve-package-conflicts/SKILL.md
skills/dart-run-static-analysis/SKILL.md
skills/dart-use-ffigen/SKILL.md
skills/dart-use-pattern-matching/SKILL.md
skills/dart-use-primary-constructors/SKILL.md
skills/flutter-add-integration-test/SKILL.md
skills/flutter-add-widget-preview/SKILL.md
skills/flutter-add-widget-test/SKILL.md
skills/flutter-apply-architecture-best-practices/SKILL.md
skills/flutter-build-responsive-layout/SKILL.md
skills/flutter-fix-layout-issues/SKILL.md
skills/flutter-implement-json-serialization/SKILL.md
skills/flutter-setup-declarative-routing/SKILL.md
skills/flutter-setup-localization/SKILL.md
skills/flutter-use-http-package/SKILL.md
tool/dart_skills_lint/.agents/skills/add-dart-lint-validation-rule/SKILL.md
tool/dart_skills_lint/.agents/skills/check-downstream-consumers/SKILL.md
tool/dart_skills_lint/.agents/skills/contributor-pr-description/SKILL.md
tool/dart_skills_lint/.agents/skills/dart-skills-lint-integration/SKILL.md
tool/dart_skills_lint/.agents/skills/definition-of-done/SKILL.md
tool/dart_skills_lint/example/skills/invalid/SKILL.md
tool/dart_skills_lint/example/skills/valid/SKILL.md
tool/dart_skills_lint/skills/dart-skills-lint-setup/SKILL.md
tool/dart_skills_lint/skills/dart-skills-lint-validation/SKILL.md
skills/dart-setup-ffi-assets/SKILL.md

Metadata

Files
0
Version
c3c71cf
Hash
ebec7bed
Indexed
2026-08-20 07:12

- 위키
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-25 17:43
浙ICP备14020137号-1 $방문자$