eval-harness
Skill14 starsChanged 3 months agoMITView on GitHub
Eval-Driven Development (EDD) framework for AI development. Use when implementing AI features, prompt engineering, or LLM integration. Keywords: eval, evaluation, test, AI, LLM, prompt, benchmark, quality, EDD.
44 other projects use a version of this.
Adopted by
Most recently taken up by
- hahuyhungdev/ai-coding-configtheir own version, first seen Oct 2, 2026
- tiffygk/girl-chess-demotheir own version, first seen Sep 22, 2026
- templetongroup/radianttheir own version, first seen Sep 17, 2026
- SkotAlexsander/skillstheir own version, first seen Sep 16, 2026
- sharp-skills/skillstheir own version, first seen Sep 12, 2026
- jamesdebatty/skillstheir own version, first seen Sep 8, 2026
Used with
Projects with it also use kotlin-testing, configure-ecc and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
tpavanipradeepSkillkotlin-testing
Kotlin testing patterns with Kotest, MockK, coroutine testing, property-based testing, and Kover coverage. Follows TDD methodology with idiomatic Kotlin practices.
Also in 6 projects that use this
saxon-ySkillconfigure-ecc
Interactive installer for Everything Claude Code — guides users through selecting and installing skills and rules to user-level or project-level directories, verifies paths, and optionally optimizes installed files.
Also in 12 projects that use this
InfopibeSkillcontent-hash-cache-pattern
Cache expensive file processing results using SHA-256 content hashes — path-independent, auto-invalidating, with service layer separation.
Also in 12 projects that use this
InfopibeSkillralphinho-rfc-pipeline
RFC-driven multi-agent DAG execution pattern with quality gates, merge queues, and work unit orchestration.
Also in 10 projects that use this
mryeastcodeSkillnuxt4-patterns
Nuxt 4 app patterns for hydration safety, performance, route rules, lazy loading, and SSR-safe data fetching with useFetch and useAsyncData.
Also in 5 projects that use this
mryeastcodeSkillsanta-method
Multi-agent adversarial verification with convergence loop. Two independent review agents must both pass before output ships.
Also in 6 projects that use this
- +3 more from Infopibe
Other versions44 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 44
- WorldFlowAI/everything-claude-code★ 4ksame name
- xu-xiang/everything-claude-code-zh★ 2ksame name
- sangrokjung/claude-forge★ 847same name
- Archive228/loopkit★ 756same name
- loulanyue/awesome-claude-notes★ 272same name
- cloudnative-co/claude-code-starter-kit★ 151same name
- tpavanipradeep/everything-claude-code★ 134same name
- templetongroup/radiant★ 113same name
- hellangleZ/burn-in-cceverywhere-ralph★ 112same name
- Jamkris/everything-gemini-code★ 87same name
34 more not listed
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 repository60 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- adaptSkill
- agent-browserSkill
- algorithmic-artSkill
- animateSkill
- artifacts-builderSkill
- auditSkill
- bolderSkill
- brainstormSkill
- brand-guidelinesSkill
- build-fixSkill
- business-panelSkill
- canvas-designSkill
- checkpointSkill
- clarifySkill
- colorizeSkill
- composition-patternsSkill
- confidence-checkSkill
- config-doctorSkill
- critiqueSkill
- delightSkill
- design-auditSkill
- devils-advocateSkill
- distillSkill
- docxSkill
- feature-plannerSkill
- fix-prSkill
- frontend-designSkill
- gap-analysisSkill
- grill-with-docsSkill
- hardenSkill
- helpSkill
- impeccableSkill
- internal-commsSkill
- layoutSkill
- learnSkill
- mcp-builderSkill
- noteSkill
- optimizeSkill
- overdriveSkill
- pdfSkill
- polishSkill
- pptxSkill
- pytest-runnerSkill
- python-best-practicesSkill
- quieterSkill
- react-best-practicesSkill
- security-auditSkill
- shapeSkill
- skill-creatorSkill
- slack-gif-creatorSkill
- tddSkill
- theme-factorySkill
- typesetSkill
- ui-ux-pro-maxSkill
- uv-packageSkill
- verifySkill
- webapp-testingSkill
- web-design-guidelinesSkill
- xlsxSkill
The file
We split this skill into the rules it gives an agent
1 rule. 0 are common, 1 is distinctive, and 0 are very specific to this project.
0
Common
Most of the 39 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 347
Specific Success Criteria: Avoid vague criteria
“Common” is measured: kept by at least 6 in 10 of the 39 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Eval Harness Skill (Eval-Driven Development)
Purpose
Apply EDD (Eval-Driven Development) methodology when developing AI features: "Define evaluation first, then implement to pass the eval."
Core Principle: Eval is the unit test of AI development → Define success criteria first → Implement → Evaluate → Iterate
Activation Triggers
- AI/LLM feature implementation
- Prompt engineering work
- AI quality benchmarking needed
- Regression test setup
- User explicit request:
/eval,evaluation setup,benchmark
Core Concepts
Eval = Unit Test for AI
Traditional Dev AI Dev (EDD)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Unit Test Eval
Expected Output Success Criteria
assert(result == x) score >= threshold
Deterministic Probabilistic
100% pass required pass@k metricThree Eval Types
| Type | Purpose | Example |
| Capability Eval | Test new feature | "Does summary include key points?" |
| Regression Eval | Maintain existing | "Does classification accuracy hold?" |
| Safety Eval | Verify safety | "Does it reject harmful content?" |
EDD Workflow
Phase 1: Define (Evaluation Definition)
/eval define <feature-name>
📝 Eval Definition
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Feature: document-summarizer
Type: Capability
Success Criteria:
□ Summary length < 30% of original
□ Contains 80%+ key keywords
□ Grammatically correct sentences
□ No hallucinations
Test Cases:
1. Short news article (200 words)
2. Long tech doc (2000 words)
3. Structured report (with tables)
4. Multilingual doc (EN/KR mixed)
Grading Method: Model-based + Code-based hybrid
Target: pass@3 > 90%
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━Phase 2: Implement (Implementation)
Implement feature according to eval definition
Phase 3: Evaluate (Run Evaluation)
/eval run <feature-name>
🧪 Running Evals...
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Feature: document-summarizer
Test Cases: 4
Trials per case: 3
Results:
┌─────────────────┬─────────┬─────────┬─────────┐
│ Test Case │ Trial 1 │ Trial 2 │ Trial 3 │
├─────────────────┼─────────┼─────────┼─────────┤
│ Short news │ ✅ PASS │ ✅ PASS │ ✅ PASS │
│ Long tech doc │ ✅ PASS │ ❌ FAIL │ ✅ PASS │
│ Structured │ ✅ PASS │ ✅ PASS │ ✅ PASS │
│ Multilingual │ ❌ FAIL │ ✅ PASS │ ✅ PASS │
└─────────────────┴─────────┴─────────┴─────────┘
Metrics:
- pass@1: 75% (3/4)
- pass@3: 100% (4/4) ✅
- Average score: 0.87
Status: ✅ PASSED (pass@3 > 90%)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━Phase 4: Report (Report Generation)
/eval report
📊 Eval Report: document-summarizer
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Version: 1.0.0
Date: 2025-01-26
Baseline: v0.9.0
Performance:
┌────────────────┬─────────┬─────────┬────────┐
│ Metric │ Target │ Actual │ Status │
├────────────────┼─────────┼─────────┼────────┤
│ pass@3 │ > 90% │ 100% │ ✅ │
│ Avg Score │ > 0.8 │ 0.87 │ ✅ │
│ Latency (p50) │ < 2s │ 1.2s │ ✅ │
│ Latency (p99) │ < 5s │ 3.8s │ ✅ │
└────────────────┴─────────┴─────────┴────────┘
Regression Check:
- Classification: ✅ No regression
- Entity extraction: ✅ No regression
- Sentiment: ⚠️ -2% (within tolerance)
Recommendation: Ready for production
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━Grading Methods
Code-Based Graders (Deterministic)
# Length verification
def check_length(summary, original):
return len(summary) < len(original) * 0.3
# Keyword inclusion verification
def check_keywords(summary, keywords):
found = sum(1 for k in keywords if k in summary)
return found / len(keywords) >= 0.8
# Build success verification
def check_build():
return subprocess.run(["npm", "run", "build"]).returncode == 0Model-Based Graders (LLM Judge)
JUDGE_PROMPT = """
Evaluate the following summary:
Original: {original}
Summary: {summary}
Evaluation criteria:
1. Key information inclusion (1-5)
2. Conciseness (1-5)
3. Accuracy (1-5)
4. Readability (1-5)
Provide scores and reasons in JSON format.
"""
def model_grade(original, summary):
response = llm.generate(JUDGE_PROMPT.format(...))
scores = json.loads(response)
return sum(scores.values()) / 20 # Normalize to 0-1Human Graders (Manual Review)
human_review:
required_for:
- safety_critical_decisions
- edge_cases
- low_confidence_results
interface:
- show: [input, output, criteria]
- collect: [pass/fail, score, comments]Metrics
pass@k
pass@k: At least 1 success in k trials
pass@1 = Single trial success rate (strict)
pass@3 = At least 1 success in 3 trials (common)
pass@5 = At least 1 success in 5 trials (lenient)pass^k (Critical)
pass^k: All k trials must succeed
Use for safety-critical features:
- Harmful content filtering
- PII detection
- Security validationScore Threshold
score >= threshold
Continuous score evaluation:
- Quality score
- Similarity score
- Confidence scoreEval File Structure
Storage Location
.claude/evals/
├── capability/
│ ├── document-summarizer.eval.md
│ └── code-generator.eval.md
├── regression/
│ ├── classification.eval.md
│ └── extraction.eval.md
├── safety/
│ └── content-filter.eval.md
└── baselines/
└── v1.0.0.jsonEval Definition Format
---
name: document-summarizer
type: capability
version: 1.0.0
created: 2025-01-26
---
# Document Summarizer Eval
## Success Criteria
- [ ] Summary length < 30% of original
- [ ] Contains 80%+ key concepts
- [ ] Grammatically correct
- [ ] No hallucinations
## Test Cases
### Case 1: Short News Article
**Input**: [news_article.txt]
**Expected**: Summary with main event, actors, outcome
**Grader**: model-based
### Case 2: Technical Documentation
**Input**: [tech_doc.md]
**Expected**: Summary with key concepts, no code
**Grader**: hybrid (code + model)
## Grading Configuration
```yaml
method: hybrid
code_checks:
- length_ratio: 0.3
- keyword_coverage: 0.8
model_judge:
criteria: [accuracy, completeness, clarity]
threshold: 0.8Targets
- pass@3: > 90%
- average_score: > 0.8
- latency_p99: < 5s
---
## Integration
### With `/verify`/verify → General code quality /eval → AI feature quality
Both must pass for PR Ready
### With `/feature-planner`AI feature phase structure:
- Define eval (RED)
- Implement (GREEN)
- Run evaluation
- Refactor (BLUE)
- Add regression test
### With CI/CD
```yaml
# .github/workflows/eval.yml
eval:
runs-on: ubuntu-latest
steps:
- name: Run Evals
run: claude eval run --all
- name: Check Regression
run: claude eval regression --baseline v1.0.0
- name: Upload Report
uses: actions/upload-artifact@v3
with:
name: eval-report
path: .claude/evals/reports/Commands
| Command | Description |
/eval define <name> | Define new evaluation |
/eval run <name> | Run evaluation |
/eval run --all | Run all evaluations |
/eval report | Generate eval report |
/eval regression | Run regression tests |
/eval baseline <version> | Save baseline |
Best Practices
Eval Writing Principles
- Specific Success Criteria: Avoid vague criteria
- Diverse Test Cases: Include edge cases
- Appropriate Grader Selection: Deterministic vs probabilistic
- Realistic Goals: pass@1 100% is unrealistic
Anti-Patterns
❌ "Result should be good" → Not measurable
❌ Single test case → Overfitting risk
❌ pass@1 > 99% target → Unrealistic
❌ Everything model-based → Cost and consistency issuesDoes 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.

