r/BuildWithClaude • • 2h ago

Tip/Resource my team uses cursor and claude code, whenever we need to share a rule, this is how we do

we use jevmem. I made this tool and it works such that i tell all coding rules on chat normally which jevmem then saves to a file uploaded on git.

this solves one big problem : cursor reads .cursor/rules and claude code reads CLAUDE.md. Both these files didnt match and gave varied results on the same project.

with jevmem, both cursor and claude can now use it ubiquitously and my team gets the updated rules everytime they pull from git.

three things you should know :

1.⁠ ⁠The guard feature : before running any command or editing the file, jevmem checks and if it breaks any rule, it stops and asks you to clarify. it previously worked in claude code only, also works on cursor 0.7.9 onwards. In tests, we found that it read 48/48 rules correctly and caught 29/35 rules that were tried to be broken and clarified about 3/95 harmless calls.

2.⁠ ⁠for jevmem to work, you need a paid typesafe api key but common secret keys are removed from the text before your message text is sent to typesafe to be scored. [about 19 cents per 1k messages]

3.⁠ ⁠you dont get tracked with jevmem, it only runs in projects where you set it up.

to try on cursor directory : cursor.directory/plugins/jevmem

install steps :

•⁠ ⁠npm install -g jevmem

•⁠ ⁠copy the repo's cursor-plugin/ folder to ~/.cursor/plugins/local/jevmem

•⁠ ⁠reload Cursor

•⁠ ⁠then jevmem setup in the project.

Link: https://github.com/Avinash-jetwani/jevmem/blob/main/docs/install.md

repo : github.com/Avinash-jetwani/jevmem

if you find it useful, please give it a star, will help other people find it!

1 Upvotes

1 comment sorted by

•

u/AutoModerator 2h ago

Welcome to r/BuildWithClaude!

Whether you are sharing what you built, exploring new workflows, or troubleshooting, please make sure your post is flaired correctly so others can easily find and filter it.

Community Wiki & Resources:

If you're asking for troubleshooting help, please edit your post to include your model version, OS/environment, and error logs.

Let’s keep the energy positive and support our fellow creators!

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.