cursorrules-collection
110+ tested .mdc and .cursorrules files for Cursor AI. Validate with cursor-doctor, generate with rule-gen, convert with rule-porter.
Install / Use
npx skills add nedcodes-ok/cursorrules-collectionInstalls into whichever agent you are using.
.cursorrules
Cursor IDE rules (legacy)
Quality Score
Category
Development & EngineeringSupported Platforms
Tags
Our assessment of cursorrules-collection
cursorrules-collection scores 82/100 on our quality scale, 3235th of 4,617 Development & Engineering skills we index.
Its .cursorrules is 20 KB long, well organised into 22 sections with 7 code examples: a thorough specification that gives an agent plenty to work with.
It has 38 GitHub stars, so there is little community track record yet; judge it on its content.
Maintenance, license and trust
- The repository was last updated about 8 months ago. That is recent enough to be usable, but agent tooling moves fast, so check the instructions against your agent's current version.
- Our last check on 2026-10-20 found the source still online.
- It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 91/100, with 1 caution from licensing, adoption, age or documentation. These come from repository metadata, not a code audit โ read the skill file before letting an agent act on it.
Safety scan
No issues foundOur scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful.
AI review by kimi-k2.7-code on 2026-09-24. Automated pattern scan on 2026-09-24. It catches known dangerous patterns, not every risk โ read a skill before letting an agent act on it.
cursorrules-collection compared with similar skills
All 4 of these similar skills score higher than cursorrules-collection; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| cursorrules-collection (this skill)by nedcodes-ok | 82 | 38 | 8mo ago | .cursorrules |
| taste-skillby Leonxlnx | 100 | 110.6k | today | CLAUDE.md |
| ai-job-searchby ai-job-search-dev | 100 | 69.8k | today | CLAUDE.md |
| claude-howtoby luongnv89 | 100 | 46.6k | 2d ago | CLAUDE.md |
| algorithmic-artby anthropics | 100 | 177.9k | 44d ago | SKILL.md |
Frequently asked questions
- How do I install cursorrules-collection?
- Run
npx skills add nedcodes-ok/cursorrules-collection. The install tabs above show the steps for each supported agent. - Which AI agents does cursorrules-collection work with?
- It is written for Cursor, as a .cursorrules file. Other agents that read the same format can often use it too.
- Is cursorrules-collection safe to use?
- Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful. It is MIT-licensed and scores 91/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is cursorrules-collection still maintained?
- The repository was last updated about 8 months ago. That is recent enough to be usable, but agent tooling moves fast, so check the instructions against your agent's current version.
Skill content
View source on GitHubcursorrules-collection
110+ tested rules for AI coding tools โ Cursor, Claude Code, Copilot, Windsurf, Gemini CLI, and Codex. Every rule contains something you can't get from a generic LLM prompt. Copy to your project and start getting better output.
โ ๏ธ Using Cursor agent mode? Use the
.mdcfiles inrules-mdc/. Both.cursorrulesand.mdcare loaded, but.mdctakes precedence on conflicts and gives you frontmatter (alwaysApply, globs). More details.
๐ง Check your setup first
Before adding new rules, see if your current setup has issues:
npx cursor-doctor scan
Catches broken frontmatter, conflicting rules, token budget problems, and missing coverage. Takes about 2 seconds.
โ cursor-doctor on GitHub ยท โ cursor-doctor on npm
Quick Start (manual)
For agent mode (recommended):
# Copy the .mdc file into your project's .cursor/rules/ directory
mkdir -p .cursor/rules
curl -o .cursor/rules/typescript.mdc https://raw.githubusercontent.com/nedcodes-ok/cursorrules-collection/main/rules-mdc/languages/typescript.mdc
For regular Cursor sessions (composer, chat):
curl -o .cursorrules https://raw.githubusercontent.com/nedcodes-ok/cursorrules-collection/main/rules/languages/typescript.cursorrules
Each .mdc file includes:
alwaysApply: true(required for agent mode)globsfor file-type scoping where applicable (e.g. Python rules only apply to*.py)descriptionfor Cursor's context
๐ง Make It Yours
These rules are starting points, not finished configs. The more specific they are to YOUR project, the better they work.
Step 1: Grab the rule for your stack (e.g. react.mdc)
Step 2: Open it and delete anything that doesn't match your patterns. Using Redux instead of Context? Zustand instead of TanStack Query? Edit the rule.
Step 3: Add your project-specific conventions:
## Our Conventions
- All API calls go through src/lib/api.ts
- Use date-fns, not moment
- Component files are PascalCase, utilities are camelCase
- Tests live next to the file they test (Button.test.tsx)
Step 4: Validate with npx cursor-doctor lint to make sure the frontmatter is correct.
The generic version gets you 70% there. The last 30% is what makes the rule actually useful for your codebase.
๐ Articles & Guides
- Cursor Agent Mode Ignores .cursorrules โ Use .mdc Instead
- 5 .cursorrules That Actually Changed Cursor's Output
- How to Write .cursorrules That Actually Work
- 5 .cursorrules That Actually Changed What Cursor Generates (React/Next.js)
Before / After
Same prompts, different output. Left side is vanilla Cursor, right side is with rules applied.
React component:

