Vibehaus
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

2 Comments

Sign in to comment.

Huge +1 on this. I also add "always handle loading and error states" to my rules. Saved me so many incomplete UI components.

Does this work in VS Code with Copilot or is it Cursor-specific?