# You can tell Cursor to update its .cursorrules for you

**URL:** <https://forum.cursor.com/t/you-can-tell-cursor-to-update-its-cursorrules-for-you/38092>\
**Category:** Discussions\
**Created:** [December 30, 2024, 6:59am UTC](https://forum.cursor.com/t/you-can-tell-cursor-to-update-its-cursorrules-for-you/38092 "2024-12-30T06:59:19Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![jjaimealeman](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/jjaimealeman/32/1076_2.png) [@jjaimealeman](https://forum.cursor.com/u/jjaimealeman)\
**Post date:** [December 30, 2024, 6:59am UTC](https://forum.cursor.com/t/you-can-tell-cursor-to-update-its-cursorrules-for-you/38092/1 "2024-12-30T06:59:19Z")

</div>

I wanna share some useful Cursor insights with you.

I was having error after error trying to create a new field under my users table (postgres). After 20 minutes and a half dozen failed attempts, I checked the docs [Postgres | Documentation | Payload](https://payloadcms.com/docs/database/postgres#prototyping-in-development-mode) and one prompt later, it all worked. New field was added.

So I asked Cursor in the console:

> so lets review the errors we encountered and the solution.
> 
> why were we having so many failed attempts?  
> what did you learn that you can share with me, so i can better prompt you in the future?

It then proceeded to breakdown our journey and the lessons learned.  
So I linked it to .cursorrules and told it to modify it with what we’ve learned.

Never tried that before. Pretty freaking cool. I’m loving Cursor more and more everyday!

 ![image](https://us1.discourse-cdn.com/cursor1/original/3X/7/e/7eafc78d770c9619b1c6e2050edf2638a19c9b87.png)

---

<div class="post-metadata">

**Author:** ![xuzhiping7](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/xuzhiping7/32/10104_2.png) [@xuzhiping7](https://forum.cursor.com/u/xuzhiping7)\
**Post date:** [December 30, 2024, 9:07am UTC](https://forum.cursor.com/t/you-can-tell-cursor-to-update-its-cursorrules-for-you/38092/2 "2024-12-30T09:07:01Z")

</div>

cool man , i will try later ~

---

<div class="post-metadata">

**Author:** ![MrBazzieB](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/mrbazzieb/32/17789_2.png) [@MrBazzieB](https://forum.cursor.com/u/MrBazzieB)\
**Post date:** [December 30, 2024, 10:13am UTC](https://forum.cursor.com/t/you-can-tell-cursor-to-update-its-cursorrules-for-you/38092/3 "2024-12-30T10:13:46Z")

</div>

@jjaimealeman Hi Jaime, thanks for this. Would you be able to share you .cursorrules file? It is always nice to see how other people are doing things. If there is private info and you cannot share, I will also understand.

---

<div class="post-metadata">

**Author:** ![koltanl](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/koltanl/32/15844_2.png) [@koltanl](https://forum.cursor.com/u/koltanl)\
**Post date:** [January 2, 2025, 4:44pm UTC](https://forum.cursor.com/t/you-can-tell-cursor-to-update-its-cursorrules-for-you/38092/4 "2025-01-02T16:44:40Z")

</div>

giving it the good ol’ ’ and what did we learn, is there anything you would like to add to our rules to do better next time ’ proved quite fruitful

---

<div class="post-metadata">

**Author:** ![jjaimealeman](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/jjaimealeman/32/1076_2.png) [@jjaimealeman](https://forum.cursor.com/u/jjaimealeman)\
**Post date:** [January 4, 2025, 12:55am UTC](https://forum.cursor.com/t/you-can-tell-cursor-to-update-its-cursorrules-for-you/38092/5 "2025-01-04T00:55:29Z")

</div>

Sure thing amigo, all 220 lines here.

> <https://gist.github.com/jjaimealeman/937ea3bf15225a7135e665cce29c8ae6>

---

<div class="post-metadata">

**Author:** ![devgrinder](https://avatars.discourse-cdn.com/v4/letter/d/71c47a/32.png) [@devgrinder](https://forum.cursor.com/u/devgrinder)\
**Post date:** [January 5, 2025, 5:25pm UTC](https://forum.cursor.com/t/you-can-tell-cursor-to-update-its-cursorrules-for-you/38092/6 "2025-01-05T17:25:19Z")

</div>

Thanks for sharing this. Are you using a tool or a certain approach to generate this JSON? My rules file is just MD and I’m curious about the advantages of this structure.

---

<div class="post-metadata">

**Author:** ![mpsharp](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/mpsharp/32/5669_2.png) [@mpsharp](https://forum.cursor.com/u/mpsharp)\
**Post date:** [January 5, 2025, 9:38pm UTC](https://forum.cursor.com/t/you-can-tell-cursor-to-update-its-cursorrules-for-you/38092/7 "2025-01-05T21:38:19Z")

</div>

This has become my new favorite prompt:

 ![Screenshot 2025-01-05 at 1.37.35 PM](https://us1.discourse-cdn.com/cursor1/original/3X/c/6/c6380b5a6cdfd1d303048468e72ee8a88acb1acb.png)

---

<div class="post-metadata">

**Author:** ![jjaimealeman](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/jjaimealeman/32/1076_2.png) [@jjaimealeman](https://forum.cursor.com/u/jjaimealeman)\
**Post date:** [January 9, 2025, 5:36am UTC](https://forum.cursor.com/t/you-can-tell-cursor-to-update-its-cursorrules-for-you/38092/8 "2025-01-09T05:36:04Z")

</div>

🤣

I guess you missed the whole point amigo.

I use Cursor itself to rewrite its `.cursorrules` file

 ![image](https://us1.discourse-cdn.com/cursor1/original/3X/1/8/18b66dbb2ae424507fe737d538462fce1c3e178f.png)s

---

<div class="post-metadata">

**Author:** ![SoMaCoSF](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/somacosf/32/14963_2.png) [@SoMaCoSF](https://forum.cursor.com/u/SoMaCoSF)\
**Post date:** [January 9, 2025, 5:39am UTC](https://forum.cursor.com/t/you-can-tell-cursor-to-update-its-cursorrules-for-you/38092/9 "2025-01-09T05:39:37Z")

</div>

I’d be interested to see what other folks’ Agents spit out whe the following is asked:

> [@Tip: Within a Composer, request synopsis of thread/topics/discussions/reasearch](https://forum.cursor.com/t/tip-within-a-composer-request-synopsis-of-thread-topics-discussions-reasearch/40144):
>
> [image] I use a project ‘ScratchPad’ which is cursor/scratchpad and this is where I ask it all my randoms, and pursue little cmdlettes ad such. Recommend keeping a scartchpad, and within any project composer, request that it exaplin itself. [image] And remember to ask your bot “WTF were you thinking?”: [image] [image] And then, Ask it to propose an updated workspace file as you have given it more context in how you want it to behave, based on your interactions of reasearch and the outputs …

---

<div class="post-metadata">

**Author:** ![jjaimealeman](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/jjaimealeman/32/1076_2.png) [@jjaimealeman](https://forum.cursor.com/u/jjaimealeman)\
**Post date:** [January 9, 2025, 5:43am UTC](https://forum.cursor.com/t/you-can-tell-cursor-to-update-its-cursorrules-for-you/38092/10 "2025-01-09T05:43:04Z")

</div>

Funnily enough, I had a “chat” with Cursor about which format it preferred, and it said the .json, while well-structured, was not as easy to follow as the markdown file. It said the markdown, being in a natural language, was easier to read and comprehend.

I copied my markdown formatted cursorrules into ChatGPT and asked it to format as a json structured object. Then named them .cursorrules1 and .cursorrules2. One was markdown, and the other json. It still preferred the markdown.

So that’s the one I kept and the format I continue to use.

There’s a thread on here about the format, and it seems many users use json. So I really don’t know?!

Can you try and do the same as I did? Make one in markdown, and the exact same rules as a json file, and ask Cursor which it prefers and why?

I’d be interested to know what you and others find out.

---

<div class="post-metadata">

**Author:** ![RenjiYuusei](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/renjiyuusei/32/22500_2.png) [@RenjiYuusei](https://forum.cursor.com/u/RenjiYuusei)\
**Post date:** [January 9, 2025, 5:47am UTC](https://forum.cursor.com/t/you-can-tell-cursor-to-update-its-cursorrules-for-you/38092/11 "2025-01-09T05:47:50Z")

</div>

lol i use ai so it reads all the files and generates the most accurate .cursorrules for the project

---

<div class="post-metadata">

**Author:** ![SoMaCoSF](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/somacosf/32/14963_2.png) [@SoMaCoSF](https://forum.cursor.com/u/SoMaCoSF)\
**Post date:** [January 9, 2025, 6:13am UTC](https://forum.cursor.com/t/you-can-tell-cursor-to-update-its-cursorrules-for-you/38092/12 "2025-01-09T06:13:52Z")

</div>

I had it tell me the same thing…

However, I have been fiddling various .mf .rmd and json dialogues with all the GPTs…

Here is my off\_the\_cuff subjective anecdote…

for data that is slurped into a project/workflow/context that is structured DATA - json… for declarative, narrative, @docs, architecture, schematic … i,e, Knowledge Conveyance, Agentic Controls: .md (.rmd in my pref - as I like to tell it things like "include mermaids for all schema, logic, and convert to svg as well.

But like I showed, having it tell me stuff about the project that I can render to a synopsis HTML in Rstudio is a pretty dope workflow Ill be automating as a park of my workspace settings:

 ![2025-01-08 21_55_42-D__Cursor_Yolorenai_cursor_timeline_analysis.html](https://us1.discourse-cdn.com/cursor1/original/3X/c/d/cdd516880daadecbb74b6edc790464127f5e51f9.png)

 ![2025-01-08 21_57_29-D__Cursor_Yolorenai_cursor_timeline_analysis.html](https://us1.discourse-cdn.com/cursor1/original/3X/b/8/b86e9738387d4c9507c0a8d6141e15464a306fd9.png)

like I have it output SVGs of the Composer VSCDB tables/Schema and then convo\_flow…

 ![](https://us1.discourse-cdn.com/cursor1/original/3X/f/6/f62d96ef13c77ecdc78acec516f4705ee8c4d98a.png)  
 ![](https://us1.discourse-cdn.com/cursor1/original/3X/4/9/497cca603a95c9f5906cb4455cfafcc5b545f957.png)  
There is a lot to learn once we get proper Agent\_Wrangler\_9000 shipped.

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/system/32/99069_2.png) [@system](https://forum.cursor.com/u/system)\
**Post date:** [December 20, 2025, 3:42pm UTC](https://forum.cursor.com/t/you-can-tell-cursor-to-update-its-cursorrules-for-you/38092/13 "2025-12-20T15:42:25Z")

</div>

Closed on December 20, 2025, 3:42pm UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
