The /sdd-new command starts a structured change by launching exploration and proposal sub-agents in sequence. It’s the entry point for all feature development in the SDD workflow.
This command combines exploration + proposal generation. Use /sdd-ff if you want to skip to full planning.
# Proposal: Add Dark Mode## IntentUsers have requested dark mode for reduced eye strain during night usage.Current app only supports light theme. 40% of user sessions happen after 8pm.## Scope### In Scope- Dark mode toggle component in header- CSS custom properties for theme colors- System preference detection (prefers-color-scheme)- localStorage persistence of user choice- Documentation for theme color usage### Out of Scope- Per-component theme overrides- Theme customization API for users- Multiple theme options beyond dark/light- Automatic switching based on time## ApproachImplement CSS custom properties for all colors. Create React Context for themestate. Detect system preference on mount. Allow manual override via toggle.Persist choice in localStorage.## Affected Areas| Area | Impact | Description ||------|--------|-------------|| `src/styles/globals.css` | Modified | Add CSS custom properties || `src/components/Layout.tsx` | Modified | Wrap with ThemeProvider || `src/components/ThemeToggle.tsx` | New | Toggle component || `src/context/ThemeContext.tsx` | New | Theme state management || `src/hooks/useTheme.ts` | New | Theme hook |## Risks| Risk | Likelihood | Mitigation ||------|------------|------------|| CSS specificity conflicts | Medium | Use CSS cascade layers || Flash of wrong theme on load | High | Inline script in HTML head || Missed color references | Medium | Comprehensive component testing |## Rollback Plan1. Remove ThemeProvider from Layout2. Delete new theme files3. Revert globals.css to previous version4. Deploy - app returns to light mode only## Dependencies- None## Success Criteria- [ ] Users can toggle between light and dark modes- [ ] System preference is detected and respected- [ ] User choice persists across sessions- [ ] No flash of unstyled content on page load- [ ] All UI components render correctly in both themes