Create a new track with specification and phased implementation plan
Add this skill
npx mdskills install sickn33/conductor-new-trackComprehensive interactive workflow for creating detailed track specifications with phased implementation plans
1---2name: conductor-new-track3description: Create a new track with specification and phased implementation plan4metadata:5 argument-hint: <feature|bug|chore|refactor> <name>6---78# New Track910Create a new track (feature, bug fix, chore, or refactor) with a detailed specification and phased implementation plan.1112## Use this skill when1314- Working on new track tasks or workflows15- Needing guidance, best practices, or checklists for new track1617## Do not use this skill when1819- The task is unrelated to new track20- You need a different domain or tool outside this scope2122## Instructions2324- Clarify goals, constraints, and required inputs.25- Apply relevant best practices and validate outcomes.26- Provide actionable steps and verification.27- If detailed examples are required, open `resources/implementation-playbook.md`.2829## Pre-flight Checks30311. Verify Conductor is initialized:32 - Check `conductor/product.md` exists33 - Check `conductor/tech-stack.md` exists34 - Check `conductor/workflow.md` exists35 - If missing: Display error and suggest running `/conductor:setup` first36372. Load context files:38 - Read `conductor/product.md` for product context39 - Read `conductor/tech-stack.md` for technical context40 - Read `conductor/workflow.md` for TDD/commit preferences4142## Track Classification4344Determine track type based on description or ask user:4546```47What type of track is this?48491. Feature - New functionality502. Bug - Fix for existing issue513. Chore - Maintenance, dependencies, config524. Refactor - Code improvement without behavior change53```5455## Interactive Specification Gathering5657**CRITICAL RULES:**5859- Ask ONE question per turn60- Wait for user response before proceeding61- Tailor questions based on track type62- Maximum 6 questions total6364### For Feature Tracks6566**Q1: Feature Summary**6768```69Describe the feature in 1-2 sentences.70[If argument provided, confirm: "You want to: {argument}. Is this correct?"]71```7273**Q2: User Story**7475```76Who benefits and how?7778Format: As a [user type], I want to [action] so that [benefit].79```8081**Q3: Acceptance Criteria**8283```84What must be true for this feature to be complete?8586List 3-5 acceptance criteria (one per line):87```8889**Q4: Dependencies**9091```92Does this depend on any existing code, APIs, or other tracks?93941. No dependencies952. Depends on existing code (specify)963. Depends on incomplete track (specify)97```9899**Q5: Scope Boundaries**100101```102What is explicitly OUT of scope for this track?103(Helps prevent scope creep)104```105106**Q6: Technical Considerations (optional)**107108```109Any specific technical approach or constraints?110(Press enter to skip)111```112113### For Bug Tracks114115**Q1: Bug Summary**116117```118What is broken?119[If argument provided, confirm]120```121122**Q2: Steps to Reproduce**123124```125How can this bug be reproduced?126List steps:127```128129**Q3: Expected vs Actual Behavior**130131```132What should happen vs what actually happens?133```134135**Q4: Affected Areas**136137```138What parts of the system are affected?139```140141**Q5: Root Cause Hypothesis (optional)**142143```144Any hypothesis about the cause?145(Press enter to skip)146```147148### For Chore/Refactor Tracks149150**Q1: Task Summary**151152```153What needs to be done?154[If argument provided, confirm]155```156157**Q2: Motivation**158159```160Why is this work needed?161```162163**Q3: Success Criteria**164165```166How will we know this is complete?167```168169**Q4: Risk Assessment**170171```172What could go wrong? Any risky changes?173```174175## Track ID Generation176177Generate track ID in format: `{shortname}_{YYYYMMDD}`178179- Extract shortname from feature/bug summary (2-3 words, lowercase, hyphenated)180- Use current date181- Example: `user-auth_20250115`, `nav-bug_20250115`182183Validate uniqueness:184185- Check `conductor/tracks.md` for existing IDs186- If collision, append counter: `user-auth_20250115_2`187188## Specification Generation189190Create `conductor/tracks/{trackId}/spec.md`:191192```markdown193# Specification: {Track Title}194195**Track ID:** {trackId}196**Type:** {Feature|Bug|Chore|Refactor}197**Created:** {YYYY-MM-DD}198**Status:** Draft199200## Summary201202{1-2 sentence summary}203204## Context205206{Product context from product.md relevant to this track}207208## User Story (for features)209210As a {user}, I want to {action} so that {benefit}.211212## Problem Description (for bugs)213214{Bug description, steps to reproduce}215216## Acceptance Criteria217218- [ ] {Criterion 1}219- [ ] {Criterion 2}220- [ ] {Criterion 3}221222## Dependencies223224{List dependencies or "None"}225226## Out of Scope227228{Explicit exclusions}229230## Technical Notes231232{Technical considerations or "None specified"}233234---235236_Generated by Conductor. Review and edit as needed._237```238239## User Review of Spec240241Display the generated spec and ask:242243```244Here is the specification I've generated:245246{spec content}247248Is this specification correct?2491. Yes, proceed to plan generation2502. No, let me edit (opens for inline edits)2513. Start over with different inputs252```253254## Plan Generation255256After spec approval, generate `conductor/tracks/{trackId}/plan.md`:257258### Plan Structure259260```markdown261# Implementation Plan: {Track Title}262263**Track ID:** {trackId}264**Spec:** [spec.md](./spec.md)265**Created:** {YYYY-MM-DD}266**Status:** [ ] Not Started267268## Overview269270{Brief summary of implementation approach}271272## Phase 1: {Phase Name}273274{Phase description}275276### Tasks277278- [ ] Task 1.1: {Description}279- [ ] Task 1.2: {Description}280- [ ] Task 1.3: {Description}281282### Verification283284- [ ] {Verification step for phase 1}285286## Phase 2: {Phase Name}287288{Phase description}289290### Tasks291292- [ ] Task 2.1: {Description}293- [ ] Task 2.2: {Description}294295### Verification296297- [ ] {Verification step for phase 2}298299## Phase 3: {Phase Name} (if needed)300301...302303## Final Verification304305- [ ] All acceptance criteria met306- [ ] Tests passing307- [ ] Documentation updated (if applicable)308- [ ] Ready for review309310---311312_Generated by Conductor. Tasks will be marked [~] in progress and [x] complete._313```314315### Phase Guidelines316317- Group related tasks into logical phases318- Each phase should be independently verifiable319- Include verification task after each phase320- TDD tracks: Include test writing tasks before implementation tasks321- Typical structure:322 1. **Setup/Foundation** - Initial scaffolding, interfaces323 2. **Core Implementation** - Main functionality324 3. **Integration** - Connect with existing system325 4. **Polish** - Error handling, edge cases, docs326327## User Review of Plan328329Display the generated plan and ask:330331```332Here is the implementation plan:333334{plan content}335336Is this plan correct?3371. Yes, create the track3382. No, let me edit (opens for inline edits)3393. Add more phases/tasks3404. Start over341```342343## Track Creation344345After plan approval:3463471. Create directory structure:348349 ```350 conductor/tracks/{trackId}/351 ├── spec.md352 ├── plan.md353 ├── metadata.json354 └── index.md355 ```3563572. Create `metadata.json`:358359 ```json360 {361 "id": "{trackId}",362 "title": "{Track Title}",363 "type": "feature|bug|chore|refactor",364 "status": "pending",365 "created": "ISO_TIMESTAMP",366 "updated": "ISO_TIMESTAMP",367 "phases": {368 "total": N,369 "completed": 0370 },371 "tasks": {372 "total": M,373 "completed": 0374 }375 }376 ```3773783. Create `index.md`:379380 ```markdown381 # Track: {Track Title}382383 **ID:** {trackId}384 **Status:** Pending385386 ## Documents387388 - [Specification](./spec.md)389 - [Implementation Plan](./plan.md)390391 ## Progress392393 - Phases: 0/{N} complete394 - Tasks: 0/{M} complete395396 ## Quick Links397398 - [Back to Tracks](../../tracks.md)399 - [Product Context](../../product.md)400 ```4014024. Register in `conductor/tracks.md`:403 - Add row to tracks table404 - Format: `| [ ] | {trackId} | {title} | {created} | {created} |`4054065. Update `conductor/index.md`:407 - Add track to "Active Tracks" section408409## Completion Message410411```412Track created successfully!413414Track ID: {trackId}415Location: conductor/tracks/{trackId}/416417Files created:418- spec.md - Requirements specification419- plan.md - Phased implementation plan420- metadata.json - Track metadata421- index.md - Track navigation422423Next steps:4241. Review spec.md and plan.md, make any edits4252. Run /conductor:implement {trackId} to start implementation4263. Run /conductor:status to see project progress427```428429## Error Handling430431- If directory creation fails: Halt and report, do not register in tracks.md432- If any file write fails: Clean up partial track, report error433- If tracks.md update fails: Warn user to manually register track434
Full transparency — inspect the skill content before installing.