Deep research, interactive discussion, and action on a feature idea. You gather extensive context, present findings, discuss with the user, then execute whatever outcome they decide — write to roadmap, pull to backlog, plan, modify, or drop.
ultrathink
Phase 1: Input Resolution
Parse $ARGUMENTS — Determine if this is:
- Existing roadmap item: A reference to a feature in
ROADMAP.md (or similar roadmap file discovered from CLAUDE.md)
- New idea: A description of something NOT currently in the roadmap
Read the roadmap file — Look for ROADMAP.md in the project root (or discover the roadmap file path from CLAUDE.md). If found:
- Read the full file including its Conventions section (if any)
- Search for a matching section by exact heading match or keyword overlap
- If multiple matches, ask user to clarify
- If no match found, treat as a new idea
- Check existing features for overlap or conflict
- Note the file's structure and conventions for later use
Extract the feature spec — If existing item, extract the full section (Problem, Goal, Design, Architecture, Edge Cases, Implementation Order). If new idea, use $ARGUMENTS as the raw description.
Read CLAUDE.md — Load project context, tech stack, conventions. Extract the team name from the LINEAR INTEGRATION section if it exists.
Phase 2: Deep Research
Launch parallel research to build comprehensive context. Use Task agents for independent research streams. Launch all independent streams simultaneously.
Research Stream 1: Codebase Analysis
Use Task with subagent_type=Explore (thoroughness: "very thorough"). Explore the codebase for everything related to this feature:
- Current implementation — What exists today that's relevant? What would this feature touch?
- Architecture — How does the current system work in the affected areas?
- Patterns — What conventions and patterns are established?
- Tests — What test coverage exists in related areas?
- Dependencies — What libraries/APIs are already in use that relate?
Research Stream 2: External Research
Use Task with subagent_type=general-purpose and model=opus. Search the web for technical context:
- API feasibility — If the feature involves external APIs, research actual capabilities, pricing, limitations, regional coverage
- Technical approaches — How have others solved this? What are the trade-offs?
- Gotchas — Known issues, limitations, or surprises others have encountered
- User context relevance — Use project context from CLAUDE.md (target audience, deployment region, scale, constraints) to evaluate feasibility through the user's actual lens
CRITICAL: Look for real user experiences, developer forums, actual API responses — not just documentation promises or marketing pages. Evidence over claims.
Research Stream 3: Project Context
Use Task with subagent_type=Explore or direct tool calls. Check project state:
- Linear issues — Query existing Backlog/Todo/In Progress issues for related or overlapping work (if Linear MCP available)
- Roadmap dependencies — Does this feature depend on or block other roadmap items?
- Recent changes — Any recent commits or PRs that affect this area?
Research guidelines
- Launch independent streams in parallel for speed
- Each stream should return specific, evidence-based findings
- Include any relevant MCP context (deployment state, external API integrations) if they inform feasibility
- If the feature involves UI, examine existing component patterns and relevant pages
Phase 3: Analysis Report
After all research completes, synthesize findings into a concise report. Output directly to the conversation:
## Feature Analysis: [Feature Name]
### Current State
[What exists today in the codebase that's relevant. 2-3 sentences.]
### Key Findings
[Numbered list of the most important discoveries. Each finding should be specific and evidence-backed.]
### Feasibility Assessment
[Honest assessment of whether this feature is feasible, practical, and valuable. Include regional, technical, or cost concerns.]
### Design Considerations
[Key decisions that need to be made. What are the main approaches? What trade-offs exist?]
### Recommendations
[What you recommend — implement as-is, modify approach, add to roadmap, defer, drop, or split. Explain why.]
### Open Questions
[Genuine questions for the user that would affect the decision or feature design.]
Keep it concise. Details were gathered for YOUR reasoning. The user gets insights and conclusions.
Phase 4: Interactive Discussion
After presenting the report, the conversation continues naturally:
- Answer questions with specific evidence from the research
- Explore alternative approaches if the user pushes back
- Do additional targeted research if new angles come up
- Help the user shape the feature — refine the problem, goal, design, and edge cases through conversation
- Take note of decisions made during discussion — these feed into whatever action follows
Do NOT rush to a conclusion. The discussion ends when the user explicitly indicates a decision:
- "Add it to the roadmap" / "write it up" → proceed to Write to Roadmap
- "Add it to the backlog" → proceed to Pull to Backlog
- "Let's plan this" / "make an inline plan" → proceed to Create Inline Plan
- "Drop it" / "not worth it" → proceed to Drop
- "Modify the roadmap item" → proceed to Modify
- "Let me think about it" → stop, no action needed
- "Actually, add this to the backlog instead" → tell the user to run
/add-to-backlog with the refined description
Phase 5: Action
When the user decides on an action, execute the matching path:
Write to Roadmap
When the user wants to add a new feature to the roadmap:
Read the roadmap file to get current content and conventions.
Draft the feature spec following the roadmap file's conventions. The standard structure is:
## Feature Name
### Problem
[What's wrong or missing. 2-3 sentences. Problem-focused, no solution language.]
### Prerequisites
[Other features or Linear issues that must be done first. Omit section entirely if none.]
### Goal
[What the feature achieves for the user. 1-2 sentences.]
### Design
[The core: UX flows, behavior rules, UI details. Use sub-sections as needed for clarity.]
### Architecture
[Technical decisions: storage, APIs, state management. Omit if purely UI.]
### Edge Cases
[Non-obvious scenarios and how to handle them.]
### Implementation Order
[Numbered list of steps, ordered by dependency.]
Incorporate discussion decisions. Everything agreed during Phase 4 goes into the spec. Do not invent details that weren't discussed — if something wasn't covered, either ask now or leave the section appropriately scoped.
Present the draft to the user in the conversation before writing. Show the full feature spec as markdown. Ask: "Does this capture what we discussed? Any changes before I write it to the roadmap?"
After user approval, write the feature to the roadmap file:
- Insert the feature section before the Conventions section (or at the end if no Conventions section)
- Add a
--- separator before the new feature (matching existing style)
- Add a row to the Contents table with a linked feature name and one-sentence summary
- Generate a stable slug anchor from the feature heading (lowercase, hyphens, never changes)
- Check for cross-references: if existing features relate, add links where appropriate
Verify — Read the file after writing to confirm clean structure (no orphaned separators, no broken links, contents table in sync).
Pull to Backlog
- Verify Linear MCP: call
mcp__linear__list_teams. If unavailable, STOP: "Linear MCP not connected. Run /mcp to reconnect."
- Create Backlog issues following the add-to-backlog patterns (problem-focused descriptions, proper labels and priority)
- If this was an existing roadmap item, ask: "Remove this feature from the roadmap file?"
- If confirmed → run roadmap cleanup procedure
Create Inline Plan
- Summarize what was decided during the discussion
- Tell the user: "Run
/plan-inline [summary] to create the implementation plan."
- If this was an existing roadmap item, ask: "Remove this feature from the roadmap file?"
- If confirmed → run roadmap cleanup procedure
Drop
- If this was an existing roadmap item, ask: "Remove this feature from the roadmap file?"
- If confirmed → run roadmap cleanup procedure
Modify
- Edit the feature section in the roadmap file with the agreed changes
- Do NOT remove — the feature stays for future evaluation
Roadmap cleanup procedure
When removing a feature from the roadmap:
- Read the roadmap file to get current content
- Delete the entire feature section (from
## Heading through the --- separator after it)
- Remove the feature's row from the Contents table at the top (if one exists)
- Check remaining features for cross-references to the removed feature — update or remove them
- Verify file structure is clean (no orphaned separators, no broken links)
- Follow the roadmap file's conventions section for all modifications (if one exists)
Rules
- Evidence over opinions — Every finding must be backed by specific evidence (code paths, API docs, forum posts, data points)
- Honest about uncertainty — If you can't determine something, say so
- User's context matters — Use project context from CLAUDE.md (audience, region, scale, constraints) to inform the analysis
- Don't oversell or undersell — Present findings neutrally, let the user decide
- Roadmap conventions — Follow the roadmap file's conventions section for all modifications (if one exists)
- No implementation — This skill researches, discusses, and manages roadmap/backlog. It does NOT write code or create implementation plans (except when creating backlog issues)
- Concise reports — Research is thorough, output is scannable
- Draft before writing — Always show the user the complete feature spec and get approval before modifying the roadmap file
- Problem-focused writing — Problem and Goal sections use user-facing language. Technical details belong in Architecture
- No code in specs — Reference file paths and patterns, but don't write implementation code in the roadmap
1---2name: roadmap3description: Deep research and discussion of a roadmap feature or new idea. Gathers extensive context from codebase, web, APIs, MCPs, and project history, then presents a concise analysis report for interactive discussion. After discussion, handles the outcome — write a feature spec to the roadmap, move to backlog, create an inline plan, modify, or drop. Use when user says "roadmap", "pull from roadmap", "push to roadmap", "add to roadmap", "analyze this feature", "research this idea", or wants to evaluate a feature.4---56Deep research, interactive discussion, and action on a feature idea. You gather extensive context, present findings, discuss with the user, then execute whatever outcome they decide — write to roadmap, pull to backlog, plan, modify, or drop.78ultrathink910## Phase 1: Input Resolution11121. **Parse $ARGUMENTS** — Determine if this is:13 - **Existing roadmap item:** A reference to a feature in `ROADMAP.md` (or similar roadmap file discovered from CLAUDE.md)14 - **New idea:** A description of something NOT currently in the roadmap15162. **Read the roadmap file** — Look for `ROADMAP.md` in the project root (or discover the roadmap file path from CLAUDE.md). If found:17 - Read the full file including its Conventions section (if any)18 - Search for a matching section by exact heading match or keyword overlap19 - If multiple matches, ask user to clarify20 - If no match found, treat as a new idea21 - Check existing features for overlap or conflict22 - Note the file's structure and conventions for later use23243. **Extract the feature spec** — If existing item, extract the full section (Problem, Goal, Design, Architecture, Edge Cases, Implementation Order). If new idea, use $ARGUMENTS as the raw description.25264. **Read CLAUDE.md** — Load project context, tech stack, conventions. Extract the team name from the LINEAR INTEGRATION section if it exists.2728## Phase 2: Deep Research2930Launch parallel research to build comprehensive context. Use Task agents for independent research streams. Launch all independent streams simultaneously.3132### Research Stream 1: Codebase Analysis3334Use Task with `subagent_type=Explore` (thoroughness: "very thorough"). Explore the codebase for everything related to this feature:35- **Current implementation** — What exists today that's relevant? What would this feature touch?36- **Architecture** — How does the current system work in the affected areas?37- **Patterns** — What conventions and patterns are established?38- **Tests** — What test coverage exists in related areas?39- **Dependencies** — What libraries/APIs are already in use that relate?4041### Research Stream 2: External Research4243Use Task with `subagent_type=general-purpose` and `model=opus`. Search the web for technical context:44- **API feasibility** — If the feature involves external APIs, research actual capabilities, pricing, limitations, regional coverage45- **Technical approaches** — How have others solved this? What are the trade-offs?46- **Gotchas** — Known issues, limitations, or surprises others have encountered47- **User context relevance** — Use project context from CLAUDE.md (target audience, deployment region, scale, constraints) to evaluate feasibility through the user's actual lens4849**CRITICAL:** Look for real user experiences, developer forums, actual API responses — not just documentation promises or marketing pages. Evidence over claims.5051### Research Stream 3: Project Context5253Use Task with `subagent_type=Explore` or direct tool calls. Check project state:54- **Linear issues** — Query existing Backlog/Todo/In Progress issues for related or overlapping work (if Linear MCP available)55- **Roadmap dependencies** — Does this feature depend on or block other roadmap items?56- **Recent changes** — Any recent commits or PRs that affect this area?5758### Research guidelines5960- Launch independent streams in parallel for speed61- Each stream should return specific, evidence-based findings62- Include any relevant MCP context (deployment state, external API integrations) if they inform feasibility63- If the feature involves UI, examine existing component patterns and relevant pages6465## Phase 3: Analysis Report6667After all research completes, synthesize findings into a concise report. Output directly to the conversation:6869```70## Feature Analysis: [Feature Name]7172### Current State73[What exists today in the codebase that's relevant. 2-3 sentences.]7475### Key Findings76[Numbered list of the most important discoveries. Each finding should be specific and evidence-backed.]7778### Feasibility Assessment79[Honest assessment of whether this feature is feasible, practical, and valuable. Include regional, technical, or cost concerns.]8081### Design Considerations82[Key decisions that need to be made. What are the main approaches? What trade-offs exist?]8384### Recommendations85[What you recommend — implement as-is, modify approach, add to roadmap, defer, drop, or split. Explain why.]8687### Open Questions88[Genuine questions for the user that would affect the decision or feature design.]89```9091**Keep it concise.** Details were gathered for YOUR reasoning. The user gets insights and conclusions.9293## Phase 4: Interactive Discussion9495After presenting the report, the conversation continues naturally:9697- Answer questions with specific evidence from the research98- Explore alternative approaches if the user pushes back99- Do additional targeted research if new angles come up100- Help the user shape the feature — refine the problem, goal, design, and edge cases through conversation101- Take note of decisions made during discussion — these feed into whatever action follows102103**Do NOT rush to a conclusion.** The discussion ends when the user explicitly indicates a decision:104- "Add it to the roadmap" / "write it up" → proceed to **Write to Roadmap**105- "Add it to the backlog" → proceed to **Pull to Backlog**106- "Let's plan this" / "make an inline plan" → proceed to **Create Inline Plan**107- "Drop it" / "not worth it" → proceed to **Drop**108- "Modify the roadmap item" → proceed to **Modify**109- "Let me think about it" → stop, no action needed110- "Actually, add this to the backlog instead" → tell the user to run `/add-to-backlog` with the refined description111112## Phase 5: Action113114When the user decides on an action, execute the matching path:115116### Write to Roadmap117118When the user wants to add a new feature to the roadmap:1191201. **Read the roadmap file** to get current content and conventions.1211222. **Draft the feature spec** following the roadmap file's conventions. The standard structure is:123124 ```125 ## Feature Name126127 ### Problem128129 [What's wrong or missing. 2-3 sentences. Problem-focused, no solution language.]130131 ### Prerequisites132133 [Other features or Linear issues that must be done first. Omit section entirely if none.]134135 ### Goal136137 [What the feature achieves for the user. 1-2 sentences.]138139 ### Design140141 [The core: UX flows, behavior rules, UI details. Use sub-sections as needed for clarity.]142143 ### Architecture144145 [Technical decisions: storage, APIs, state management. Omit if purely UI.]146147 ### Edge Cases148149 [Non-obvious scenarios and how to handle them.]150151 ### Implementation Order152153 [Numbered list of steps, ordered by dependency.]154 ```1551563. **Incorporate discussion decisions.** Everything agreed during Phase 4 goes into the spec. Do not invent details that weren't discussed — if something wasn't covered, either ask now or leave the section appropriately scoped.1571584. **Present the draft** to the user in the conversation before writing. Show the full feature spec as markdown. Ask: **"Does this capture what we discussed? Any changes before I write it to the roadmap?"**1591605. **After user approval**, write the feature to the roadmap file:161 - Insert the feature section before the Conventions section (or at the end if no Conventions section)162 - Add a `---` separator before the new feature (matching existing style)163 - Add a row to the Contents table with a linked feature name and one-sentence summary164 - Generate a stable slug anchor from the feature heading (lowercase, hyphens, never changes)165 - Check for cross-references: if existing features relate, add links where appropriate1661676. **Verify** — Read the file after writing to confirm clean structure (no orphaned separators, no broken links, contents table in sync).168169### Pull to Backlog1701711. Verify Linear MCP: call `mcp__linear__list_teams`. If unavailable, STOP: "Linear MCP not connected. Run `/mcp` to reconnect."1722. Create Backlog issues following the add-to-backlog patterns (problem-focused descriptions, proper labels and priority)1733. If this was an existing roadmap item, ask: **"Remove this feature from the roadmap file?"**1744. If confirmed → run roadmap cleanup procedure175176### Create Inline Plan1771781. Summarize what was decided during the discussion1792. Tell the user: "Run `/plan-inline [summary]` to create the implementation plan."1803. If this was an existing roadmap item, ask: **"Remove this feature from the roadmap file?"**1814. If confirmed → run roadmap cleanup procedure182183### Drop1841851. If this was an existing roadmap item, ask: **"Remove this feature from the roadmap file?"**1862. If confirmed → run roadmap cleanup procedure187188### Modify1891901. Edit the feature section in the roadmap file with the agreed changes1912. Do NOT remove — the feature stays for future evaluation192193### Roadmap cleanup procedure194195When removing a feature from the roadmap:1961. Read the roadmap file to get current content1972. Delete the entire feature section (from `## Heading` through the `---` separator after it)1983. Remove the feature's row from the Contents table at the top (if one exists)1994. Check remaining features for cross-references to the removed feature — update or remove them2005. Verify file structure is clean (no orphaned separators, no broken links)2016. Follow the roadmap file's conventions section for all modifications (if one exists)202203## Rules204205- **Evidence over opinions** — Every finding must be backed by specific evidence (code paths, API docs, forum posts, data points)206- **Honest about uncertainty** — If you can't determine something, say so207- **User's context matters** — Use project context from CLAUDE.md (audience, region, scale, constraints) to inform the analysis208- **Don't oversell or undersell** — Present findings neutrally, let the user decide209- **Roadmap conventions** — Follow the roadmap file's conventions section for all modifications (if one exists)210- **No implementation** — This skill researches, discusses, and manages roadmap/backlog. It does NOT write code or create implementation plans (except when creating backlog issues)211- **Concise reports** — Research is thorough, output is scannable212- **Draft before writing** — Always show the user the complete feature spec and get approval before modifying the roadmap file213- **Problem-focused writing** — Problem and Goal sections use user-facing language. Technical details belong in Architecture214- **No code in specs** — Reference file paths and patterns, but don't write implementation code in the roadmap