AGENT SKILL

evals-architect

Architect-level evaluation design for AI systems — golden sets and their maintenance, deterministic checks versus model-as-judge, regression gates in CI, online signals, and the failure taxonomy that tells you which change broke quality. Use before shipping any model-backed feature and whenever quality is debated.

License 许可
MIT
最近更新
2026-11-13
Stars
★ 0
Forks
0

01 前言 Front Matter

name
evals-architect
license
MIT
metadata
{ "crusor-path": "ai-ml-architect/evaluation-architect/evals-architect", "crusor-domain": "ai-ml-architect", "crusor-origin": "original", "crusor-sources": "arxiv.org/abs/2306.05685; platform.openai.com/docs/guides/evaluation; hamel.dev", "crusor-triggers": "eval, evaluation, golden set, model as judge, llm judge, regression testing, benchmark, accuracy, quality gate, hallucination, regression gate", "crusor-verified-on": "2026-10-30" }
description
Architect-level evaluation design for AI systems — golden sets and their maintenance, deterministic checks versus model-as-judge, regression gates in CI, online signals, and the failure taxonomy that tells you which change broke quality. Use before shipping any model-backed feature and whenever quality is debated.
compatibility
Any provider; pytest + promptfoo/braintrust style harnesses

03 SKILL.md 正文

Evals Architect

Without evals, every AI decision is an opinion with a deploy button. Evals turn quality into a number that can regress, and therefore into something a test suite can protect.

When to use

  • Before shipping any model-backed feature.
  • A prompt, model, retrieval, or fine-tune change is proposed.
  • Users report quality issues and nobody can reproduce them.

When NOT to use

  • Deterministic code with a normal test suite — that is just testing.
  • You have no users and no idea of the job yet — write the job statement first.

Decision 1 — The eval set

  • 50–200 cases to start, drawn from real traffic and known failures.
  • Every case: input, expected output or a rubric, and the metadata needed to reproduce it.
  • Include the boring cases, the hard cases, and the known-bad ones.
  • Stratify by category so a score can tell you where you regressed, not just that you did.
  • Version the set; growing it is a change with its own review.

Decision 2 — Grading method

Check Use for
exact / schema match structured extraction, routing, enums
unit assertions numbers, IDs, citations present
rubric by judge model open-ended prose, helpfulness, tone
human review calibrating the judge, disputes, high-stakes samples
  • Prefer deterministic checks; use a judge only where nothing else fits.
  • Judge prompts need their own validation: score a set of human-labelled examples and report agreement before trusting the judge.
  • Judges should return structured verdicts with a reason, not a bare score.
  • Watch for judge bias: position, verbosity, and self-preference — randomise order and swap candidates.

Decision 3 — Metrics that mean something

  • Report per category, plus the aggregate; a single number hides the damage.
  • Pass rate with a confidence interval, not a bare percentage on 20 cases.
  • Track cost and latency alongside quality — a "better" model that triples p95 is a product decision.
  • Hallucination/groundedness is measured against sources, not against vibes.

Decision 4 — Gates in CI

  • Any prompt, model, retrieval config, or fine-tune change runs the eval suite.
  • Fail the build on regression beyond a stated threshold per category.
  • Store results per commit; a quality trend line beats a single green check.
  • Keep a cheap smoke eval for PRs and the full suite for merges/nightly.

Decision 5 — Online signals

  • Thumbs, copy, edit-rate, retry-rate, escalation-to-human — the behaviours that mean the answer was not good enough.
  • Sample and label production traffic continuously; that is where the next eval cases come from.
  • Alert on drift in output distribution — length, refusal rate, format failures.
  • A/B tests need an eval-backed hypothesis, not just a vibe shift.

Failure modes at scale

  • Evals written by the model author, judging the model author's prompt.
  • A suite that only contains the examples the feature was built on.
  • Judge scoring 90% while human review says 60%.
  • Regression found by users a week after merge.
  • The eval set frozen at launch; the product drifted, the tests did not.

Verification receipts

  1. Eval set committed with cases, rubrics, and a version.
  2. Judge validated against human labels with reported agreement.
  3. CI gate demonstrated: a deliberately worse prompt fails the build.
  4. Baseline scores per category, with the threshold for regression.
  5. Online signal dashboard with one alert routed to the owning team.

04 同仓库更多 Skills

SriAkhilSJ
SriAkhilSJ/PulseAIRepo

interaction-patterns-architect

Architect-level interaction design in code — choosing established patterns over invented ones, feedback and latency behaviour, destructive-action safeguards, navigation and overlay conventions, and the state model behind every interactive surface. Use when a screen has to behave, not just look.

★ 0
SriAkhilSJ
SriAkhilSJ/PulseAIRepo

design-system-ops-architect

Architect-level operation of a design system in code — token pipelines and versioning, component API and variant policy, the catalogue as the contract, adoption metrics, and the governance that stops a system from forking into three. Use when a component library must survive several teams.

★ 0
SriAkhilSJ
SriAkhilSJ/PulseAIRepo

design-handoff-architect

Architect-level design handoff — what must be specified before implementation starts, tokens over raw values, responsive and content-limit contracts, state matrices, and the review loop that catches drift between design and code. Use when a design is about to become code.

★ 0
SriAkhilSJ
SriAkhilSJ/PulseAIRepo

content-microcopy-architect

Architect-level UI content — where strings live, voice and terminology consistency, error and empty-state copy as part of the interface, translation-ready authoring, and the content model a product needs before it multiplies screens. Use when the words in the interface matter as much as the pixels.

★ 0
SriAkhilSJ
SriAkhilSJ/PulseAIRepo

ui-ux-implementation-architect

Architect-level direction for turning a design into working UI — the handoff contract, component ownership versus screen-level layout, interaction and state conventions, design QA gates, and the review habits that keep an implementation faithful without frozen pixels. Use before any specific UI implementation skill.

★ 0
SriAkhilSJ
SriAkhilSJ/PulseAIRepo

test-strategy-architect

Architect-level test strategy — allocating assertions across unit, integration, contract and end-to-end layers, designing for testability through dependency boundaries, fixture and data strategy, and the flake and coverage policies that keep a suite trustworthy. Use when defining how a codebase is tested.

★ 0