agentleFS
nathanchasenathanchase/claude-code-starter/.claude/skills/plan-analyzer/SKILL.md

plan-analyzer

Skill1 starsChanged 5 months agoMITView on GitHub

Analyze a plan .md file for issues, concerns, and improvements. Verifies assumptions against the actual codebase and provides direct actionable feedback.

The file

We split this skill into the rules it gives an agent

12 rules. About 0 are common, 12 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈12

    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
  1. Distinctive:

    Read the plan file. Identify:

    line 21
  2. Distinctive:

    Read the file — confirm the line numbers, variable names, and structure match the plan's description

    line 32
  3. Distinctive:

    Check that the plan's "current approach" column accurately describes what exists

    line 33
  4. Distinctive:

    Look for edge cases the plan may not have considered

    line 41
  5. Distinctive:

    Search for existing precedents in the codebase (does this pattern already exist?

    line 44
  6. Distinctive:

    Check if the approach conflicts with existing abstractions

    line 45
  7. Distinctive:

    Do reactive dependencies chain correctly (watchers, computed, refs)?

    line 54
  8. Distinctive:

    Do changes to shared utilities (composables, stores, utils) affect other consumers?

    line 62
  9. Distinctive:

    If the user updates the plan and asks for re-review:

    line 107
  10. Distinctive:

    Check each previously raised concern against the updated text

    line 109
  11. Distinctive:

    Call out which issues were addressed well, which were partially addressed, and which remain

    line 110
  12. Distinctive:

    Only raise new concerns if the update introduced them

    line 111

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

Plan Analyzer

Critically review an implementation plan file against the actual codebase. Verify every assumption, identify risks, and provide direct actionable feedback.

Input

The user provides a path to a .md plan file (typically in ~/.claude/plans/). If no path is given, check ~/.claude/plans/ for the most recently modified .md file and confirm with the user.

Workflow

Step 1: Read and Parse the Plan

Read the plan file. Identify:

  • Files referenced — every file path mentioned as created, modified, or explicitly not modified
  • Assumptions — stated invariants, safety claims, behavioral expectations
  • Data flow — how state moves between composables/components/stores
  • Risk areas — anything marked "Medium" or "High" risk, or touching shared utilities

Step 2: Verify Against Codebase (Parallel)

Launch parallel reads/searches to verify the plan's claims:

For every file listed as modified:

  • Read the file — confirm the line numbers, variable names, and structure match the plan's description
  • Check that the plan's "current approach" column accurately describes what exists

For every file listed as NOT modified:

  • Grep for the key patterns the plan claims are untouched (watchers, computed properties, keys)
  • Confirm no hidden coupling would be affected by the proposed changes

For stated invariants:

  • Trace the actual code path to verify the claim holds
  • Look for edge cases the plan may not have considered

For new patterns introduced:

  • Search for existing precedents in the codebase (does this pattern already exist? is there a convention?)
  • Check if the approach conflicts with existing abstractions

Step 3: Analyze for Issues

Evaluate each aspect with specific attention to:

Correctness

  • Will the proposed code actually work as described?
  • Are there race conditions, timing issues, or ordering dependencies?
  • Do reactive dependencies chain correctly (watchers, computed, refs)?

Completeness

  • Are all affected files accounted for? Grep for usages of modified APIs/exports
  • Are edge cases covered? (empty states, error states, SSR vs client, navigation patterns)
  • Does the test plan cover the critical paths and the stated invariants?

Coupling & Side Effects

  • Do changes to shared utilities (composables, stores, utils) affect other consumers?
  • Are there implicit dependencies through global state (useState, stores, provide/inject)?
  • Could the changes cause hydration mismatches?

Implementation Order

  • Can the steps actually be executed in the stated order?
  • Are there hidden dependencies between steps?
  • Can intermediate steps be tested independently?

Step 4: Present Findings

Structure feedback as a direct assessment:

## What's solid
- [Briefly note what the plan gets right — validates confidence in the approach]

## Issues and concerns

**1. [Issue title] (HIGH/MEDIUM/LOW RISK)**
[Explanation with specific file:line references]
[Why it's a problem]
**Suggestion:** [Concrete fix]

**2. [Next issue]...**

## Summary of recommended changes

| Priority | Issue | Action |
|----------|-------|--------|
| High | ... | ... |
| Medium | ... | ... |
| Low | ... | ... |

## Verdict
[Ready to implement / Needs revisions / Needs rethinking]

Severity levels:

  • HIGH — Will cause bugs, data loss, or regressions if not fixed
  • MEDIUM — Creates maintenance burden, hidden coupling, or fragile behavior
  • LOW — Stylistic, minor UX concern, or nice-to-have improvement

Step 5: On Re-review

If the user updates the plan and asks for re-review:

  • Re-read the file
  • Check each previously raised concern against the updated text
  • Call out which issues were addressed well, which were partially addressed, and which remain
  • Only raise new concerns if the update introduced them

Principles

  • Verify, don't trust — read the actual files, don't take the plan's descriptions at face value
  • Be specific — reference file:line, show the actual code that contradicts or confirms claims
  • Be actionable — every concern must have a concrete suggestion
  • Don't nitpick — focus on things that would cause bugs or maintenance pain, not style preferences
  • Acknowledge what's good — plans that correctly identify risks and invariants deserve recognition

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.