--- name: new-track description: "Create a new track with specification and phased implementation plan"
Generated by Conductor. Review and edit as needed.
## User Review of Spec
Display the generated spec and ask:
Here is the specification I've generated:
{spec content}
Is this specification correct?
- Yes, proceed to plan generation
- No, let me edit (opens for inline edits)
- Start over with different inputs
## Plan Generation
After spec approval, generate `conductor/tracks/{trackId}/plan.md`:
### Plan Structure
```markdown
# Implementation Plan: {Track Title}
**Track ID:** {trackId}
**Spec:** [spec.md](./spec.md)
**Created:** {YYYY-MM-DD}
**Status:** [ ] Not Started
## Overview
{Brief summary of implementation approach}
## Phase 1: {Phase Name}
{Phase description}
### Tasks
- [ ] Task 1.1: {Description}
- [ ] Task 1.2: {Description}
- [ ] Task 1.3: {Description}
### Verification
- [ ] {Verification step for phase 1}
## Phase 2: {Phase Name}
{Phase description}
### Tasks
- [ ] Task 2.1: {Description}
- [ ] Task 2.2: {Description}
### Verification
- [ ] {Verification step for phase 2}
## Phase 3: {Phase Name} (if needed)
...
## Final Verification
- [ ] All acceptance criteria met
- [ ] Tests passing
- [ ] Documentation updated (if applicable)
- [ ] Ready for review
---
_Generated by Conductor. Tasks will be marked [~] in progress and [x] complete._
Phase Guidelines
- Group related tasks into logical phases
- Each phase should be independently verifiable
- Include verification task after each phase
- TDD tracks: Include test writing tasks before implementation tasks
- Typical structure:
- Setup/Foundation - Initial scaffolding, interfaces
- Core Implementation - Main functionality
- Integration - Connect with existing system
- Polish - Error handling, edge cases, docs
User Review of Plan
Display the generated plan and ask:
Here is the implementation plan:
{plan content}
Is this plan correct?
1. Yes, create the track
2. No, let me edit (opens for inline edits)
3. Add more phases/tasks
4. Start over
Track Creation
After plan approval:
Create directory structure:
conductor/tracks/{trackId}/ ├── spec.md ├── plan.md ├── metadata.json └── index.mdCreate
metadata.json:{ "id": "{trackId}", "title": "{Track Title}", "type": "feature|bug|chore|refactor", "status": "pending", "created": "ISO_TIMESTAMP", "updated": "ISO_TIMESTAMP", "phases": { "total": N, "completed": 0 }, "tasks": { "total": M, "completed": 0 } }Create
index.md:# Track: {Track Title} **ID:** {trackId} **Status:** Pending ## Documents - [Specification](./spec.md) - [Implementation Plan](./plan.md) ## Progress - Phases: 0/{N} complete - Tasks: 0/{M} complete ## Quick Links - [Back to Tracks](../../tracks.md) - [Product Context](../../product.md)Register in
conductor/tracks.md:- Add row to tracks table
- Format:
| [ ] | {trackId} | {title} | {created} | {created} |
Update
conductor/index.md:- Add track to "Active Tracks" section
Completion Message
Track created successfully!
Track ID: {trackId}
Location: conductor/tracks/{trackId}/
Files created:
- spec.md - Requirements specification
- plan.md - Phased implementation plan
- metadata.json - Track metadata
- index.md - Track navigation
Next steps:
1. Review spec.md and plan.md, make any edits
2. Run /conductor:implement {trackId} to start implementation
3. Run /conductor:status to see project progress
Error Handling
- If directory creation fails: Halt and report, do not register in tracks.md
- If any file write fails: Clean up partial track, report error
- If tracks.md update fails: Warn user to manually register track
Output Format
<result>
<analysis>Brief analysis</analysis>
<solution>Implementation</solution>
<considerations>Trade-offs and notes</considerations>
</result>