Show HN: Cursor AI Rules Directory (Open Source)
cursor.directoryWhile Cursor has already revolutionized coding, you can still configure it to perform even better based on your language and framework.
That's why we created Cursor Directory, a collection of the best cursor rules for your framework and language from the community. It's fully open source and you can contribute to it by submitting your own rules.
Just copy and add a .cursorrules file to your project root!
Let me know what you think!
Comments
This is something I’ve been arguing for for a while[1]. I called it a “Framework Knowledge Base”. I think it needs to go a bit further and include specific code examples, especially for newer bits that are not in the training set. Ultimately RAG or even fine tuning might be better than a system prompt. [1]: https://devops.com/the-rise-of-coding-assistants-superchargi...
thanks for sharing!
Are these system prompts actually adding any value? I use Claude for coding a lot and haven't seen any meaningful difference from just giving it the code and asking for a change. Telling it to "be an expert" in something feels like a type of thing that sounds cool in theory but has no actual impact in practice.
I suspect it's not so much the "expert" instruction but the list of subjects of the expertise. These words will generate embeddings that have a better chance of activating useful pathways and relationships within the LLM's generation path.
My understanding is the goal is to prime the LLM with context that it will use when generating answers, rather than hoping it will infer connections in the feed forward layers when generating answers based on a sparse prompt.
it does, especially when you have libraries that you use and want to instruct how to write the code!
Is it possible for .cursorrules to access a directory and say read from the .md files to extend its knowledge?
I don't think so, but imho it would be a no-brainer to have .cursorrules files support the same @Web @...files, @Docs syntax which cursor already has in Cmd+K
This is fantastic, I feel like it can once again improve my development efficiency
Cool. Great help.
All non language specific rules point to python. why is that?
it’s created by the community, you can add tags for them to be in different sections! No real reason just for python
how to get official cursor prompt?
what benefits does cursor ai have over zed ai?
I haven't personally used Zed AI yet
varför inte?
Something I have been wondering. By giving so much rich instructions which are irrelevant in some cases - aren't we actually creating WORSE results?
For example, I have copied a sample system prompt for React below we instruct the LLM to " - Always use === instead of ==." By making the LLM 'think' of this additional detail, are we not taking away its focus from actually solving the main task? And something like equal signs can easily be auto-fixed by a linter.
great directory
solid work