You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -478,4 +477,4 @@ This is an **open-source** project. Write code that:
478
477
479
478
---
480
479
481
-
**Remember**: Simple, readable code is better than clever code. When in doubt, check the workspace rules (`.cursor/rules/*.mdc`) and existing codebase patterns.
480
+
**Remember**: Simple, readable code is better than clever code. When in doubt, check the project documentation (AGENTS.md, CLAUDE.md) and existing codebase patterns.
**Remember**: This is an open-source project. Write clean, maintainable code that others can understand and contribute to. When in doubt, favor simplicity over cleverness.
332
-
## Next.js App Router Essentials
333
-
334
-
**CRITICAL**: This is Next.js 16 with App Router (not Pages Router). Consult [Next.js Documentation](https://nextjs.org/docs) before suggesting code.
335
-
336
-
### Core Concepts
337
-
338
-
**File-System Routing** - Routes are defined by folder structure, not code:
339
-
```
340
-
app/
341
-
├── page.tsx # Route
342
-
├── layout.tsx # Shared UI (persists across navigation)
343
-
├── loading.tsx # Loading UI (auto-Suspense)
344
-
├── error.tsx # Error boundary
345
-
└── [param]/ # Dynamic segment
346
-
└── page.tsx
347
-
```
348
-
349
-
**Server Components (default)** - Run only on server:
0 commit comments