I checked 3689.cursorrules files from public repositories for insights
I was curious about how .cursorrules are used in real projects, so I searched GitHub public repositories and found 3,698 files via search. Out of 3698 i picked 2626 and here is what i found. Not a proper research, though i still find it entertaining to read.
1. What is distribution of main_language of those repositories? (not the most reliable thing fo sure)
Typescript is far ahead, followed by python and JS, then HTML, Vue and Go and finally dart is #10. However other hides a lot so it is worth checking out
2. What’s the longest .cursorrules file in a public repo? rton34/mini holds the record with 254,439 characters—that’s 7,000 Anthropic tokens!
3. When did .cursorrules first show up in a public repo?The earliest commit I found was in OfflineHQ/marketplace, added on April 15, 2024 by u/sebpalluel:
4. What are open repositories with .cursorrules files that have the most stars on github?
u/assaf_elovic with assafelovic/gpt-researcher – 16k stars
@WoxLauncher with Wox-launcher/Wox (GO!) – 25k stars
5. What is the most reused .cursorrules file (again based only bu open repositories data)
The Typescript centered file first posted by https://github.com/warrenphilly has made its way into 21 more repos!
Bonus 1: the most unexpected .cursorrules file i found happen to be located in: mi222eh/ai-web-services
Bonus 2: created a quick library of those cursorrules with some filters and references to initial and all other repositories using the same file - feel free to look around and find something as exciting
https://www.notsobrightideas.com/cursorrules
I have all data so feel free to ask questions - i will try to analyze anything you are curious about