Create implementation plan files with dependency analysis and parallel execution support. Breaks down complex features into multiple self-contained plans with proper dependency tracking...
You are now executing the planner-create skill. Follow these steps immediately:
Agent Reference: This skill uses the plan-creator agent (@agents/plan-creator.md) to perform the actual plan creation work.
Template Reference: The default plan template is available at @templates/plan.TEMPLATE.md
Standards Reference: Convention files are available at @templates/standards/
Read the user's project configuration to understand the plan creation strategy:
Read configuration file: Read plans/planner.config.json
smart_parallelismUse default: If file not found or invalid:
smart_parallelism = falseThis affects dependency creation:
true: Aggressive parallelization (fewer dependencies, more parallel plans)false: Conservative dependencies (safer sequential execution)Check for a plan template to ensure consistent plan structure:
Check user's project first: Use Glob to check if plans/plan.TEMPLATE.md exists
template_contenttemplate_source = "project"Fall back to plugin default: If not found in project:
templates/plan.TEMPLATE.md from plugin directorytemplate_contenttemplate_source = "default"Check for convention files: Use Glob to check if plans/standards/*.md exists
convention_filesTemplate affects plan structure:
{{PLACEHOLDER}}) guide content placement@mentions are preserved for referenceUnderstand the current project structure:
plans/*.plan.md (only plan files, not specs or templates)existing_plans for contextCRITICAL: You MUST spawn the plan-creator agent now using the Task tool.
This is NOT optional - the agent performs the actual plan creation work.
Use the Task tool with these exact parameters:
Task tool parameters:
description: "Create plans for: [short summary]"
subagent_type: "planner:plan-creator"
prompt: |
description: "[user's full feature description]"
prefix: "[provided prefix or inferred from description]"
smart_parallelism: [true/false from Step 1]
template_source: [project/default]
template_content: |
[TEMPLATE CONTENT IF FROM PROJECT, OR "use built-in default"]
convention_files:
[LIST OF CONVENTION FILE PATHS, OR "use built-in conventions"]
existing_plans:
[LIST OF EXISTING PLAN FILES]
naming_conventions:
[DETECTED PATTERNS FROM EXISTING PLANS]
IMPORTANT: Follow the template structure when creating plans.
Include @mentions to convention files in the Standards section.
BEGIN CREATION.
Important: Do NOT just gather information - you MUST call the Task tool to spawn the agent.
After the agent completes, show the creation result:
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
Plans Created Successfully
Feature: [feature description]
Prefix: [prefix used]
Plans created: [N]
Template: [project custom / plugin default]
Plan Execution Order:
Round 1 (parallel): [list of independent plans]
Round 2: [plans depending on Round 1]
Round 3: [plans depending on Round 2]
...
Files created:
- plans/[plan-01].plan.md
- plans/[plan-02].plan.md
- plans/[plan-03].plan.md
- Updated plans/PROGRESS.md
To execute:
/planner:batch --prefix=[prefix]
OR
/planner:batch [plan-01].plan.md [plan-02].plan.md ...
Smart Parallelism: [enabled/disabled]
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
If extra sections were needed:
Note: The following sections were added beyond the template:
- [section name]: [reason]
When creating plans for a feature, this skill:
plans/planner.config.jsonplans/PROGRESS.mdThe planner uses a template system for consistent plan creation:
Project Template (plans/plan.TEMPLATE.md):
/planner:eject-template planPlugin Default Template:
Convention Files (plans/standards/*.md):
@templates/standards/[name].mdThe smart_parallelism setting in plans/planner.config.json affects how aggressively plans are parallelized:
When true (Aggressive):
When false (Conservative):
Each created plan follows the template structure and includes:
# Configuration
depends_on: "prefix-00-setup.md"
# Plan: prefix-01-database.md
## Objective
[What this plan accomplishes]
## Context
[Relevant codebase context]
## Implementation Steps
### Step 1: [Title]
[Details]
## Files to Modify
| File | Action | Description |
| ---- | ------ | ----------- |
## Standards & Conventions
@templates/standards/coding-style.md
@templates/standards/error-handling.md
## Testing Instructions
[How to verify the changes work]
## Completion
Update plans/PROGRESS.md to mark this plan as COMPLETED.
User: Create plans for user authentication with JWT
Step 1: Read smart_parallelism
ā Found: smart_parallelism: true
Step 2: Detect template
ā Found: plans/plan.TEMPLATE.md (project custom)
ā Found: plans/standards/*.md (8 convention files)
Step 3: Analyze existing plans
ā Found naming pattern: "feature-NN-name.plan.md"
ā Detected numbering scheme: 00, 01, 02, etc.
Step 4: Spawn plan-creator agent
ā Passes config, description, template, and conventions
Agent creates:
ā auth-00-setup.plan.md (no deps)
ā auth-01-database.plan.md (depends on: 00)
ā auth-02-jwt-service.plan.md (depends on: 01)
ā auth-03-api.plan.md (depends on: 02)
ā auth-04-tests.plan.md (no deps - can run in parallel)
Updates PROGRESS.md:
ā Added 5 new plans
Report:
ā Round 1: auth-00-setup.plan.md, auth-04-tests.plan.md
ā Round 2: auth-01-database.plan.md
ā Round 3: auth-02-jwt-service.plan.md
ā Round 4: auth-03-api.plan.md
Suggested command: /planner:batch --prefix=auth