agentleFS
eprouvezeeprouveze/claude-skills/skills/evaluate-plan/SKILL.md

evaluate-plan

Skill0 starsChanged 5 months agoMITView on GitHub

Evaluate an implementation plan against its source requirements (PRD, spec, or user request) to identify gaps, dropped features, and lost intent. Use when the user says "evaluate plan", "verify plan", "check the plan", "what did it miss", "plan coverage", or "validate plan".

The file

We split this skill into the rules it gives an agent

9 rules. About 0 are common, 9 are distinctive, and 0 are 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.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  • could be automatic: a setting could enforce it
  1. Distinctive:

    If multiple sources exist, treat them as a combined requirement set.

    line 33
  2. Distinctive:

    Read the source and extract every discrete requirement into a flat checklist:

    line 43
  3. Distinctive:

    Do not merge for convenience — "user management" is not one requirement.

    line 62
  4. Distinctive:

    After presenting the report:

    line 120
  5. Distinctive:

    Ask if the user wants them addressed.

    line 123
  6. Distinctive:

    If coverage < 95%: Ask "Should I update the plan to address these gaps?"

    line 124
  7. Distinctive:

    Add specific implementation notes for previously missing items

    line 128
  8. Distinctive:

    After patching the plan, run Phases 2-4 again on the updated plan.

    line 133
  9. Distinctive:

    "Why" context is a requirement too: If the plan drops the rationale, downstream decisions get made without it.

    line 149

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Evaluate Plan

Systematically verify that an AI-generated implementation plan fully covers its source requirements.

Context: First-pass plans silently drop ~20-40% of explicit requirements. A structured coverage check recovers most gaps. This skill forces a coverage-first second pass.

Phase 1: Identify the Source of Truth

Locate the document(s) the plan was built from:

  • A PRD, spec, feature brief, or user story set
  • An intent document or voice transcript
  • The original user request in this conversation
  • A file path provided as argument (e.g., evaluate plan against @prd.md)

If multiple sources exist, treat them as a combined requirement set.

If no explicit document exists: reconstruct the requirement set from the user's messages in the current conversation. Quote the original requests.

Rule: The source document is the authority. If something is in the source but not the plan, it is a gap — regardless of whether the plan's approach seems reasonable without it.

Phase 2: Extract Requirements Inventory

Read the source and extract every discrete requirement into a flat checklist:

CategoryWhat to Extract
Functional featuresEvery capability, behavior, or feature described
Interaction behaviorsClick, hover, drag, dismiss, keyboard, gesture behaviors
UX / emotional intentHow it should feel, experience goals, tone
Visual requirementsLayout, styling, animations, responsive behaviors
Data & stateWhat data is shown, stored, transformed, persisted
Error & edge casesEmpty states, fallbacks, timeouts, validation
Integration pointsAPIs, external services, auth, notifications
Non-functionalPerformance targets, accessibility, platform support
"Why" contextRationale or motivation — intent behind features

Extraction rules:

  • One requirement per line — do not bundle related items
  • Preserve original language where possible
  • Feelings and experiences are requirements
  • Implicit requirements count (e.g., "like Spotlight" implies global hotkey, float-above, escape-to-dismiss)
  • Do not merge for convenience — "user management" is not one requirement; break it into registration, login, password reset, roles, etc.

Phase 3: Evaluate Coverage

For each requirement, search the plan and assign a status:

StatusMeaningCriteria
✅ CoveredExplicitly addressedPlan describes how this will be implemented
🟡 PartialMentioned but incompletePlan references it but lacks specifics or only covers part
❌ MissingNot in the planNo mention, no inference, completely absent
⚠️ MisinterpretedPresent but wrongPlan addresses something that doesn't match source intent

Phase 4: Coverage Report

4a. Summary

COVERAGE REPORT
===============
Source: [document name(s) or "conversation context"]
Plan:   [plan name or "current plan in conversation"]
Total requirements: [N]

  ✅ Covered:         [n] ([%])
  🟡 Partial:         [n] ([%])
  ❌ Missing:          [n] ([%])
  ⚠️ Misinterpreted:   [n] ([%])

Coverage Score: [X]%

Score formula: (Covered + 0.5 * Partial) / Total * 100 Misinterpreted items count as 0 (same as Missing).

4b. Missing & Misinterpreted Items (sorted by impact)

❌ [Requirement summary]
   Source: "[exact quote from source]"
   Impact: High / Medium / Low
   Why it matters: [one sentence]

4c. Partial Coverage Items

🟡 [Requirement summary]
   Covered: [what the plan addresses]
   Gap:     [what's left out]

4d. Top Gaps (prioritized shortlist)

List the 5-10 highest-impact gaps most likely to produce a noticeably incomplete build.

Phase 5: Replan

After presenting the report:

  1. If coverage >= 95%: Report the score. Note any remaining gaps as "acknowledged ambiguities." Ask if the user wants them addressed.
  2. If coverage < 95%: Ask "Should I update the plan to address these gaps?"
  3. When replanning:
    • Integrate missing items into the existing plan structure (not as an appendix)
    • Preserve everything already covered
    • Add specific implementation notes for previously missing items
    • Flag genuinely ambiguous items that need user clarification

Phase 6: Re-evaluate

After patching the plan, run Phases 2-4 again on the updated plan.

PassExpected CoverageWhat Gets Found
Plan (no evaluation)~60-80%--
After 1st evaluation + replan~90-95%Core features, interaction behaviors, UX details
After 2nd evaluation + replan~95-100%Subtle intent, edge cases, ambiguous specs

Stop when: coverage >= 95% OR remaining gaps are items the user acknowledges as intentionally unspecified.

Known gotchas

  • The plan's framing is not the source of truth. Plans often restructure requirements in a way that sounds complete but drops items. Always check against the source.
  • Implicit requirements get missed. "Like Spotlight" implies a global hotkey, float-above, escape-to-dismiss, fuzzy search — extract them.
  • "Why" context is a requirement too. If the plan drops the rationale, downstream decisions get made without it.

Anti-patterns

  • Treating one pass as enough. First-pass plans drop 20–40% of explicit requirements; re-evaluation after replanning catches the long tail.
  • Merging related items for convenience. "User management" is not one requirement — break it into registration, login, password reset, roles, etc.
  • Scoring on the plan's vocabulary instead of the source's. If the source says "feels like Spotlight" and the plan says "command palette UI", do not declare that covered without checking the specific behaviors implied by "Spotlight".

Validated patterns

  • The score formula (Covered + 0.5×Partial) / Total × 100 calibrates well across plan sizes. 95% is the practical ceiling — below 90% almost always indicates a real gap, not a counting artifact.
  • Sorting missing items by impact, not by source order, is the single biggest readability win in the report.

Self-improvement

This skill ships with a lightweight feedback loop. Adopt or ignore — the skill works without it.

Trigger a review when:

  • The user explicitly disagrees with a coverage call (strongest signal — log immediately; 2–3 corrections on the same theme → promote to body).
  • A golden case that previously passed starts failing.
  • A novel input category recurs across sessions.
  • learnings.md crosses ~100 bullets (consolidation time).
  • The skill mis-triggers or fails to trigger.
  • The Claude model version changes.

Consolidation pass (5–10 min, weekly or threshold-driven):

  • Each entry gets one fate: apply, capture, or dismiss.
  • Apply = merge into Known gotchas / Anti-patterns / Validated patterns.
  • Capture = leave in learnings.md for now.
  • Dismiss = delete.
  • Bump last-consolidated: in frontmatter.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.