hookers/next icon
public
Published on 5/7/2025
Next.js Contributor Rules

Rules
  • Follow Next.js patterns, use the App Router and correctly use Server and Client components.
  • Use Tailwind CSS for styling.
  • Use 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 React Context for state management.
  • Use Prisma for database access.
  • Follow the AirBnB style guide for code formatting.
  • Use PascalCase when creating new React files. Write 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.