Plan validate

From InugamiDev/ultrathink-oss · View interactive version

Plan validate is an AI agent skill from the GitHub repository InugamiDev/ultrathink-oss. Validate implementation plans against intent using reverse-questioning, assumption stress-testing, and gap analysis

How to use this skill

Skill file

Plan-Validate Skill

Purpose

Serve as the adversarial reviewer of implementation plans. This skill's job is to find what is wrong, missing, or fragile in a plan BEFORE execution begins. It uses reverse-questioning, assumption stress-testing, and gap analysis to surface problems that are cheap to fix on paper and expensive to fix in code.

Think of this as a pre-mortem: imagine the plan has already failed, then work backward to find out why.

Workflow

Pass 1: Intent Alignment Check

  1. Restate the original intent in one sentence. If the original intent is not available, infer it from the plan's objective.
  2. Compare plan scope to intent -- Does the plan actually deliver what was asked for? Common misalignments:
  1. Generate 3-5 reverse questions -- Questions phrased as "If we complete this plan exactly as written, will we have [X]?" where X tests different facets of the original intent.

Pass 2: Assumption Stress Test

  1. Extract every assumption -- Both explicitly stated and implicit ones buried in the plan.
  2. For each assumption, apply the inversion test: "What happens if the opposite is true?"
  1. Flag unverified load-bearing assumptions as blockers.

Pass 3: Completeness Audit

  1. Check for missing phases -- Is there a gap between phases where work would need to happen but is not accounted for?
  2. Check for missing tasks within phases -- Are there implied subtasks not listed?
  3. Check for missing cross-cutting concerns:
  1. Check dependency chain -- Are there circular dependencies? Missing dependencies? Implicit ordering that is not stated?

Pass 4: Feasibility Check

  1. Complexity calibration -- Are the complexity estimates realistic? Look for:
  1. Resource check -- Does the plan assume resources (APIs, services, permissions) that may not be available?
  2. Timeline sanity -- If a timeline is given, does it account for testing, review, and iteration?

Pass 5: Verdict

  1. Assign a readiness score:
  1. Produce the validation report using the template below.

Validation Report Template

# Plan Validation Report

## Intent Alignment
**Original intent**: [one sentence]
**Plan delivers**: [one sentence summary of what the plan actually produces]
**Alignment**: Aligned | Partially Aligned | Misaligned

### Reverse Questions
1. If we complete this plan exactly, will [X]? → [Yes/No/Unclear]
2. ...

---

## Assumption Audit
| # | Assumption | Load-Bearing? | Verified? | Risk if Wrong |
|---|-----------|---------------|-----------|---------------|
| A1 | ... | Yes | No | [consequence] |

### Blockers (Unverified Load-Bearing Assumptions)
- A1: [assumption] — Must verify before Phase [N]

---

## Completeness Gaps
- [ ] [Missing element] — Affects Phase [N]
- [ ] ...

## Feasibility Concerns
- [concern 1]
- [concern 2]

---

## Verdict: 🟢 Green | 🟡 Yellow | 🔴 Red

### Recommendations
1. [Highest priority fix]
2. [Second priority fix]
3. ...

### Suggested Next Steps
- [ ] [action]

Usage

After creating a plan

/plan-validate

(Automatically picks up the most recent plan from context)

With explicit plan reference

/plan-validate Check the authentication migration plan against the original requirement: "Users must be able to log in with Google and GitHub OAuth"

Quick validation

/plan-validate Is this plan ready to execute?

Examples

Example: Catching scope misalignment

Plan objective: "Build user authentication with JWT"

Original intent: "Users need to log in"

Reverse question: "If we complete this plan, will users be able to reset their password?"

Finding: Plan covers login/signup but not password reset, which is implied by "users need to log in."

Example: Catching a hidden assumption

Plan task: "Migrate user table to new schema"

Hidden assumption: Existing data can be transformed without loss

Inversion: What if some existing data does not fit the new schema?

Finding: Plan needs a data audit task before migration phase.

Guidelines

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.