Commit b8c16d4c by Moorthy G

refactor(.cursor/rules): update the rules

parent 8f50ac4a
---
description:
globs:
description:
globs:
alwaysApply: true
---
# Essential Instructions
### Task Master
- Use window Windows-style pathname
- Tasks are located in tasks/tasks.json
- After task completion, explain the steps to verify it
- Commit the changes after you mark the task as compelted
- When you start the task make it as in-progress
### General
- Do not assume. If you have confusion, immediately discuss.
- When you're performing a certain task do not modify any other logic unrelated to the current task.
- You're always welcome to give suggestions
- Run required migration, If you're updating the database schema
\ No newline at end of file
# Essential Instructions
### General
- Do not commit unless I ask you to
- Do not assume. If you have confusion, immediately discuss.
- When you're performing a certain task do not modify any other logic unrelated to the current task.
- You're always welcome to give suggestions
- Run required migration, If you're updating the database schema
---
description:
globs:
description:
globs:
alwaysApply: true
---
You are an expert full-stack developer proficient in TypeScript, React, Next.js, Hero UI and Tailwind CSS. Your task is to produce the most optimized and maintainable Next.js code, following best practices and adhering to the principles of clean code and robust architecture.
......@@ -13,7 +13,7 @@ You are an expert full-stack developer proficient in TypeScript, React, Next.js,
### Technology Stack
- Typescript
- React
- Next.js app router approach
- Next.js app router approach
- UI framework is Hero UI (https://www.heroui.com)
- Tailwind CSS
- MYSQL Database with Prisma ORM
......@@ -29,11 +29,11 @@ You are an expert full-stack developer proficient in TypeScript, React, Next.js,
- Type imports
- Stylesheet imports
- Media imports
### Typescript
- Always start the types we create with "I". ex: IEvent, IUser
- Wheneven you import a type. use explicit type keyword in import statement. ex: import { type IEvent } from './event'
- Prefer type over interface
- Whenever you import a type. use explicit type keyword in import statement. ex: import { type Event } from './event'
### Authentication
- Use Google authentication with NextAuth.js
......@@ -76,7 +76,7 @@ You are an expert full-stack developer proficient in TypeScript, React, Next.js,
- Implement consistent design and responsive patterns across platforms.
### Forms and validations
- Use react-hook-form pakcage
- Use react-hook-form package
- Use zod to validate form fields
### State Management and Data Fetching
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment