Kevin Kern Profile picture
Feb 6, 2025 13 tweets 5 min read Read on X
Understanding new .cursor/rules in 0.45

I've seen so many people struggling with .cursorrules and with the new .cursor/rules directory.

Here is a Guide for you! 🧵 Image
1/ Understand Cursorrules

A lot of my teammates, including myself, always forget to do certain things before leaving the office.

So, we set up our own rules and routines to make sure we do these things every time we leave.

This is basically how .cursorrules work. Image
2/ .cursorrules file

A rules file is like a guidebook for your AI coding helper. It tells the AI how to write code for your project, including what tools you're using and how everything is organized. This helps the AI create better and more accurate code.

- Create a file called ".cursorrules" in project root.
- Add your rulesImage
3/ Now, let’s go back to our real-world office example. What if we had rules for the kitchen too? In that case, we wouldn’t write them on the same note as the office rules. Instead, we’d put them on a separate piece of paper and stick it to the kitchen door.

So, each space has its own rules.Image
4/ Before, we had to put all rules in a single .cursorrules file. Typescript, Database rules, UI everything in one place. But that wasn’t ideal. Sometimes, the Agent didn’t know which rules to apply, and you couldn’t be specific. Technically, it just filled up your context window with unnecessary information.Image
5/ This is how you add your "main" .cursorrules file.

Cursor reads this file first when the AI is working – it’s the first piece of context it loads​.

6/ With a recent update (0.45), CursorRules got an upgrade, making this kind of separation possible.

- Create a folder .cursor/rules
- Add rules for specific files in it Image
7/ .cursor/rules directory

As projects get more complex, you might want specific rules for, say, .ts files, .js files, .md files, or even entire subfolders.

8/ Now you need to reimagine your .cursorrules files too.

They still work like before, but when using them with an agentic approach, it’s different. Now, you're telling the agent how to act, not just listing rules. Image
9/ A simple example .cursorrules file
(Just that you get the idea) Image
10/ You can do to file referencing with the @ symbol Image
11/ Agent Mode

The best thing is that you can build your full autonomous agent with this approach. For this you need to enable the Agent Mode in Cursor and describe in your rule files what script or what document should be processed.
12/ Want to build and ship faster with Cursor AI?

Get instant access to my Ultimate Cursor Course – Early bird discount available (only in february)! 🚀

New update coming soon: Agent Mode, new cursorrules and example lessons!

instructa.ai/en/courses/cur…

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Kevin Kern

Kevin Kern Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @kevinkern

Aug 12, 2025
I just released Browser Echo.

Catch live browser errors. And fix them in Cursor or Claude Code.

- Vite, React, Vue, Tanstack, Nuxt, Next support
- Use in Cursor, Claude Code, Codex, Gemini CLI
- Open Source & Free to use

Quickstart video in the comments 👇 Image
Get Next.js console errors live from the browser to fix them Cursor.
Using browser-echo in Nuxt and Claude Code with background tasks
Read 5 tweets
Jun 4, 2025
Cursor 1.0 update is rolling out!

Click to see whats new 🧵 Image
1/ "Generate memories". This will likely help you to auto-update your own Cursor rules.
2/ New UI for Editor Settings.

The settings page finally got an overhaul. Everything is much better organized and findable.
Read 10 tweets
Jun 4, 2025
Cursors Bugbot is here! It catches bugs before they go live!

Click to learn more about it 🧵 Image
1/ What is bugbot?

It automatically reviews your pull requests on GitHub and flags bugs instantly. Image
2/ How to Setup

cursor .com/dashboard → Integrations
"Connect to GitHub" → authorize
Pick repos & toggle BugBot ON
Read 6 tweets
Mar 24, 2025
@cursor_ai 0.48 Update has been shipped today.

Click here to see all the new updates 🧵👇 Image
1/ Edit Mode is now "Manual" Mode Image
2/ Ask Mode Updates:

- Has access to all search tools. No @ Codebase anymore
- Use "Search Codebase" to force it
- Disable search from Ask in the mode menu Image
Read 5 tweets
Mar 21, 2025
AI Prompts (Cursor Rules/Prompts) has already its small ecosystem:

✅ Cursor Extension live (Free)
✅ Web Directory incl. Search / Filter (Copy Paste)
✅ Open Source on Github
🔁 Create your own Rules WIP
🔁 MCP Server WIP
... more

MCP Plugin Code is now Open Source too! 🔥
The extension integrates well into Cursor
Read 4 tweets
Mar 8, 2025
MCP (Model Context Protocol) is getting tons of attention on the tech side.

To really understand its impact, we need to see how Tool Calling Agents can make a big difference for companies and especially their non-tech employees in the future.

Thread 🧵 Image
1/ Scattered tool use

Most AI interactions today happen separately. You ask one AI tool for one specific thing. And honestly, even this isn't common yet. Usually, people still have to open multiple tabs or tools, paste data back and forth, and manually search through apps like Slack, HubSpot, or GitHub.

And that's messy. Data and answers get scattered across different platforms. This leads to confusion and bigger expenses.

So, right now, working with multiple isolated AI tools is slow, expensive, and frustrating.Image
2/ Natural language and one chat app.

That's why ChatGPT or Claude feel easy. Multiple Saas Tools (CRM, ATS, CMS, name it!) or multiple AI assistants add a lot of complexity.

The goal should be a single chat that calls them silently. This isn't MCP's main job, although it can lead in this direction as it handles all these tool connections in a smooth way. (See Claude Desktop)Image
Read 8 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us!

:(