One of the things I've been working on at @cursor_ai is beefing up...

@msfeldstein
Michael Feldstein@msfeldstein
13 views Jan 31, 2025 ~2 min read
Advertisement
1
One of the things I've been working on at @cursor_ai is beefing up Cursor Rules. We want Agent to be as powerful as the most knowledgable person on your team. Here's how we use them at Cursor. ๐Ÿงต
Media image
2
Project Rules can be auto-attached to any composer/agent request based on filename globbing, or the agent can grab one based on its description. These rules are checked into your codebase so anyone can make use of them.
Media image
3
Project rules can be very detailed. The first time i had to write a custom editor UI it was difficult to figure out how to wire it up. But I put that knowledge into a rule and now i just ask agent "Make a custom editor UI that does X"
Media image
4
They can also be simple. We use SolidJS instead of react, but the AI would often give us React code. We can't use the original .cursorrules which get included with every request, especially since our dashboards _do_ use react. This simple rule gets included with all front-end tsx files, and i haven't seen unwanted react since.
Media image
5
Some of our code is auto-generated, and if the AI modifies a .proto file, it used to need human intervention to generate the code before it can continue working, with a simple rule added to all .proto modifications, it can just keep moving.
Media image
6
We have a _ton_ of ideas how to make these easier to author, easier to use, more powerful, but we're already seeing our agent do things it definitely couldn't before. More to come!
Media image
7
also we're hiring
anysphere.inc
8
@kyledcollins @cursor_ai We were considering not shipping it until we had a much more automated rules creation process, but i think this is already so valuable for large projects.. all it takes is one person to write one of these up then everyone can benefit.
Actions
What You Can Do
  • Export as PDF or Markdown
  • Batch Export to Notion
  • Bookmark & Highlight
  • Screenshot Tweet
Create Free Account

Includes 7-day Premium trial

Advertisement