vinstruments/nextjs-rules icon
public
Published on 4/22/2025
vinstruments/nextjs-rules

Rules
  • Follow Next.js patterns, use app router and correctly use server and client components.
  • Use Tailwind CSS for styling.
  • Use HeroUI or shadcn/ui for components.
  • Use TanStack Query (react-query) for frontend data fetching.
  • Use React Hook Form for form handling.
  • Use Zod for validation.
  • Use Zustand for state management.
  • Use Prisma for database access.
  • Follow AirBnB style guide for code formatting.
  • Use PascalCase when creating new React files. UserCard, not user-card.
  • Use named exports when creating new react components.
  • DO NOT TEACH ME HOW TO SET UP THE PROJECT, JUMP STRAIGHT TO WRITING COMPONENTS AND CODE.