Plan

From InugamiDev/ultrathink-oss · View interactive version

Plan is an AI agent skill from the GitHub repository InugamiDev/ultrathink-oss. Create phased implementation plans with risks, assumptions, milestones, and verification criteria

How to use this skill

Skill file

Plan Skill

Purpose

Create structured, phased implementation plans that transform vague goals into actionable sequences of work. Plans produced by this skill are designed to be validated (via plan-validate), tracked (via kanban), and executed (via cook or team orchestrators).

A good plan is not a wish list. It is a contract with reality that names its own assumptions and failure modes.

Workflow

Phase 1: Goal Decomposition

  1. Clarify the objective -- Restate the user's goal in precise, testable terms. If the goal is ambiguous, ask exactly one round of clarifying questions (max 3 questions).
  2. Identify scope boundaries -- What is IN scope vs. OUT of scope. Be explicit.
  3. Map constraints -- Technical (stack, APIs, infra), temporal (deadlines), resource (single dev vs. team), and quality (MVP vs. production-grade).

Phase 2: Reconnaissance

  1. Invoke scout if needed -- If the plan requires understanding existing code, trigger scout to map the relevant codebase areas.
  2. Invoke research if needed -- If the plan involves unfamiliar technology or domain, trigger research to gather context.
  3. Inventory existing assets -- What already exists that can be reused? What must be built from scratch?

Phase 3: Plan Construction

  1. Define phases -- Break work into 2-5 sequential phases. Each phase must be independently deliverable (produces a working state).
  2. For each phase, specify:
  1. Identify cross-cutting concerns -- Testing strategy, error handling, accessibility, performance targets.

Phase 4: Risk Assessment

  1. List assumptions -- Every assumption the plan relies on. Mark each as verified or unverified.
  2. Identify risks -- Things that could go wrong. For each risk:
  1. Flag unknowns -- Things you do not know and cannot estimate. These are not risks; they are gaps that need research.

Phase 5: Output

  1. Format the plan using the template below.
  2. Recommend next steps -- Typically plan-validate to stress-test the plan, or kanban to begin tracking.

Plan Template

# Plan: [Title]

## Objective
[One sentence. Testable.]

## Scope
- **In scope**: ...
- **Out of scope**: ...

## Constraints
- [constraint 1]
- [constraint 2]

---

## Phase 1: [Name] (Complexity: Low/Med/High)
**Goal**: ...
**Dependencies**: None | [list]
**Tasks**:
1. [ ] Task description
2. [ ] Task description
**Deliverables**: [list of concrete outputs]
**Verification**: [how to confirm completeness]

## Phase 2: [Name] (Complexity: Low/Med/High)
...

---

## Assumptions
| # | Assumption | Status |
|---|-----------|--------|
| A1 | ... | Unverified |
| A2 | ... | Verified |

## Risks
| # | Risk | Likelihood | Impact | Mitigation |
|---|------|-----------|--------|------------|
| R1 | ... | Medium | High | ... |

## Unknowns
- [thing we do not know yet]

## Recommended Next Steps
- [ ] Validate plan with `plan-validate`
- [ ] Create kanban board with `kanban`

Usage

Basic

/plan Build a REST API for user authentication with JWT tokens

With constraints

/plan Build a REST API for user authentication
Constraints: Next.js API routes, Prisma ORM, PostgreSQL, must support OAuth2 Google login, 2-day timeline

With context

/plan Add real-time notifications to the existing chat feature
Context: We already have WebSocket infrastructure in /lib/ws.ts, using Socket.io v4

Examples

Example 1: Simple feature plan

Input: "Plan adding dark mode to the app"

Output structure:

Example 2: Complex system plan

Input: "Plan migrating from REST to GraphQL"

Output structure:

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.