- Version: 2.0
Starts a time-boxed work session with automatic progress checkpoints and metrics tracking.
/plugin marketplace add ninthspace/claude-code-marketplace/plugin install sdd@ninthspace-marketplacePurpose: Start a time-boxed work session with automatic progress checkpoints, metrics tracking, and session logging for story development.
Syntax: /sdd:story-timebox [duration] [mode]
| Parameter | Type | Required | Default | Description | Validation |
|---|---|---|---|---|---|
| duration | number | No | 2 | Session duration in hours | 0.5-8 hours |
| mode | string | No | standard | Timer mode: standard or pomodoro | standard/pomodoro |
/docs/stories/development/DETERMINE session parameters:
FIND active story:
/docs/stories/development/ for active story/sdd:story-start [id] firstASK user for session goal:
CALCULATE time checkpoints:
IF standard mode (duration in hours):
IF pomodoro mode:
GENERATE session plan based on goal:
CREATE session tracking file:
.timebox/session-[timestamp].mdDISPLAY session start summary:
⏰ TIMEBOX SESSION STARTED
═══════════════════════════════════
Duration: [X] hours ([X] minutes)
Started: [HH:MM AM/PM]
Ends at: [HH:MM AM/PM]
Story: [STORY-ID] - [Title]
Session Goal: [User's stated goal]
📍 CHECKPOINTS:
- 25% ([HH:MM]): Quick progress check
- 50% ([HH:MM]): Halfway review
- 75% ([HH:MM]): Wrap-up warning
- 100% ([HH:MM]): Session complete
Timer Mode: [Standard/Pomodoro]
SHOW session plan:
📋 SESSION PLAN
══════════════════════════════════
Quarter 1 (0-25%): [Focus area]
- [ ] [Specific task 1]
- [ ] [Specific task 2]
Quarter 2 (25-50%): [Focus area]
- [ ] [Specific task 3]
- [ ] [Specific task 4]
Quarter 3 (50-75%): [Focus area]
- [ ] [Test what was built]
- [ ] [Address any issues found]
Quarter 4 (75-100%): [Focus area]
- [ ] [Commit changes]
- [ ] [Update story progress]
- [ ] [Document session notes]
🎯 START NOW: Begin with [first task]
REMIND user:
At each 25%, 50%, 75% checkpoint, IF user interacts:
DISPLAY checkpoint notification:
🔔 CHECKPOINT: [25/50/75]% Complete
═══════════════════════════════════
Time Elapsed: [X] minutes
Time Remaining: [X] minutes
Current Time: [HH:MM AM/PM]
Progress Check:
- Planned: [Tasks planned for this quarter]
- What's done: [Ask user what was completed]
- On track: [Calculate based on response]
[IF on track:]
Great progress! Continue with: [next planned task]
[IF behind:]
Adjust plan: [Suggest focusing on priority items]
[IF ahead:]
Excellent! Consider: [Suggest stretch goals]
UPDATE session tracking file:
Throughout session, TRACK:
Code Metrics (if user commits/shows changes):
Test Metrics (if tests run):
Progress Metrics:
IF user says "pause", "stop", "brb", or similar:
PAUSE session:
⏸️ SESSION PAUSED
═══════════════════════════════════
Paused at: [HH:MM AM/PM]
Time Elapsed: [X] minutes
Time Remaining: [X] minutes
Progress so far:
- [Tasks completed]
To resume: Simply mention you're back or say "resume"
To end early: Say "end session"
SAVE pause state to session tracking file
IF user returns:
▶️ SESSION RESUMED
═══════════════════════════════════
Welcome back!
Time Remaining: [X] minutes
Next Checkpoint: [time]
Continue with: [current task]
At session end OR IF user says "end session":
DISPLAY session summary:
✅ SESSION COMPLETE
═══════════════════════════════════
Total Duration: [X] hours [X] minutes
Story: [STORY-ID] - [Title]
SESSION GOAL:
[Original goal stated]
ACCOMPLISHED:
✓ [Completed task 1]
✓ [Completed task 2]
✓ [Completed task 3]
⏳ [Partial task - note what's left]
SESSION METRICS:
- Planned vs Actual: [X]%
- Code changes: [X] files, [X] lines
- Commits: [X]
- Tests: [X] added, [X/Y] passing
- Checkpoints hit: [X/4]
WHAT WENT WELL:
- [Success point 1]
- [Success point 2]
CHALLENGES:
- [Challenge encountered]
- [How addressed or needs addressing]
FOR NEXT SESSION:
- [Specific next task to start with]
- [Any blockers to resolve first]
- [Estimated time needed]
NEXT STEPS:
1. /sdd:story-save # Save progress to story
2. /sdd:story-quick-check # Verify everything works
3. Take a break! 🎉
ASK user for session notes:
UPDATE story progress log:
SAVE session to history:
.timebox/history/ for velocity analysisSUGGEST next session:
IF mode = pomodoro:
STRUCTURE session as intervals:
🍅 POMODORO MODE ACTIVE
═══════════════════════════════════
Session Structure:
🍅 Pomodoro 1: 25 minutes (Focus)
☕ Break: 5 minutes
🍅 Pomodoro 2: 25 minutes (Focus)
☕ Break: 5 minutes
🍅 Pomodoro 3: 25 minutes (Focus)
☕ Break: 5 minutes
🍅 Pomodoro 4: 25 minutes (Focus)
🎉 Long Break: 15 minutes
Total Time: ~2 hours
Current: 🍅 Pomodoro 1
Focus Task: [First planned task]
Time Remaining: 25:00
AT EACH INTERVAL END:
DURING BREAKS:
.timebox/session-[timestamp].md - Session tracking file.timebox/history/INPUT:
/sdd:story-timebox
OUTPUT:
→ Finding active story...
→ Located: STORY-2025-003 in development
What do you want to accomplish in this session?
> Implement the task editing feature and write tests
⏰ TIMEBOX SESSION STARTED
═══════════════════════════════════
Duration: 2 hours (120 minutes)
Started: 2:00 PM
Ends at: 4:00 PM
Story: STORY-2025-003 - Task Management System
Session Goal: Implement task editing feature and write tests
📍 CHECKPOINTS:
- 25% (2:30 PM): Quick progress check
- 50% (3:00 PM): Halfway review
- 75% (3:30 PM): Wrap-up warning
- 100% (4:00 PM): Session complete
Timer Mode: Standard
📋 SESSION PLAN
══════════════════════════════════
Quarter 1 (0-25%): Feature Implementation
- [ ] Create TaskEdit Livewire component
- [ ] Add edit form with validation
Quarter 2 (25-50%): Continue Implementation
- [ ] Implement update logic in controller
- [ ] Add authorization checks
Quarter 3 (50-75%): Testing
- [ ] Write feature tests for edit flow
- [ ] Test validation rules
- [ ] Test authorization
Quarter 4 (75-100%): Cleanup & Documentation
- [ ] Run all tests and verify passing
- [ ] Commit changes with descriptive message
- [ ] Update story progress log
🎯 START NOW: Begin with creating TaskEdit Livewire component
INPUT:
/sdd:story-timebox 2 pomodoro
OUTPUT:
→ Finding active story...
→ Located: STORY-2025-005 in development
What do you want to accomplish in this session?
> Refactor TaskManager component to reduce complexity
🍅 POMODORO MODE ACTIVE
═══════════════════════════════════
Session Structure:
🍅 Pomodoro 1: 25 minutes (Focus)
☕ Break: 5 minutes
🍅 Pomodoro 2: 25 minutes (Focus)
☕ Break: 5 minutes
🍅 Pomodoro 3: 25 minutes (Focus)
☕ Break: 5 minutes
🍅 Pomodoro 4: 25 minutes (Focus)
🎉 Long Break: 15 minutes
Total Time: ~2 hours
Story: STORY-2025-005 - Code Refactoring
Session Goal: Refactor TaskManager component to reduce complexity
🍅 POMODORO 1 (25:00)
Focus: Extract reusable methods from TaskManager
- [ ] Identify duplicate code blocks
- [ ] Create private helper methods
🎯 START NOW: Begin analyzing TaskManager for duplication
[After 25 minutes]
✅ POMODORO 1 COMPLETE
Nice work! Take a 5-minute break.
☕ Break time: 5:00
Next: 🍅 Pomodoro 2 - Continue refactoring
INPUT:
/sdd:story-timebox 0.5
OUTPUT:
→ Finding active story...
→ Located: STORY-2025-007 in development
What do you want to accomplish in this session?
> Add validation rules to API endpoints
⏰ TIMEBOX SESSION STARTED
═══════════════════════════════════
Duration: 0.5 hours (30 minutes)
Started: 10:00 AM
Ends at: 10:30 AM
Story: STORY-2025-007 - REST API Development
Session Goal: Add validation rules to API endpoints
📍 CHECKPOINTS:
- 50% (10:15 AM): Halfway check
- 100% (10:30 AM): Session complete
Timer Mode: Standard (short session - fewer checkpoints)
📋 SESSION PLAN
══════════════════════════════════
First Half (0-50%): Implementation
- [ ] Add validation rules to TaskController
- [ ] Add validation rules to CategoryController
Second Half (50-100%): Testing & Wrap-up
- [ ] Test validation with invalid data
- [ ] Commit changes
🎯 START NOW: Add validation to TaskController
/docs/stories/development//sdd:story-start [id] to begin a story/sdd:story-start [id] or allow storyless session/sdd:story-start [id] - Begin story before timeboxing/sdd:story-save - Save progress after session/sdd:story-quick-check - Verify work after session/sdd:project-status - View velocity metrics from past sessions