一键导入
evaluation
Activate when testing agent systems, measuring output quality, or designing evaluation frameworks for AI-assisted workflows.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Activate when testing agent systems, measuring output quality, or designing evaluation frameworks for AI-assisted workflows.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Activate when an Engineering Manager needs to shape a rough initiative into a clear, scoped, outcome-oriented brief before execution.
Activate when reviewing branches, commits, or pull requests using the emoji-driven review protocol.
Activate when managing conversation history in long sessions, choosing compression strategies, or preserving critical information during context truncation.
Activate when designing agent systems, debugging unexpected agent behavior, or optimizing context usage and attention budgets.
Activate when hitting context limits, experiencing quality degradation in long sessions, or needing to extend effective context capacity.
Activate when generating in-code comments or system documentation using the Diátaxis framework.
| name | evaluation |
| version | 1.0.0 |
| description | Activate when testing agent systems, measuring output quality, or designing evaluation frameworks for AI-assisted workflows. |
| triggers | ["evaluation","testing","quality","metrics","benchmark","llm-judge","agent-testing"] |
Systematic assessment of agent performance across multiple quality dimensions. Unlike traditional software testing, agent evaluation must account for non-deterministic behavior — agents may take different valid routes to correct results.
Research on browsing agents found three factors explain 95% of performance:
Implication: optimizing context engineering (skills in this repo) has far more impact than switching models.
Don't check if the agent took specific steps. Check if the final result is correct and the process was reasonable. Agents may:
All of these can produce correct results. Penalizing valid alternative paths produces misleading metrics.
Evaluate across multiple dimensions:
| Dimension | What to Check |
|---|---|
| Accuracy | Factual correctness against ground truth |
| Completeness | All requested information present |
| Code quality | Follows project standards (method size, types, tests) |
| Tool efficiency | Minimal necessary tool calls, no redundant reads |
| Process quality | Logical reasoning, appropriate exploration |
LLM-as-Judge: Use a model to evaluate agent outputs. Scales to large test sets with consistent evaluation. Best for subjective quality dimensions. Add chain-of-thought justification to improve reliability 15-25%.
Human review: Catches hallucinations and edge cases automation misses. Essential for high-stakes outputs. Expensive but highest signal.
End-state evaluation: For agents modifying persistent systems (files, databases). Check the final state matches expectations regardless of how the agent got there.
Automated checks: Linting, type checking, test suites. Fast, deterministic, catches a class of errors reliably.
Multi-dimensional rubric for code generation:
## Evaluation Rubric
1. Correctness (0-5): Does the code work? Does it handle edge cases?
2. Standards (0-5): Follows project conventions? Types? Method size?
3. Tests (0-5): Adequate test coverage? Given-When-Then format?
4. Efficiency (0-5): Minimal tool calls? No redundant file reads?
5. Communication (0-5): Clear reasoning? Appropriate questions?
Outcome-focused test:
Input: "Add email validation to the User model"
Expected outcome:
- User model has validation logic ✓
- Invalid emails are rejected ✓
- Tests cover valid and invalid cases ✓
NOT expected: specific file read order or number of steps
context-fundamentals (understanding what affects performance)project-development (evaluating pipeline outputs), code-review (review as evaluation), tool-design (testing tool effectiveness)