eval-harness/SKILL.md
Evaluation framework for agent sessions implementing eval-driven development (EDD) principles.
npx skillsauth add lidge-jun/cli-jaw-skills eval-harnessInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Evaluation framework for agent-assisted workflows. Define expected behavior before implementation, run evals continuously, and track regressions with pass@k metrics.
Test whether an agent can accomplish something new:
[CAPABILITY EVAL: feature-name]
Task: Description of what the agent should accomplish
Success Criteria:
- [ ] Criterion 1
- [ ] Criterion 2
Expected Output: Description of expected result
Verify existing functionality remains intact:
[REGRESSION EVAL: feature-name]
Baseline: SHA or checkpoint name
Tests:
- existing-test-1: PASS/FAIL
- existing-test-2: PASS/FAIL
Result: X/Y passed (previously Y/Y)
| Type | Use when | Example |
|------|----------|---------|
| Code grader | Deterministic assertions | grep -q "export function handleAuth" src/auth.ts |
| Rule grader | Regex/schema constraints | JSON schema validation, pattern matching |
| Model grader | Open-ended output quality | LLM-as-judge with 1–5 rubric |
| Human grader | Ambiguous or security-sensitive | Manual review with risk level flag |
Prefer code graders where possible — deterministic results are more reliable than probabilistic ones.
"At least one success in k attempts"
"All k trials succeed"
## EVAL DEFINITION: feature-xyz
### Capability Evals
1. Can create new user account
2. Can validate email format
### Regression Evals
1. Existing login still works
2. Session management unchanged
### Success Metrics
- pass@3 ≥ 90% for capability evals
- pass^3 = 100% for regression evals
Write code to pass the defined evals.
Run each eval, record PASS/FAIL per item.
EVAL REPORT: feature-xyz
========================
Capability: 2/2 passed (pass@3: 100%)
Regression: 2/2 passed (pass^3: 100%)
Overall: READY FOR REVIEW
evals/
feature-xyz.md # Eval definition
feature-xyz.log # Run history
baseline.json # Regression baselines
tools
Use only on the Codex CLI for native image generation or image editing without an API key. Save final PNG files under ~/.cli-jaw/uploads, report web-ready absolute-path markdown, and send to Telegram or Discord only when explicitly requested.
tools
Ranked repository structure map via `cli-jaw map`. Use for codebase overview, structure map, symbol overview, unfamiliar codebase exploration, architecture orientation. Triggers: repo map, structure map, codebase overview, 와꾸, project structure, unfamiliar code.
tools
cli-jaw Design workspace: create, preview, run, and export design pages from the right sidebar. Covers panel UX, direct-write workflow, artifact lifecycle, wireframe generation, design system, and Open Design adapter.
development
MUST USE for infrastructure and delivery work — container builds, deploy pipelines, Kubernetes, Infrastructure as Code, SRE foundations, edge/serverless, ML infrastructure. Triggers: Dockerfile, K8s manifests, CI/CD pipeline, Terraform/IaC, release/deploy, devops/infra/deploy or release_cd task_tags.