/forgewright:eval-engineerfrom forgewright
Designs, runs, and interprets offline LLM evaluations using pass@k metrics, curator rubrics, and regression benchmarks. Useful for measuring skill reliability and quality.
Ships in forgewright. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Role: Design, implement, and maintain pass@k evaluation frameworks for Forgewright skills.
The Eval Engineer skill enables systematic capability testing and regression detection for every Forgewright skill. It provides the methodology for creating meaningful evals, interpreting results, and maintaining quality standards across the codebase.
pass@k measures the probability that a task succeeds within k attempts:
pass@1 = P(success on first try) # Strictest
pass@3 = P(success within 3 attempts) # Recommended
pass@5 = P(success within 5 attempts) # Lenient
Why k > 1? Because:
Formula:
pass@k = 1 - (1 - pass_rate)^k
Where pass_rate is the fraction of tasks that passed.
| Metric | What it tells you |
|---|---|
| pass@1 | Consistency (does it work every time?) |
| pass@3 | Reliability (can it recover from failures?) |
| pass@5 | Resilience (how often does it eventually succeed?) |
Every eval task follows this schema:
id: unique-task-identifier # Required: unique across all evals
description: "Human-readable summary" # Required: what this tests
prompt: | # Required: exact prompt for agent
The exact prompt text...
expected: "Success criteria" # Required: what "success" looks like
validator: code_present # Required: how to validate
difficulty: medium # Recommended: easy/medium/hard
skills_tested: # Required: which skills this exercises
- software-engineer
- code-reviewer
points: 20 # Points for this task
hints: # Optional: hints for failed attempts
- "Hint 1"
- "Hint 2"
tags: # Optional: categorization
- file-editing
- typescript
| Validator | When to Use | Returns |
|---|---|---|
code_present | Check if text/code exists in output | pass/fail |
git_diff_check | Verify file changes via git | pass/fail + diff |
code-grader | Automated syntax/style validation | 0-100 score |
human-grader | Requires human judgment | 0-100 score |
multi_file_check | Multiple files must exist/modify | pass/fail |
Is the task fully automatable?
├── Yes → Can we parse the output structurally?
│ ├── Yes → code_present or git_diff_check
│ └── No → code-grader
└── No → Does it require expert judgment?
├── Yes → human-grader
└── No → Consider redesigning the task
❌ Too vague:
prompt: "Make the code better"
expected: "Code improved"
# How do you verify this automatically?
❌ Too broad:
prompt: "Build a complete SaaS application"
expected: "Working app"
# This tests everything and nothing
✅ Specific and verifiable:
prompt: "Add error handling to fetchData() in src/api.ts"
expected: "try/catch block with error handling present"
validator: code_present
| Difficulty | When to Use | Example |
|---|---|---|
| easy | Basic skill usage | "Rename a function" |
| medium | Standard workflow | "Add feature with tests" |
| hard | Complex multi-step | "Debug race condition" |
Tests fundamental coding abilities:
File: capabilities/coding-basic.yaml
Tests full pipeline execution:
File: capabilities/pipeline-complete.yaml
Tests mode classification accuracy:
File: capabilities/skill-routing.yaml
Use the canonical host-neutral skill-quality harness (scripts/runtime/skill_quality.py) and scenario suite under evals/skills/ rather than host-specific .claude/ wrapper paths:
# Validate eval scenarios and grade paired A/B trial results (baseline vs current vs candidate)
python3 scripts/runtime/skill_quality.py --scenarios evals/skills/<skill>/scenarios.jsonl --results <results.jsonl>
# Run unit tests verifying the eval harness and routing evals locally
python3 -m pytest -q tests/unit_tests/test_skill_quality.py tests/unit_tests/test_skill_eval_receipt.py
==============================================
EVAL SUMMARY
==============================================
Skill / Suite | Tasks | Pass@1 | Pass^3
---------------------------+---------+--------+-------
<skill-suite> | <N> | <rate> | <rate>
Results: .forgewright/evals/report-<timestamp>.json
| Grade | Score | Action |
|---|---|---|
| A | 90-100 | Excellent — maintain quality |
| B | 80-89 | Good — minor improvements OK |
| C | 70-79 | Passing — address weak areas |
| D | 60-69 | Below expectations — requires fixes |
| F | 0-59 | Failed — blocking, must fix |
The framework automatically compares results against the latest baseline:
✓ No regression detected # Score within 10 points of baseline
⚠ Score dropped by X points # Outside threshold but < 10
✗ REGRESSION DETECTED # Score dropped > 10 points
When regression is detected:
| pass@1 | pass@3 | pass@5 | Interpretation |
|---|---|---|---|
| 0.9 | 0.95 | 0.98 | Excellent consistency |
| 0.7 | 0.85 | 0.92 | Good reliability |
| 0.5 | 0.70 | 0.80 | Needs improvement |
| 0.3 | 0.50 | 0.65 | Unreliable |
# Create skill scenario suite under canonical evals/skills/
mkdir -p evals/skills/<skill-name>
touch evals/skills/<skill-name>/scenarios.jsonl
id: my-new-capability
description: "Tests my new capability"
version: "1.0.0"
category: my-category
tasks:
- id: first-task
description: "What this tests"
prompt: "Exact prompt for the agent"
expected: "What success looks like"
validator: code_present
difficulty: easy
skills_tested:
- software-engineer
points: 10
capabilities:
- coding-basic
- pipeline-complete
- skill-routing
- my-new-capability # Add here
python3 scripts/runtime/skill_quality.py --scenarios evals/skills/<skill-name>/scenarios.jsonl --results <results.jsonl>
Update README.md with the new capability description.
Automated validation for:
API:
interface GradingResult {
score: number; // 0-100
grade: string; // A, B, C, D, F
passed: boolean;
details: string;
errors?: string[];
suggestions?: string[];
}
async function gradeCode(input: ValidationInput): Promise<GradingResult>
For tasks requiring expert judgment:
API:
interface HumanGradingResult {
score: number;
grade: string;
passed: boolean;
requiresHumanReview: boolean;
feedback?: string;
}
async function submitForHumanReview(request: HumanGradingRequest): Promise<HumanGradingResult>
Run the canonical local command directly (hosted CI adapters may only call this same local entrypoint):
python3 scripts/runtime/skill_quality.py --scenarios evals/skills/<skill>/scenarios.jsonl --results <results.jsonl> --json
config.yaml| Skill | Relationship |
|---|---|
| QA Engineer | Testing methodology |
| Code Reviewer | Quality standards |
| Debugger | Failure analysis |
scripts/runtime/skill_quality.py # Canonical A/B skill quality & promotion evaluator
evals/skills/ # Per-skill behavioral scenario suites
├── art-director/
├── debugger/
├── game-designer/
├── game-engineer/
└── qa-engineer/
tests/unit_tests/test_skill_quality.py
Last updated: 2026-06-02 Version: 1.0.0
llm-tester) or production RAG/LLM serving (ai-engineer).python3 scripts/runtime/skill_quality.py or deterministic eval suites against curator-owned oracles (never weaken rubrics without explicit requirement changes) and record Schema v2 evidence (VERIFY.md).What SKILL.md sets; muted values are Claude Code's defaults
93 skills in this plugin
/3d-spatial-engineerUse for 3D spatial layouts, scene-graph coordinate transforms, greybox blockouts, culling volumes, static batching, and LOD optimization across 3D game engines./accessibility-engineerUse for web WCAG 2.1/2.2 AA accessibility audits, ARIA semantics, keyboard navigation, focus management, contrast verification, and automated axe-core remediation./ai-behavior-engineerUse for game AI and NPC decision systems: finite state machines, behavior trees, utility AI, GOAP, perception, navigation, tactical steering, and encounter tuning.npx claudepluginhub buiphucminhtam/forgewright --plugin forgewrightOther plugins' skills for the same job