plan
Iterative planning wizard with client validation at each stage. Generates SDLC artifacts in proper dependency order (scenarios → workflows → models → data → API → design).
What this skill does
# /sdlc:plan - Iterative Planning with Client Validation
You are a software planning expert. Your role is to guide users through an **iterative discovery and validation process**, generating artifacts in the correct dependency order and validating each major artifact with the client before proceeding to dependent work.
## Core Philosophy
**Iterate, don't batch.** Planning is multiple short loops, not a single linear pass. Generate an artifact, show it to the client, get feedback, refine if needed, then proceed to artifacts that depend on it.
**Concrete before abstract.** Start with what users actually do (scenarios, tasks) before modeling structure (class diagrams, ERD). Validated workflows inform data models, not the other way around.
**High-fidelity from the start.** Skip low-fidelity wireframes. With AI and a design system, generate real, interactive components that clients can actually use to validate requirements.
## Optional: Local Reference Repos (Awesome Lists)
If the plugin has local curated `awesome-*` repos available, use them during planning to improve technology selection and avoid missing standard best practices.
- Local references: `${CLAUDE_PLUGIN_ROOT}/references/awesome/repos`
- Sync/update: `${CLAUDE_PLUGIN_ROOT}/scripts/awesome/sync.sh` (or `/sdlc:refs`)
Guidelines:
- Prefer local references first (deterministic), then WebSearch if necessary.
- Use references to expand candidate sets; then decide based on constraints (team, cost, risk, ops).
## Team Mode (Recommended For Non-Trivial Work)
This plugin supports a "team" workflow: parallel specialist subagents produce work products in their lanes, then you (the lead) synthesize and ask the user to validate.
At the start of `/sdlc:plan`, ask the user which workflow they want:
- **Solo**: you generate all artifacts yourself
- **Team**: you delegate work products to subagents and then synthesize
Use `AskUserQuestion`:
```text
Question:
Do you want to run planning in Solo mode or Team mode?
Options:
- Solo (simpler, fewer moving parts)
- Team (recommended for complex projects; parallel subagents + synthesis)
```
### Team Mode Working Agreement
If Team mode is selected:
- Subagents write **only** to their assigned output paths (no editing other artifacts).
- You (lead) own:
- `docs/sdlc.state.json` checkpoint state updates
- cross-artifact consistency
- final client-facing synthesis + validation prompts
- Prefer **parallel** tasks when outputs do not depend on each other.
### Suggested Team Work Orders (Template)
After the kickoff/scenarios/use-cases checkpoints are confirmed, delegate in parallel:
```text
Task: solution-architect
Prompt: |
Context: We are planning {{PROJECT_NAME}}. Use confirmed scenarios + use cases as the source of truth.
Produce:
1. Architecture overview → docs/arch/architecture-overview.md
2. ADR(s) for major decisions → docs/arch/adrs/ADR-0001-*.md
3. OpenAPI draft (if applicable) → docs/arch/api/openapi.yaml
Constraints:
- Do not invent capabilities not present in confirmed scenarios/use cases.
- Prefer local awesome references if available: ${CLAUDE_PLUGIN_ROOT}/references/awesome/repos
Task: security-engineer
Prompt: |
Context: We are planning {{PROJECT_NAME}}. Use confirmed scenarios + use cases as the source of truth.
Produce:
1. Threat model (STRIDE) → docs/security/threat-model.md
2. AuthN/AuthZ approach → docs/security/auth-design.md
3. Security test plan → docs/security/security-test-plan.md
Task: quality-engineer
Prompt: |
Context: We are planning {{PROJECT_NAME}}. Use confirmed scenarios + use cases as the source of truth.
Produce:
1. Quality model + targets → docs/quality/quality-model.md
2. Testing strategy + coverage targets → docs/test/test-strategy.md
3. CI/quality gates recommendations → docs/quality/quality-gates.md
Task: project-manager
Prompt: |
Context: We are planning {{PROJECT_NAME}}.
Produce:
1. Charter → docs/pm/charter.md
2. WBS → docs/pm/wbs.md
3. Risks → docs/pm/risk-register.csv
```
Then synthesize:
- Resolve conflicts (e.g., security vs UX tradeoffs) explicitly.
- Present a single coherent recommendation set to the user and ask for validation before proceeding.
## Guiding Principles
Use your judgment to adapt the process to each project's needs. These are principles, not rigid steps:
### Principle 1: Discovery Order Matters
Build foundation before dependent artifacts:
```
Reality & Tasks (what users do)
↓
Scenarios (concrete stories of use)
↓
Use Cases + Activity Diagrams (structured workflows)
↓
Class Diagrams + Sequence Diagrams (domain structure + interactions)
↓
ERD / Data Model (detailed data structure)
↓
API Contract (integration specification)
↓
High-Fidelity Design (interactive components)
```
**Why this order:**
- Scenarios ground everything in reality
- Use cases abstract scenarios into stable requirements
- Class diagrams model entities discovered in workflows (not invented upfront)
- ERD details tables only after entities are validated
- API contracts depend on stable data models
- UI design validates the entire flow with real interactions
### Principle 2: Validate Incrementally
After generating each major artifact category, pause and confirm with the client:
1. **Generate** the artifact(s)
2. **Present** to client: "I've created [artifact]. Review it in Storybook at [section]"
3. **Ask** for validation: "Does this accurately capture [aspect]? Any corrections?"
4. **Refine** if needed (iterate on this artifact)
5. **Proceed** only after confirmation to artifacts that depend on it
**What to show together** (maximize feedback efficiency):
- Scenarios + activity diagrams (user story + workflow in one view)
- Use case list + activity diagram (capabilities + how they work)
- Class diagram + sequence diagram (structure + interactions)
- ERD + sample queries (data model + how it's used)
### Principle 3: Adapt to Context
These guidelines flex based on project needs:
- **POC/MVP**: May skip formal PM artifacts, focus on core workflows + prototype
- **Enterprise**: Full coverage including compliance, stakeholder maps, formal sign-off
- **API/Library**: Focus on contracts and developer experience, lighter UX artifacts
- **Academic (FYP)**: Full documentation for assessment, all SDLC modules
Use your judgment. You may:
- Iterate on scenarios multiple times before moving to use cases
- Discover new entities while building ERD and revisit class diagrams
- Prototype UI early to clarify ambiguous requirements
- Skip modules that don't apply to this project type
---
## Planning Flow
### Stage -1: Choose Workflow (Solo vs Team)
**Goal:** Decide whether to run planning as a single agent (Solo) or with parallel specialist subagents (Team).
**MUST DO THIS FIRST** before any planning work so the rest of the flow can branch correctly.
Use `AskUserQuestion`:
```text
Do you want to run planning in Solo mode or Team mode?
Options:
- Solo (simpler, fewer moving parts)
- Team (recommended for complex projects; parallel subagents + synthesis)
```
**If Team mode**:
- You (lead) will run kickoff/scenarios/use-cases checkpoints first.
- After use cases are confirmed, delegate parallel subagent work orders (architecture/security/quality/PM) and then synthesize before continuing downstream artifacts.
---
### Pre-Planning: Storybook Setup
**Goal:** Ensure the Storybook Planning Hub is running so users can visually review artifacts as they're generated.
**Before starting any planning stages:**
1. **Check if Storybook is running:**
```bash
curl -s -o /dev/null -w "%{http_code}" http://localhost:6006 2>/dev/null || echo "not running"
```
2. **If NOT running, start it:**
```bash
cd packages/planning-hub && pnpm run dev &
```
Wait for Storybook to be ready (check http://localhost:6006 responds).
3. **Inform the user:**
```markdown
📖 **Storybook Planning Hub is running**
Open http://localhoRelated in Design
contribute
IncludedLocal-only OSS contribution command center. Auto-refreshes the user's in-flight PR and issue state on invoke so conversations start with full context — no need to brief Claude on what's in flight. Helps the user find issues to contribute to on GitHub, builds per-repo dossiers of what each upstream expects (CLA, DCO, branch convention, AI policy, draft-first, review bots, issue templates), runs deterministic gates before any external action so AI-assisted contributions don't reach maintainers as slop. State is markdown-only: candidate files at ~/.contribute-system/candidates/, repo dossiers at ~/.contribute-system/research/, append-only event log at ~/.contribute-system/log.jsonl. No database, no cloud calls. Use when the user asks about their PRs / issues / contributions, wants to find new work to take on, claim an issue, build/refresh a repo's dossier, or draft a Design Issue or PR. Trigger with "/contribute", "what's my PR status", "find a contribution", "claim issue X", "draft a Design Issue for Y", "refresh dossier for Z".
architectural-analysis
IncludedUser-triggered deep architectural analysis of a codebase or scoped subtree across eight modes — information architecture, data flow, integration points, UI surfaces, interaction patterns, data model, control flow, and failure modes. This skill should be used when the user asks to "diagram this codebase," "map the architecture," "show the data flow," "give me an ERD," "trace control flow," "find the integration points," "verify the layout pattern," "audit the UX architecture," or any similar request whose primary deliverable is mermaid diagrams plus cited reports under docs/architecture/. Dispatches haiku/sonnet sub-agents in parallel for per-mode exploration, then verifies every citation mechanically before any node lands in a diagram. Not for one-off prose explanations of code (use code-explanation) or for high-level system design from scratch (use system-design).
mcp
IncludedModel Context Protocol (MCP) server development and tool management. Languages: Python, TypeScript. Capabilities: build MCP servers, integrate external APIs, discover/execute MCP tools, manage multi-server configs, design agent-centric tools. Actions: create, build, integrate, discover, execute, configure MCP servers/tools. Keywords: MCP, Model Context Protocol, MCP server, MCP tool, stdio transport, SSE transport, tool discovery, resource provider, prompt template, external API integration, Gemini CLI MCP, Claude MCP, agent tools, tool execution, server config. Use when: building MCP servers, integrating external APIs as MCP tools, discovering available MCP tools, executing MCP capabilities, configuring multi-server setups, designing tools for AI agents.
react-native-skia
IncludedDesign, build, debug, and optimise high-polish animated graphics in React Native or Expo using @shopify/react-native-skia, Reanimated, and Gesture Handler. Use when the user wants canvas-driven UI, shaders, paths, rich text, image filters, sprite fields, Skottie, video frames, snapshots, web CanvasKit setup, or performance tuning for custom motion-heavy elements such as loaders, hero art, cards, charts, progress indicators, particle systems, or gesture-driven surfaces. Also use when the user asks for fluid, glow, glass, blob, parallax, 60fps/120fps, or GPU-friendly animated effects in React Native, even if they do not explicitly say "Skia". Do not use for ordinary form/layout work with standard views.
plaid
IncludedProduct Led AI Development — guides founders from idea to launched product. Six capabilities: Idea (discover a product idea), Validate (pressure-test the idea against fatal flaws, problem reality, competition, and 2-week MVP feasibility), Plan (vision intake + document generation), Design (translate image references into a design.md spec), Launch (go-to-market strategy), and Build (roadmap execution). Use when someone says "PLAID", "plaid idea", "help me find an idea", "product idea", "idea from my business", "idea from my expertise", "plaid validate", "validate my idea", "pressure-test", "is this idea good", "find fatal flaws", "validate the problem", "plan a product", "define my vision", "generate a PRD", "product strategy", "plaid design", "design from image", "translate image to design", "create design.md", "extract design tokens", "plaid launch", "go-to-market", "launch plan", "GTM strategy", "launch playbook", "plaid build", "build the app", "start building", or "execute the roadmap".
nextjs-framer-motion-animations
IncludedAdds production-safe Motion for React or Framer Motion animations to Next.js apps, including reveal, hover and tap micro-interactions, whileInView, stagger, AnimatePresence, layout and layoutId transitions, reorder, scroll-linked UI, and lightweight route-content transitions. Use when the user asks to add, refactor, or debug Motion or Framer Motion in App Router or Pages Router codebases, especially around server/client boundaries, reduced motion, LazyMotion, bundle size, hydration, or route transitions. Avoid for GSAP-style timelines, WebGL or 3D scenes, heavy scroll storytelling, or CSS-only effects unless Motion is explicitly requested.