Best Practices
Tips and recommendations for getting the most out of SuperSpec.
Proposal Writing
Be Specific
markdown
# Bad
Add user feature
# Good
Add user registration with email verification,
supporting Google OAuth as alternative login method.Include Constraints
markdown
## Constraints
- Must work offline
- Response time < 200ms
- Mobile responsiveDefine Scope
markdown
## In Scope
- User registration
- Email verification
- Password reset
## Out of Scope
- Social login (future phase)
- Two-factor auth (future phase)Task Management
Keep Tasks Atomic
markdown
# Bad
- [ ] Implement user authentication
# Good
- [ ] Create User model
- [ ] Add registration endpoint
- [ ] Add login endpoint
- [ ] Add JWT middlewareUse Consistent Numbering
markdown
- [ ] 1. Setup database schema
- [ ] 2. Create models
- [ ] 3. Implement API
- [ ] 4. Add testsTrack Progress
markdown
## Progress
- Total: 8
- Done: 3
- In Progress: 1
- Blocked: 0Mode Selection
Standard Mode Checklist
Use Standard Mode if:
- [ ] Change is well-understood
- [ ] Implementation is straightforward
- [ ] No design decisions needed
- [ ] Single developer
- [ ] Quick turnaround needed
Boost Mode Checklist
Use Boost Mode if:
- [ ] Complex feature
- [ ] Multiple stakeholders
- [ ] Design review required
- [ ] Clear acceptance criteria needed
- [ ] Quality gates important
Context Management
Regular Sync
bash
# After completing a task
/ss-apply 3
superspec sync
# Before breaks
superspec sync
# End of day
superspec syncClean Archives
bash
# Don't let changes pile up
superspec status
# Archive completed work
superspec archive completedFeatureFile Organization
300-Line Limit
Keep all files under 300 lines:
bash
# Check file sizes
superspec lint
# Fix violations
# Split large files
# Remove redundant contentNaming Conventions
# Changes
camelCase: userAuth, shoppingCart
# Not
kebab-case: user-auth
snake_case: user_authTeam Collaboration
Consistent Naming
bash
# Agree on prefixes
feature/xxx
fix/xxx
refactor/xxxPR Integration
markdown
## PR Description Template
### Change
Link to .superspec/changes/xxx/
### Tasks Completed
- [x] Task 1
- [x] Task 2
### Checklist
- [ ] Tests pass
- [ ] Lint clean
- [ ] Docs updatedReview Process
- Review
proposal.mdfirst - Then
spec.md(if boost mode) - Finally
tasks.mdbreakdown
Common Pitfalls
Avoid
- Skipping proposal - Don't jump to tasks
- Vague requirements - Be specific
- Large tasks - Keep atomic
- Forgetting to sync - Context lost
- Not archiving - Clutter builds up
Do
- Proposal first - Think before coding
- Clear acceptance criteria - Know when done
- Regular sync - Preserve context
- Archive completed - Stay organized
- Use boost for complex - Don't underestimate
Quick Reference
bash
# Daily workflow
superspec status # Check status
/ss-resume # Restore context
/ss-apply N # Implement task
superspec sync # Save context
superspec archive xxx # Archive done
# Weekly cleanup
superspec status # Review all changes
superspec archive xxx # Archive completed
superspec lint # Check file sizesNext Steps
- Workflow Guide - Understanding modes
- FAQ - Common questions