Methodology

From melodic-software/claude-code-plugins · View interactive version

Methodology is an AI agent skill from the GitHub repository melodic-software/claude-code-plugins. When the bundled claude-api skill resolves in this session, prefer its hillclimb for sweeping model and effort over a measurable suite; this skill before that suite or its criteria exist. Answers LLM-evaluation design questions from Anthropic's evaluation guidance: success criteria (including turnin

How to use this skill

Skill file

LLM evaluation methodology

This page states the rules; answer from it. It runs, scores, scaffolds and edits nothing.

Define your success criteria,

Build evaluations

and Grade your evaluations;

the evals cookbook is anthropics/claude-cookbooks misc/building_evals.ipynb.

Where each topic lives

Fetch the section for a specific; this repository's own decisions are in the files named below.

| Topic | Read |

|---|---|

| What makes a success criterion good, hazy qualities, metrics, dimensions | Define your success criteria and Common success criteria; the target rules are in the decision guide below |

| Eval anatomy, golden answers, edge cases, volume, generating cases | Eval design principles; this repository's reading, with effort and model sweeps: eval-design.md |

| Grading ladder, LLM-grader rubrics, constrained verdicts, testing the grader first | Grade your evaluations and Tips for LLM-based grading |

| Recipes: exact match, similarity, ROUGE-L, Likert, binary, ordinal | Example evals |

| How many cases and repeats, paired comparison, error bars | A statistical approach to model evaluations |

| Regressions on a new model, a skill the model outgrows | Improving skill-creator |

| Improving against an existing suite with the bundled hillclimb: who starts it, the step map for a plugin suite, cost as the goal | hillclimb.md |

| This repository's defaults where sources disagree: train/test split, interval method, repeat count, rubric form, and their settings | local-decisions.md |

Quick decision guide

Route by repository kind). Otherwise, define measurable success

criteria first; evals test against them; only then iterate on prompts.

target, and ties to a user need. The target number is realistic only when a measured baseline, a

prior result, a benchmark, or expert review justifies it; how severe a miss would be, or that a

grader can check the number, does not. "Good performance" fails all four.

```text

quality: <the specific behavior measured, and the user need it serves>

measure: <the metric: a rate, a count or a defined scale>

trials: <the trial set and its size, for example "500 conversations">

target: <one threshold, taken from the basis>

basis: <measured baseline | prior result | benchmark | expert review | baseline-relative>

```

Each threshold gets its own block: a second bar on the same quality, such as a stricter one for

its worst failures, is a second block with its own basis:. The basis: slot takes one of

those five values, and the target must follow from it. The first four count only when the user

supplied the figure or agreement; name it. When none applies, the basis is baseline-relative

and the target is a fraction of the current rate, written without inventing its value (for

example "at most half the current rate over 500 trials"). An absolute number, zero included,

has no place in a baseline-relative block, so a "never" bar is written relative too ("at most

a tenth of the current rate of refunds sent to the wrong account"). Never write a target as a

placeholder (X/Y/Z, "set the target later") or a bare direction ("lower than the baseline").

Severity, or that a grader can check the number, is not a basis. Never present a made-up

baseline figure or expert agreement as fact.

output can be constrained to allow it; LLM-graded for judgment; human only as a last resort.

reformat to multiple choice, or use an LLM grader with a tight rubric and constrained verdict.

generate more from a baseline set with Claude, human-reviewed. Volume means cheaper grading,

never easier cases.

judgment; and grade with a different model than the one that generated the output.

see Agent evals: grader hygiene.

safety, latency, cost); a single headline metric hides regressions.

The target-number and rewrite rules are this repository's reading of the Achievable property.

<https://platform.claude.com/docs/en/test-and-evaluate/develop-tests#define-your-success-criteria>.

Agent evals: grader hygiene

When the thing under test is an agent that acts over many turns and changes an environment:

the work is done. An agent saying the record exists is not evidence that it does; the grader

checks the record.

it can pass without doing the task, so graders and their expected values sit where the agent

under test cannot change them.

<https://www.anthropic.com/engineering/demystifying-evals-for-ai-agents>. Read through a fetch

summary with quoted sentences, not a raw-text check.

Route by repository kind

Decide the kind from the repository, then name the route. The user starts build-eval and

hillclimb; this skill never does.

| Repository | Route |

|---|---|

| A Claude API app (its code calls Claude through the Anthropic SDK or API) | With no eval yet, the first step is /claude-api build-eval, which the user types. Lead the answer with it; do not lay out criteria, cases and graders by hand before it. With an eval in place, /claude-api hillclimb improves against it |

| A skill or plugin repository (a .claude-plugin/plugin.json or SKILL.md files) | claude plugin eval, through /evals:design to scaffold the suite and /evals:plugin-eval to run it |

| Both | Report both routes, each for its own part of the repository |

| No model in the loop | Say that LLM eval design does not apply, and stop |

Boundary

plugin's suite against a no-plugin baseline and reads the delta; /evals:validate checks a

suite's case files before a run.

you already have. When that skill resolves in this session, prefer its hillclimb for the

search itself; prefer this skill when the suite does not exist yet or its criteria are not yet

measurable. The two chain: design here, then hand the

suite to the search. hillclimb applies accepted configuration and prompt changes to the

application under test, so never chain into a hillclimb run on this skill's behalf; name the

option and let the user invoke it.

host, so state what to do when the surface resolves, never that it is present.

<https://code.claude.com/docs/en/skills#work-on-claude-api-projects>; for their guides, see

CODE0

and

CODE0.

(<https://platform.claude.com/docs/en/agents-and-tools/agent-skills/claude-api-skill>) lists

build-eval and hillclimb; then repoint there.

Maintainer `update` action

/evals:methodology update is a maintainer-only drift check. Fetch each linked section, confirm

the anchor still resolves and that this page's own decisions (the decision guide, eval-design.md,

local-decisions.md) still follow from what the section says, and fix a moved anchor or a decision

the section now contradicts. local-decisions.md and hillclimb.md carry their own recheck

triggers.

Next

Gotchas

detail that must be current, fetch the linked section: its code samples and model names move with

releases.

skill's own pages.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.