$ Act as a senior software architect. I need to build a [FEATURE_NAME] for a [APP_DESCRIPTION].
1. Define the data model (TypeScript interfaces).
2. Create the API routes (Next.js App Router).
3. Create the frontend component using Tailwind CSS and React hooks.
Ensure all code is production-ready, typed, and handles edge cases like loading and error states. Use modern best practices.
Why This Works
Assigning a role primes the model for high-quality output. Asking for data models first ensures the logic is sound before generating UI code.