planner-eject-template
Export the default plan or spec template to your project's plans/ folder for customization. Supports "plan" and "spec" template types.
What this skill does
# Eject Template
You are now executing the planner-eject-template skill. Follow these steps immediately:
## Step 1: Parse Arguments
Parse `$ARGUMENTS` to determine the template type:
- **Expected values**: `plan` or `spec`
- **If empty or missing**: Use AskUserQuestion tool to prompt the user (see Step 1b)
- **If invalid value**: Show error with valid options
## Step 1b: Prompt User (if no arguments)
If `$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.
## Step 2: Handle Template Type
### If argument is `plan`:
Proceed to Step 3 with `template_type = "plan"`.
### If argument is `spec`:
Proceed to Step 3 with `template_type = "spec"`.
### If argument is invalid:
Output this error message and then use AskUserQuestion (Step 1b) to prompt for valid input:
```
════════════════════════════════════════
Invalid template type specified.
Valid types are: plan, spec
════════════════════════════════════════
```
## Step 3: Check Plans Directory
1. Use Glob to check if `plans/` directory exists
2. If it doesn't exist, inform the user:
```
════════════════════════════════════════
Error: plans/ directory not found
Please run /planner:setup first to initialize
the planner in your project.
════════════════════════════════════════
```
## Step 4: Check for Existing Template
**If `template_type = "plan"`:**
1. Check if `plans/plan.TEMPLATE.md` already exists
2. If it exists, ask for confirmation to overwrite (or skip if user passed `--force`)
**If `template_type = "spec"`:**
1. Check if `plans/spec.TEMPLATE.md` already exists
2. If it exists, ask for confirmation to overwrite (or skip if user passed `--force`)
## Step 5: Copy Template
**If `template_type = "plan"`:**
1. Read the default template from the plugin:
- Path: Find the plugin root and read `templates/plan.TEMPLATE.md`
- The plugin templates are located relative to this skill
2. Write the template to `plans/plan.TEMPLATE.md`
3. Also copy the standards directory:
- Create `plans/standards/` directory if it doesn't exist
- Copy all files from plugin's `templates/standards/` to `plans/standards/`
**If `template_type = "spec"`:**
1. Read the default spec template from the plugin:
- Path: Find the plugin root and read `templates/spec.TEMPLATE.md`
2. Write the template to `plans/spec.TEMPLATE.md`
3. Also copy the standards directory (if not already copied):
- Create `plans/standards/` directory if it doesn't exist
- Copy all files from plugin's `templates/standards/` to `plans/standards/`
## Step 6: Report Success
**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.
════════════════════════════════════════
```
---
## Implementation Notes
- The template uses `{{PLACEHOLDER}}` syntax for values to be filled in
- Convention files use `@` mentions that Claude can reference
- Users can customize the template structure while keeping core sections
- If the user's template is missing required sections, the creator agent will add them and notify the user
### Template Types
| 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 |
Related in Productivity
gitea-workflow
IncludedOrchestrate agile development workflows for Gitea repositories using the tea CLI. Use when working with Gitea-hosted repos and asking to 'run the workflow', 'continue working', 'what's next', 'complete the task cycle', 'start my day', 'end the sprint', 'implement the next task', or wanting guided step-by-step development assistance. Keywords: workflow, orchestrate, agile, task cycle, sprint, daily, implement, review, PR, standup, retrospective, gitea, tea.
microsoft-graph-gateway
IncludedRoute Microsoft Graph work in this workspace. Use when users want to read or write Outlook mail, calendar events, contacts, OneDrive or SharePoint files, Teams, Planner, To Do, users, groups, directory data, or arbitrary Microsoft Graph endpoints from VS Code. Prefer WorkIQ for common read scenarios. Use Microsoft Graph for write actions and gap-read scenarios that need exact Graph properties, filters, permissions, or endpoints.
copilotkit
IncludedUse when building with CopilotKit — setup, development, integrations, debugging, upgrading, or contributing. Routes to the appropriate specialized skill based on the task.
wordly-wisdom
IncludedProvides calibrated decision analysis using Charlie Munger-style multiple mental models, inversion, incentive mapping, circle-of-competence checks, misjudgment audits, second-order effects, and forecast updates. Use when the user asks for an oracle take, a hard call, a decision memo, a premortem, an outside view, a red-team, a sanity-check, what am I missing, think this through, or wants a strategy, hire, investment, plan, product, partnership, or major life choice analysed. Avoid for simple factual lookups or time-sensitive legal, medical, or market questions without fresh evidence.
swain-session
IncludedSession management and project status dashboard. Owns the full session lifecycle (start/work/close/resume), focus lane, bookmarks, worktree detection, and tab naming. Also serves as the project status dashboard — shows active epics, progress, actionable next steps, blocked items, tasks, GitHub issues, and recommendations. Worktree creation is deferred to swain-do task dispatch (SPEC-195). Triggers on: 'session', 'status', 'what's next', 'dashboard', 'overview', 'where are we', 'what should I work on', 'show me priorities', 'bookmark', 'focus on', 'session info'.
gandi
IncludedComprehensive Gandi domain registrar integration for domain and DNS management. Register and manage domains, create/update/delete DNS records (A, AAAA, CNAME, MX, TXT, SRV, and more), configure email forwarding and aliases, check SSL certificate status, create DNS snapshots for safe rollback, bulk update zone files, and monitor domain expiration. Supports multi-domain management, zone file import/export, and automated DNS backups. Includes both read-only and destructive operations with safety controls.