Prd to plan

From softspark/ai-toolkit · View interactive version

Prd to plan is an AI agent skill from the GitHub repository softspark/ai-toolkit. Converts PRD into phased plan via tracer-bullet vertical slices. Triggers: PRD to plan, break down PRD, implementation plan, tracer bullets, phased plan.

How to use this skill

Skill file

PRD to Plan

$ARGUMENTS

Break a PRD into a phased implementation plan using vertical slices (tracer bullets). Output is a Markdown file in ./plans/.

Usage

/prd-to-plan [PRD issue number or description]

What This Command Does

  1. Loads the PRD (from GitHub issue or conversation)
  2. Explores the codebase to understand architecture
  3. Identifies durable architectural decisions
  4. Drafts vertical slices (tracer bullets)
  5. Quizzes user on granularity
  6. Writes plan file to ./plans/

Process

1. Confirm PRD is in Context

If not provided, ask for the PRD GitHub issue number or content. Fetch with gh issue view <number> if needed.

2. Explore the Codebase

Use Agent (subagent_type=Explore) to understand current architecture, existing patterns, and integration layers.

3. Identify Durable Architectural Decisions

Before slicing, identify decisions unlikely to change:

4. Draft Vertical Slices

Break PRD into tracer bullet phases. Each phase is a thin vertical slice cutting through ALL layers end-to-end.

| Rule | Description |

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

| Complete path | Each slice delivers narrow but COMPLETE path through every layer (schema, API, UI, tests) |

| Demoable | A completed slice is demoable or verifiable on its own |

| Thin over thick | Prefer many thin slices over few thick ones |

| Durable | Do NOT include file names, function names, or implementation details likely to change |

| Include decisions | DO include durable decisions: route paths, schema shapes, data model names |

5. Quiz the User

Present breakdown as numbered list. For each phase show:

Ask:

Iterate until approved.

6. Write Plan File

Create ./plans/ if needed. Write as ./plans/{feature-name}.md.

Plan Template

# Plan: {Feature Name}

> Source PRD: #{issue-number}

## Architectural Decisions

Durable decisions that apply across all phases:

- **Routes**: ...
- **Schema**: ...
- **Key models**: ...

---

## Phase 1: {Title}

**User stories**: {list from PRD}

### What to build

Concise description of this vertical slice. End-to-end behavior, not layer-by-layer.

### Acceptance criteria

- [ ] Criterion 1
- [ ] Criterion 2

---

## Phase 2: {Title}

(repeat for each phase)

Rules

Gotchas

When NOT to Use

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.