prompt-evaluation
Skill0 starsChanged 5 months agoApache-2.0View on GitHub
Design and review repeatable offline evaluations for prompts, RAG
2 other projects use a version of this.
Adopted by
Most recently taken up by
- archer0615/bran-agent-skillstheir own version, first seen Aug 28, 2026
- tswicegood/claude-skillstheir own version, first seen May 14, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- tswicegood/claude-skills★ 2same name
- archer0615/bran-agent-skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository128 other files it gives its agents.
- AGENTS.mdAGENTS.md
- accessibility-implementationSkill
- accessibility-reviewSkill
- api-changelogSkill
- api-designSkill
- auth-designSkill
- caching-strategiesSkill
- chaos-experiment-designSkill
- ci-cd-pipelinesSkill
- cli-designSkill
- cloudformation-reviewSkill
- codebase-orientationSkill
- code-commentsSkill
- code-reviewSkill
- commit-messagesSkill
- container-reviewSkill
- database-indexingSkill
- database-migrationsSkill
- debuggingSkill
- dependency-upgradesSkill
- design-system-contributionSkill
- design-tokensSkill
- desktop-releaseSkill
- error-handlingSkill
- feature-flagsSkill
- finops-reviewSkill
- frontend-performanceSkill
- git-conflict-resolutionSkill
- graphql-schema-designSkill
- helm-chart-scaffoldingSkill
- i18n-reviewSkill
- kubernetes-reviewSkill
- load-test-planningSkill
- logging-observabilitySkill
- message-queue-designSkill
- migration-playbooksSkill
- mobile-releaseSkill
- multi-region-active-activeSkill
- observability-alertsSkill
- openapi-spec-designSkill
- partner-api-integrationSkill
- performance-reviewSkill
- pr-descriptionsSkill
- prompt-injection-hardeningSkill
- pulumi-reviewSkill
- rate-limitingSkill
- refactor-planningSkill
- secrets-managementSkill
- security-reviewSkill
- sql-query-reviewSkill
- terraform-reviewSkill
- test-generationSkill
- threat-modelingSkill
- webhook-designSkill
- websocket-designSkill
- ab-test-analysisSkill
- anomaly-detectionSkill
- cost-anomaly-investigationSkill
- csv-analysisSkill
- data-cleaningSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
10 rules. About 0 are common, 9 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈9
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 35
Run paired comparisons on the same cases.
- Distinctive: line 44
Write this contract before implementing a harness:
- Distinctive: line 57
If these fields are unknown, produce a proposed contract and mark assumptions instead of building a large dataset around an undefined …
- Very specific: line 62
Read references/evaluation-design.md before finalizing a full evaluation, choosing model graders, or evaluating RAG, tool-using agents, …
- Distinctive: line 102
Never fabricate runs, labels, confidence intervals, or pass rates.
- Distinctive: line 104
Keep prompts, configs, datasets, graders, and raw outputs versioned or content-addressed so a result can be reproduced.
- Distinctive: line 106
Do not use the same model output as both the reference answer and the sole evidence that the model is correct.
- Distinctive: line 108
Do not let aggregate improvements mask critical safety or policy failures.
- Distinctive: line 109
Do not run side-effecting agent evaluations against production.
- Distinctive: line 113
Treat model-judge scores as measurements with bias and variance, not truth.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Prompt Evaluation
Turn a vague claim such as “the new prompt is better” into a reproducible, decision-linked evaluation. Measure behavior on representative cases, preserve raw evidence, expose segment regressions, and keep graders auditable.
This skill designs the eval. To rewrite the prompt itself, use
prompt-improver. To threat-model tool-using agents, use
prompt-injection-hardening.
Workflow
- Define the release decision, system boundary, unit of evaluation, target population, unacceptable failures, and the smallest meaningful improvement.
- Freeze the compared configurations: prompts, model/version, parameters, tools, retrieval index, policies, dependencies, and relevant runtime flags.
- Build a versioned dataset from realistic, privacy-safe cases. Include normal, difficult, adversarial, and known-failure cases with stable IDs and tags.
- Define observable criteria before running variants. Choose deterministic, programmatic, model-based, and human graders by criterion.
- Run paired comparisons on the same cases. Record outputs, traces, grader decisions, latency, token/cost data, errors, retries, and configuration IDs.
- Analyze the primary metric, uncertainty, segment performance, grader disagreement, and severity-weighted regressions.
- Return a ship decision with explicit thresholds, residual risk, and the cases humans must inspect. Never convert missing measurements into a score.
Evaluation contract
Write this contract before implementing a harness:
| Field | Required decision |
| Decision | What release, prompt, model, or architecture choice will this inform? |
| Unit | One turn, conversation, retrieved answer, trajectory, or completed task? |
| Population | Which users, languages, intents, risk levels, and input lengths? |
| Criteria | What observable behavior counts as success or failure? |
| Primary metric | Which single metric gates the decision? |
| Guardrails | Which severe failures cannot be averaged away? |
| Threshold | Minimum acceptable level and maximum allowed regression? |
| Evidence | Which outputs, traces, annotations, and config digests are retained? |
If these fields are unknown, produce a proposed contract and mark assumptions instead of building a large dataset around an undefined decision.
Detailed design
Read references/evaluation-design.md before finalizing a full evaluation,
choosing model graders, or evaluating RAG, tool-using agents, classification, or
extraction. Load only the relevant system-specific sections.
Output format
## Evaluation plan: <system or change>
### Decision contract
- Decision: ...
- Unit / population: ...
- Primary metric and threshold: ...
- Non-negotiable guardrails: ...
### Dataset
| Segment | Source | Count target | Risk covered |
|---|---|---:|---|
| ... | ... | ... | ... |
### Graders
| Criterion | Grader | Evidence | Calibration |
|---|---|---|---|
| ... | ... | ... | ... |
### Run protocol
1. ...
### Report
- Primary result with uncertainty: ...
- Segment and severe regressions: ...
- Grader disagreement: ...
- Latency / cost / errors: ...
### Ship rule
Ship only if ...Rules
- Never fabricate runs, labels, confidence intervals, or pass rates. Separate the evaluation plan from measured results.
- Keep prompts, configs, datasets, graders, and raw outputs versioned or content-addressed so a result can be reproduced.
- Do not use the same model output as both the reference answer and the sole evidence that the model is correct.
- Do not let aggregate improvements mask critical safety or policy failures.
- Do not run side-effecting agent evaluations against production; use sandboxes, fakes, scoped test accounts, or transaction rollback.
- Record model/provider errors separately from graded failures and define retry behavior before the run.
- Treat model-judge scores as measurements with bias and variance, not truth.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

