| name | start-work-on-story |
| description | Start development work on a Shortcut story. Creates a branch, analyzes requirements, sets up the environment, and plans implementation. |
| argument-hint | [story-id] |
Start Work on Story Instructions
Story/Ticket ID: $ARGUMENTS
Task: Begin Development Work on Story
Follow this workflow to start working on a new story or ticket efficiently and safely.
1. Branch Creation & Setup
Branch Naming Convention:
Name the ticket after the shortcut ticket being worked on
git checkout -b feat/sc-xxxx-brief-description
git checkout -b fix/sc-yyyy-brief-description
git checkout -b docs/sc-xxxx-brief-description
git checkout -b refactor/sc-xxxx-brief-description
Initial Setup:
git checkout main
git pull origin main
git checkout -b [branch-name]
git status
2. Story Analysis & Planning
Requirements Review:
Technical Planning:
3. Development Environment
Pre-Development Checks:
bun install
bun run build
bun run dev
Project-Specific Setup:
4. Implementation Strategy
Start Small & Iterative:
- Skeleton First: Create minimal structure/interfaces
- Core Logic: Implement the essential functionality
- Error Handling: Add proper error states and validation
- Polish: Improve UX, performance, and edge cases
Code Quality Standards:
5. Testing & Validation
Development Testing:
bun run build
Testing Checklist:
6. Documentation & Communication
Code Documentation:
Progress Communication:
7. Pre-Commit Checklist
Final Validation:
bun run build
Code Review Prep:
MCP-Specific Considerations
Server Development:
API Integration:
Quick Reference Commands
bun run dev
bun run build
bun run start
git status
git add .
git commit -m "..."
git push origin [branch-name]
Commit Message Examples with Shortcut Integration:
git commit -m "feat: add dataset search functionality [sc-45538]"
git commit -m "fix: resolve API timeout issue [sc-45539]"
git commit -m "docs: update MCP server documentation [sc-45540]"
git commit -m "feat: implement user authentication - refs sc-45538"
git commit -m "refactor: optimize search performance - refs sc-45539"
Success Criteria
Before marking the story complete:
Remember: Start with the minimum viable implementation that meets acceptance criteria. You can always iterate and improve in follow-up stories.