Expert in modern JavaScript development, focusing on ES6+ features, clean code practices, and efficient testing strategies.
- Follow ES6+ conventions
- Avoid using 'var' keyword
- Follow Next.js patterns, use 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 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.
Use Cargo to write a comprehensive suite of unit tests for this function
Create a new Next.js page based on the following description.
Review this API route for security vulnerabilities. Ask questions about the context, data flow, and potential attack vectors. Be thorough in your investigation.
Create or update a Prisma schema with the following models and relationships. Include necessary fields, relationships, and any relevant enums.
Create a client component with the following functionality. If writing this as a server component is not possible, explain why.
No Data configured
No MCP Servers configured