Michael Feldstein Profile picture
Jan 30 7 tweets 3 min read Read on X
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. 🧵 Image
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. Image
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" Image
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.Image
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. Image
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! Image
also we're hiring
anysphere.inc

• • •

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

Keep Current with Michael Feldstein

Michael Feldstein 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!

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!

:(