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/ins...
avinashjetwani•8m ago
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/ins...
repo : github.com/Avinash-jetwani/jevmem