- ✓ Cycle between light, dark, and system mode options
- ✓ Persist user preference in localStorage
- ✓ Play a sound effect when toggling dark mode
Powered By & Integrates With
Built-in Product, UX, Dev, and QA agents analyze features in minutes…
all before you write a single line of code.
Your AI team understands your product. Your repo stays private.
Tell your team what you want to build and watch them discuss it in real-time.
Simplified simulation — Real discussions involve multiple rounds of feedback and deeper analysis.
|
Review and edit the AI-generated spec. Answer clarifying questions, adjust requirements, and export a polished implementation plan ready for your developer or AI coding agent.
Where should the dark mode toggle live in the UI?
A prompt optimized for AI coding agents is created with all the pertinent information
I need to implement a light/dark theme toggle feature for our React application.
Requirements:
- Cycle between light, dark, and system mode options
- Persist user preference in localStorage
- Display toggle button in main menu next to user profile
- Support keyboard shortcut (Ctrl/Cmd + D) for quick toggle
User Flows:
User opens Main Menu → Activates theme option → Theme cycles to next option instantly → Preference saved → Icon updates
Edge Cases to Handle:
- localStorage cleared → Fall back to System default and show notification
- System preference changes while app open → Update if in System mode
- User clicks toggle multiple times rapidly → Debounce to prevent flickering
Technical Constraints:
- Must work in Chrome, Firefox, Safari (latest 2 versions)
- Existing project uses React 18, TypeScript, and Tailwind CSS
- Use Tailwind's dark mode class strategy (class-based, not media query)
- Must integrate with existing MainMenu and UserProfile components
- Respect user's prefers-color-scheme setting
Implementation Notes:
- Create a ThemeContext to manage theme state globally (light, dark, system)
- Add 'dark' class to document.documentElement when dark mode active
- Use Tailwind dark: variant for all component styles
- Store theme preference in localStorage with key 'theme-preference'
- Add cycle logic: light → dark → system → light
- Use sun/moon/auto icons to indicate current theme state
- Implement keyboard shortcut listener for Ctrl/Cmd + D
- Add debounce utility (150ms) to prevent rapid toggle flickering
- Show toast notification when falling back to system preference
- Listen to window.matchMedia('prefers-color-scheme: dark') for system changes
Ready to paste into your AI coding assistant
No more "I wish I'd thought of that before I built it."
Building great software requires thinking through cross-functional perspectives before you code. But getting those perspectives is hard.
AI simulates PM, UX, QA perspectives you're missing
Context-rich prompts = cleaner first-pass code from Claude Code/Cursor
Catch edge cases, UX issues, and architectural problems before you code
AI team generates comprehensive first drafts—you refine instead of starting from scratch
Get codebase-aware technical feedback immediately—no more "this won't work" surprises
Specs that already consider trade-offs and implementation details
AI detects unresolved questions and conflicting assumptions before you ask for sign-off—resolve real blockers, not collect rubber stamps
AI analyzes your current specs and actual code patterns to recommend a path forward—ground decisions in reality, not opinions
Get personalized briefings of what changed, who changed it, and why—synthesized from comments and edits
AI simulates PM, UX, QA perspectives you're missing
AI team generates comprehensive first drafts—you refine instead of starting from scratch
AI detects unresolved questions and conflicting assumptions before you ask for sign-off—resolve real blockers, not collect rubber stamps
Context-rich prompts = cleaner first-pass code from Claude Code/Cursor
Get codebase-aware technical feedback immediately—no more "this won't work" surprises
AI analyzes your current specs and actual code patterns to recommend a path forward—ground decisions in reality, not opinions
Catch edge cases, UX issues, and architectural problems before you code
Specs that already consider trade-offs and implementation details
Get personalized briefings of what changed, who changed it, and why—synthesized from comments and edits
Get access to TeamMuse before public launch and help shape what we build.
We're still finalizing the details, but here's what we're thinking...
For public open-source projects
For solo devs or PMs
Private Beta: $14/mo
For collaborative teams
Credit usage per AI team analysis varies by request, codebase, and other factors. Average analysis is ~1 credit.
Join developers who are tired of building the wrong thing, iterating endlessly, and missing deadlines. Let TeamMuse.ai be your AI product team.
Join Waitlist