I want to build space facts as a web app with Next.js, TypeScript, Tailwind and SQLite via Prisma. Before writing any code, ask me up to 5 clarifying questions. Then write a plan: pages, data model, components and a numbered list of small build steps, each with how to check it works. Don't write code yet.
Follow the plan for this app (space facts) and implement step 1 only: project setup, the main layout and the home page with realistic sample data. Run the dev server and the linter, fix any errors, then list the files you changed.
Add the core feature of this app (space facts): create, edit and delete the main items, saved in the database, with form validation and clear error messages. Keep the existing styles and folder structure. Write tests for the new logic, run them until they pass, and tell me anything you were unsure about.
Create .cursor/rules/project.mdc with alwaysApply: true for this app (space facts): the stack, folder structure, naming rules, and the exact commands for dev, test and lint. Keep it under 40 lines and point to files instead of copying them.