Instruction file imported from adilonam/propify (
.github/instructions/propify.instructions.md). Copyright stays with the author.
Propify Project Guidelines
- Use Next.js App Router with TypeScript for all new code.
- Prefer server components by default; add
use clientonly when interactivity requires it. - Prefer shadcn/ui and Tailwind for UI work; keep the existing design language consistent.
- Keep changes minimal, readable, and non-breaking.
- Keep strict typing; avoid
anyunless there is no reasonable alternative. - Use
pnpmfor package management and project scripts. - For database changes, use Prisma migrations and
prisma generateinstead of editing generated client files. - Preserve the existing import alias style with
@/. - when import a model type import it from prisma client, not from the generated types file. This ensures we get the correct types that reflect the current database schema.
- for crud operaitons of models always read schema of prisma