/fde-ai:ai-evaluationfrom fde-ai
Evaluates AI workflows and agents against representative task cases with grounded expectations, quality/safety thresholds, latency, and cost. Use for model-driven behavior acceptance or comparing model/prompt/retrieval/tool changes.
Ships in fde-ai. 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.
None: SKILL.md is the whole skill.
Test the delivered workflow under conditions that make its failures visible.
Maturity: experimental — an initial synthetic procedure trial is recorded; live engagement validation is still needed.
Use for model-backed task quality, version comparisons, or regression checks after changes to prompts, models, retrieval, or tools. Evaluate the complete task boundary that matters to the user.
Use core verification-plan for ordinary acceptance coverage and core nfr-validation for infrastructure/load measurements. This skill does not score the FDE portfolio's skill-selection descriptions. Action permissions are defined by sibling agent-action-safety, whose cases can join this evaluation.
Resolve <workspace> first: use FDE_WORKSPACE if set; report an unavailable explicit path instead of falling back. Otherwise read the charter Location (look in .fde/ and ../*-fde/), then an existing .fde/ or ../<repo>-fde/. If none exists, use core fde-orient. Use the header in the output template below. Keep credentials and restricted customer material out of this artifact; retain only permitted synthetic examples or sanitized evidence references. Preserve prior evidence and unrelated sections when updating. These conventions are included here so this pack can be used without the core pack installed.
Use existing runners and approved local models/services where available. No external provider or downloaded framework is required by this procedure. If execution is unavailable, produce the evaluation plan and mark all results unmeasured.
State the input population, expected end result, unacceptable failures, and thresholds with their owners. Include ordinary, difficult, ambiguous, insufficient-information, and forbidden-action cases as applicable. A high aggregate score cannot cancel a mandatory safety failure.
Separate user-task quality, factual grounding, required abstention/escalation, latency, and cost. Technical infrastructure measurements can be cited from core nfr-validation rather than duplicated.
Use approved synthetic or sanitized cases, with provenance, expected outcomes/rubrics, important subgroups, and known sampling limits. Keep development examples separate from a held-out acceptance set. Do not tune on the acceptance cases and report the result as an independent measurement.
For retrieval, record source versions, permissions, freshness, missing-content cases, and whether failures occur before or after retrieval. Do not infer answer quality from retrieval similarity alone.
Keep personal data, credentials, private prompts, and raw sensitive traces in approved storage; artifacts contain references and redacted summaries.
Use deterministic checks where the outcome is checkable. For judgments, define an explicit rubric and obtain expert-labelled examples where available. Check any model grader against human-reviewed examples and record disagreements and limitations. The evaluated model's assertion that it succeeded is not ground truth.
For agents, inspect permitted environment state and tool effects as well as the response. Grade a failed or timed-out execution as a failure/error with evidence; do not silently exclude it or count it as abstention. Never recompute expected values from the candidate's answer.
Record case-set version, system revision, model identity/configuration, prompt/retrieval/tool versions, environment, grader version, trial count, and execution budget. Preserve raw evidence only where approved, with redacted references in the artifact.
Use repeated trials where variability matters, with the count and aggregation fixed before seeing results. Compare baseline and candidate under equivalent cases and conditions. Report failures by subgroup, not only an average; label small samples and uncertainty.
Run write-capable tools only against isolated state or faithful fakes with external effects suppressed. A test request is not permission to send messages, spend funds, or change production records. Reuse existing authorization and approved usage/spend/time limits; resolve missing authorization or budgets before paid or external execution, and define stop conditions.
Separate source-data, retrieval, reasoning, tool/execution, grader, and workflow failures using the available evidence. Link actual defects to ordinary delivery work; keep the held-out set independent while adding representative regression cases.
State whether each required threshold is met, unmet, or unmeasured. Cite the result from core verification-plan and release-readiness; this evaluation supplies evidence, not permission to launch or waive a required control. Link business benefit separately to core outcome-measurement.
Stop when case coverage/limits, grading, configurations/budgets, results or execution blockers, and the threshold decision are recorded. A plan without executed trials remains a plan.
Write <workspace>/ai/evaluation-<workflow>.md:
# AI evaluation — <workflow>
**Engagement:** <name>
**Author:** FDE
**Date:** <YYYY-MM-DD>
**Status:** planned | executed | reviewed | superseded
**Source revision:** <repo>@<SHA>, or "no repository yet"
**Confidence:** <case coverage, grading confidence, execution limits>
## Task and gates
| Task/population | Expected outcome | Quality/safety threshold | Owner |
|---|---|---|---|
## Cases and graders
**Case-set version/location:** <approved reference> · **Development/held-out split:** <method>
**Rubric/grader version:** <reference> · **Human calibration:** <sample and disagreements>
**Coverage and exclusions:** <ordinary, difficult, unknown, restricted; sampling limits>
## Run configuration
| System/model/config | Prompt/retrieval/tools | Environment/effect isolation | Trials/budget | Evidence |
|---|---|---|---|---|
## Baseline vs. candidate
| Metric/subgroup | Threshold | Baseline | Candidate | Sample/variability | Verdict |
|---|---|---|---|---|---|
## Failure analysis
| Case/trial | Observed outcome/effect | Failure class | Evidence | Next action |
|---|---|---|---|---|
## Decision and gaps
<Met/unmet/unmeasured gates, blockers, risk owner, and links to verification/release artifacts.>
Optional background on task/trial/outcome terminology: Anthropic, Demystifying evals for AI agents. Use an approved local copy when offline; the procedure does not require web access.
What SKILL.md sets; muted values are Claude Code's defaults
2 skills in this plugin
npx claudepluginhub rpraharaj/forward-deployed-engineer --plugin fde-aiOther plugins' skills for the same job