From planner
Export the default plan or spec template to your project's plans/ folder for customization. Supports "plan" and "spec" template types.
npx claudepluginhub djalmaaraujo/claude-code-plugins --plugin plannerThis skill is limited to using the following tools:
You are now executing the planner-eject-template skill. Follow these steps immediately:
Verifies tests pass on completed feature branch, presents options to merge locally, create GitHub PR, keep as-is or discard; executes choice and cleans up worktree.
Guides root cause investigation for bugs, test failures, unexpected behavior, performance issues, and build failures before proposing fixes.
Writes implementation plans from specs for multi-step tasks, mapping files and breaking into TDD bite-sized steps before coding.
Share bugs, ideas, or general feedback.
You are now executing the planner-eject-template skill. Follow these steps immediately:
Parse $ARGUMENTS to determine the template type:
plan or specIf $ARGUMENTS is empty or missing, use the AskUserQuestion tool to ask the user which template type they want to eject:
Question: "Which template would you like to eject?"
Header: "Template"
Options:
- label: "plan"
description: "Export the plan template for customizing how plans are created"
- label: "spec"
description: "Export the spec template for customizing how specifications are created"
After the user responds, continue with Step 2 using their selection.
plan:Proceed to Step 3 with template_type = "plan".
spec:Proceed to Step 3 with template_type = "spec".
Output this error message and then use AskUserQuestion (Step 1b) to prompt for valid input:
════════════════════════════════════════
Invalid template type specified.
Valid types are: plan, spec
════════════════════════════════════════
plans/ directory exists════════════════════════════════════════
Error: plans/ directory not found
Please run /planner:setup first to initialize
the planner in your project.
════════════════════════════════════════
If template_type = "plan":
plans/plan.TEMPLATE.md already exists--force)If template_type = "spec":
plans/spec.TEMPLATE.md already exists--force)If template_type = "plan":
Read the default template from the plugin:
templates/plan.TEMPLATE.mdWrite the template to plans/plan.TEMPLATE.md
Also copy the standards directory:
plans/standards/ directory if it doesn't existtemplates/standards/ to plans/standards/If template_type = "spec":
Read the default spec template from the plugin:
templates/spec.TEMPLATE.mdWrite the template to plans/spec.TEMPLATE.md
Also copy the standards directory (if not already copied):
plans/standards/ directory if it doesn't existtemplates/standards/ to plans/standards/If template_type = "plan":
════════════════════════════════════════
Plan Template Ejected Successfully
Files created:
plans/plan.TEMPLATE.md
plans/standards/general-development.md
plans/standards/error-handling.md
plans/standards/validation.md
plans/standards/code-commenting.md
plans/standards/coding-style.md
plans/standards/test-coverage.md
plans/standards/backward-compatibility.md
plans/standards/plan-execution.md
You can now customize these templates for your project.
The planner will use your custom template when creating
new plans.
Template placeholders use {{PLACEHOLDER}} syntax.
Edit the template to match your project's needs.
════════════════════════════════════════
If template_type = "spec":
════════════════════════════════════════
Spec Template Ejected Successfully
Files created:
plans/spec.TEMPLATE.md
plans/standards/general-development.md
plans/standards/error-handling.md
plans/standards/validation.md
plans/standards/code-commenting.md
plans/standards/coding-style.md
plans/standards/test-coverage.md
plans/standards/backward-compatibility.md
plans/standards/plan-execution.md
You can now customize the spec template for your project.
The spec-creator will use your custom template when creating
new specifications.
Template placeholders use {{PLACEHOLDER}} syntax.
Edit the template to match your project's needs.
The spec template includes 7 sections:
1. Front Matter
2. Introduction & Overview
3. Functional Requirements
4. Non-Functional Requirements
5. Design & Technical Details
6. Implementation & Logistics
7. Appendix
Customize these sections to fit your project's specification needs.
════════════════════════════════════════
{{PLACEHOLDER}} syntax for values to be filled in@ mentions that Claude can reference| Type | Source File | Destination | Purpose |
|---|---|---|---|
| plan | templates/plan.TEMPLATE.md | plans/plan.TEMPLATE.md | Customize plan creation |
| spec | templates/spec.TEMPLATE.md | plans/spec.TEMPLATE.md | Customize spec creation |