Eval sprint

From leogodin217/leos_claude_starter · View interactive version

Eval sprint is an AI agent skill from the GitHub repository leogodin217/leos_claude_starter. Adversarial evaluation of sprint spec before implementation.

How to use this skill

Skill file

Evaluate Sprint Spec

Adversarial evaluation of sprint spec before implementation. Run in a new session to ensure fresh eyes.

Purpose

Find problems in the spec that would cause implementation to fail or produce poor results. The evaluator is deliberately adversarial — looking for ways the spec could be misinterpreted, is incomplete, or violates principles.

Context posture

**Deliberately minimal — do NOT run /understand, and do NOT load architecture

docs.** This is load-bearing, not an oversight. The question this skill answers

is whether an implementer could build from the spec alone; anything you learn

from an architecture doc is something the spec failed to say, and reading it

hides the gap instead of reporting it. Any later edit that adds an architecture

load here removes the thing the skill is for.

Load ONLY:

  1. CLAUDE.md — Principles — especially no-invented-values and no-future-scaffolding. Already in context.
  2. docs/sprints/<sprint-name>/spec.md — The spec to evaluate

DO NOT load:

Code Verification — LSP Only

When verifying spec claims against the codebase (class names, function signatures, caller counts, line numbers), use only LSP tools. Do NOT read entire source files — this wastes context on code irrelevant to the evaluation.

| Verification need | LSP tool | Example |

|---|---|---|

| "Does this class/function exist?" | find_definition | Spec says TypeResolver — verify the actual class name |

| "Who calls this function?" | find_references | Spec says "only two callers" — verify caller count |

| "What's the signature?" | get_hover | Spec says rng param at line 203 — verify |

| "What type is this?" | get_hover | Spec references Distribution union — verify it exists |

| "Does this symbol exist in the module?" | find_workspace_symbols | Spec says export from __init__.py — verify |

| "Who calls this / what does it call?" | get_incoming_calls / get_outgoing_calls | Spec claims a caller count or call chain — trace it across module and package boundaries |

NEVER use Read on source files for this skill. If you catch yourself about to read a .py file, use an LSP tool instead.

Evaluation Checklist

Structural Checks

Principle Checks

Consistency Checks

Ambiguity Checks

Testability Checks

Architecture Checks

Evaluation Process

Step 1: Read Spec Cold

Read the entire spec without referring to other docs. Note:

Step 2: Run Checklist

Go through each check systematically. For every failure:

Step 3: Adversarial Questions

For each contract, ask:

Step 4: Dependency Trace

Trace through phases in order:

Step 5: Demo Feasibility

For each demo:

Output Format

# Spec Evaluation: [Sprint Name]

**Verdict: PASS / NEEDS WORK / FAIL**

**Summary:** [One sentence assessment]

---

## Blocking Issues

Issues that MUST be fixed before implementation.

### 1. [Short Title]

**Location:** [Section/line reference]
**Category:** [Structural/Principle/Consistency/Ambiguity/Testability/Architecture]
**Problem:** [Specific description]
**Impact:** [What goes wrong if not fixed]
**Suggested Fix:** [How to fix it]

---

## Warnings

Issues that SHOULD be addressed but aren't blocking.

### 1. [Short Title]

**Location:** [Section/line reference]
**Problem:** [Description]
**Suggestion:** [How to improve]

---

## Notes

Observations that aren't issues but worth considering.

- [Note 1]
- [Note 2]

---

## Checklist Results

| Category | Pass | Fail | Issues |
|----------|------|------|--------|
| Structural | 5 | 1 | Missing file structure |
| Principles | 4 | 0 | — |
| Consistency | 3 | 1 | Undefined type |
| Ambiguity | 3 | 2 | Weasel words |
| Testability | 3 | 0 | — |
| Architecture | 4 | 0 | — |

---

## Verdict Explanation

**PASS:** No blocking issues. Warnings are minor. Spec is ready for implementation.

**NEEDS WORK:** No blocking issues but warnings are significant. Review before proceeding.

**FAIL:** Blocking issues found. Must fix and re-evaluate before implementation.

Verdicts

PASS

NEEDS WORK

FAIL

Common Blocking Issues

| Issue | Why It Blocks |

|-------|---------------|

| Missing contract for stated scope | Implementer won't know what to build |

| Undefined type referenced | Code won't compile |

| Default parameter in signature | No-invented-values violation |

| Phase dependency violation | Phase N can't be built |

| Ambiguous return type | Implementer will guess wrong |

Common Warnings

| Issue | Why It's a Warning |

|-------|-------------------|

| Vague error message | Implementation will work but be unhelpful |

| Missing edge case | Might cause bug but not blocking |

| Inconsistent naming | Annoying but not fatal |

| Demo doesn't fully exercise contract | Partial verification |

After Evaluation

Tips for Evaluators

  1. Be skeptical — Assume the spec has problems until proven otherwise
  2. Read literally — Don't fill in gaps with what you think they meant
  3. Think like a lazy implementer — What's the minimal interpretation?
  4. Think like a malicious implementer — What technically satisfies the spec but is wrong?
  5. Check the edges — Empty lists, None values, zero counts, boundary conditions
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.