Python API endpoint:

TypeScript function:

Rules
Languages
Deep coverage: Python, JavaScript, TypeScript, Go, Rust, Java โ version-specific gotchas, tested patterns, real traps. Starter templates: C#, Ruby, PHP, Swift, Kotlin, Elixir, Scala, C++ โ solid foundations, customize for your project.
| Rule | .mdc (agent mode) | .cursorrules (legacy) | |------|---|---| | Python | python.mdc | python.cursorrules | | JavaScript | javascript.mdc | javascript.cursorrules | | TypeScript | typescript.mdc | typescript.cursorrules | | Go | go.mdc | go.cursorrules | | Rust | rust.mdc | rust.cursorrules | | Java | java.mdc | java.cursorrules | | C# | csharp.mdc | csharp.cursorrules | | Ruby | ruby.mdc | ruby.cursorrules | | PHP | php.mdc | php.cursorrules | | Swift | swift.mdc | swift.cursorrules | | Kotlin | kotlin.mdc | kotlin.cursorrules | | Elixir | elixir.mdc | elixir.cursorrules | | Scala | scala.mdc | scala.cursorrules | | C++ | cpp.mdc | cpp.cursorrules |
Frameworks
Deep coverage: React, Next.js, Vue, Angular, Django, FastAPI, Express, Tailwind CSS, shadcn/ui โ version-specific, gotcha-heavy, opinionated. Solid coverage: Everything else โ good patterns and conventions, ready to customize.
| Rule | .mdc (agent mode) | .cursorrules (legacy) | |------|---|---| | React | react.mdc | react.cursorrules | | Next.js | nextjs.mdc | nextjs.cursorrules | | Vue | vue.mdc | vue.cursorrules | | Svelte | svelte.mdc | svelte.cursorrules | | Django | django.mdc | django.cursorrules | | FastAPI | fastapi.mdc | fastapi.cursorrules | | Express | express.mdc | express.cursorrules | | Rails | rails.mdc | rails.cursorrules | | Laravel | laravel.mdc | laravel.cursorrules | | Flutter | flutter.mdc | flutter.cursorrules | | Angular | angular.mdc | angular.cursorrules | | Astro | astro.mdc | astro.cursorrules | | Remix | remix.mdc | remix.cursorrules | | Nuxt | nuxt.mdc | nuxt.cursorrules | | Tailwind CSS | tailwind-css.mdc | tailwind-css.cursorrules | | Gatsby | gatsby.mdc | gatsby.cursorrules | | SolidJS | solid-js.mdc | solid-js.cursorrules | | shadcn/ui | shadcn-ui.mdc | shadcn-ui.cursorrules | | Zod | zod.mdc | zod.cursorrules | | TanStack Query | tanstack-query.mdc | tanstack-query.cursorrules | | Zustand | zustand.mdc | zustand.cursorrules | | Hono | hono.mdc | hono.cursorrules | | T3 Stack | t3-stack.mdc | t3-stack.cursorrules | | SWR | swr.mdc | swr.cursorrules | | NestJS | nestjs.mdc | nestjs.cursorrules | | Flask | flask.mdc | flask.cursorrules | | Spring Boot | spring-boot.mdc | spring-boot.cursorrules | | htmx | htmx.mdc | htmx.cursorrules | | SvelteKit | sveltekit.mdc | sveltekit.cursorrules | | React Native | react-native.mdc | react-native.cursorrules | | Expo / React Native | expo.mdc | expo.cursorrules | | Electron | electron.mdc | electron.cursorrules | | Tauri | tauri.mdc | tauri.cursorrules |
Practices
| Rule | .mdc (agent mode) | .cursorrules (legacy) | |------|---|---| | Clean Code | clean-code.mdc | clean-code.cursorrules | | Testing | testing.mdc | testing.cursorrules | | Documentation | documentation.mdc | documentation.cursorrules | | Git Workflow | git-workflow.mdc | git-workflow.cursorrules | | Code Review | code-review.mdc | code-review.cursorrules | | Security | security.mdc | security.cursorrules | | Performance | performance.mdc | performance.cursorrules | | Accessibility | accessibility.mdc | accessibility.cursorrules | | API Design | api-design.mdc | api-design.cursorrules | | Error Handling | error-handling.mdc | error-handling.cursorrules | | Logging | logging.mdc | logging.cursorrules | | Monitoring | monitoring.mdc | monitoring.cursorrules | | Migration Safety | migration-safety.mdc | migration-safety.cursorrules | | Refactoring | refactoring.mdc |
Truncated for display โ read the full file on GitHub.
Related Skills
taste-skill
110.6kAgent skills that give coding agents taste: art direction, reference images and a browser check instead of generic AI pages
ai-job-search
69.8kThe job search that runs on your machine. AI job application framework built on Claude Code: evaluate postings, tailor CVs, write cover letters, prep interviews. Fork it and own it.
claude-howto
46.6kA visual, example-driven guide to Claude Code โ from basic concepts to advanced agents, with copy-paste templates that bring immediate value.
algorithmic-art
177.9kCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit โ see the Safety scan above for what the skill file itself contains.
