MUKE-coder/nextjs-for-tanstack — reverse-engineered prompt

Reverse engineered prompt

GitHub

Build me a clean little Next.js demo app for TanStack based on what’s already in this repo. I know there isn’t much README, so use the existing files as the source of truth and keep it simple.

I want the app to feel like a useful starter project, not just a blank page. Make a polished home page that explains what the demo does, then add a working example with sample data where I can view records, search or filter them, sort them, and see nice loading and empty states. If TanStack tools are already set up, use them properly. If something small is missing, add the simplest setup that makes sense.

Please make the UI look modern and tidy, reuse the existing components and styles, and keep the code easy to understand. Check current docs online if you need to. When you’re done, make sure it runs without TypeScript or lint errors.

Want more depth? Deep Reverse