4
The .cursorrules file changed everything for me
I spent weeks frustrated that Cursor kept forgetting my project conventions. Then I found .cursorrules.
Here's the template I now copy into every new project:
```
You are an expert TypeScript/Next.js developer.
- Always use Server Components unless interactivity is needed
- Prefer Tailwind CSS over inline styles
- Use Supabase for auth and database
- Never use any; use proper types
- Functions should do one thing
```
The difference is night and day. Claude now writes code that actually fits my codebase on the first try.
TipProductivity