init app
This commit is contained in:
36
AGENTS.md
36
AGENTS.md
@@ -1,5 +1,37 @@
|
||||
<!-- BEGIN:nextjs-agent-rules -->
|
||||
# This is NOT the Next.js you know
|
||||
# CRITICAL RULES - MUST FOLLOW
|
||||
|
||||
This version has breaking changes — APIs, conventions, and file structure may all differ from your training data. Read the relevant guide in `node_modules/next/dist/docs/` before writing any code. Heed deprecation notices.
|
||||
## RESPONSES
|
||||
|
||||
- Keep responses concise and to the point - unless the user asks otherwise
|
||||
|
||||
## PLANNING MODE
|
||||
|
||||
- Always ask clarifying questions
|
||||
- Never assume design, tech stack or features
|
||||
- Use deep-dive sub-agents to assist with research
|
||||
- Use deep-dive sub-agents to review the different aspects of your plan before presenting to the user
|
||||
|
||||
## CHANGE / EDIT MODE
|
||||
|
||||
- Never implement features yourself when possible - use sub-agents!
|
||||
- Identify changes from the plan that can be implemented in parallel, and use sub-agents to implement the features efficiently
|
||||
- When using sub-agents to implement features, act as a coordinator only
|
||||
- After completing features (large or small), always run commands like lint, type check and next build to check code quality
|
||||
|
||||
## DATABASE SCHEMA CHANGES
|
||||
|
||||
- Whenever you make changes to the database schema, ALWAYS run the prisma generate and migrate commands
|
||||
- NEVER run prisma push!
|
||||
|
||||
## UI DESIGN
|
||||
|
||||
- Always follow the UI design system when creating or reviewing components or pages.
|
||||
- Design System: @DESIGN.md
|
||||
|
||||
Read the relevant guide in `node_modules/next/dist/docs/` before writing any code. Heed deprecation notices.
|
||||
|
||||
- Do not use deprecated APIs or conventions.
|
||||
- Do not use reduce motion.
|
||||
- Follow the guide's instructions exactly.
|
||||
<!-- END:nextjs-agent-rules -->
|
||||
|
||||
Reference in New Issue
Block a user