SkillAgentSearch skills...

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-collection

Installs into whichever agent you are using.

About this skill
๐Ÿ“

.cursorrules

Cursor IDE rules (legacy)

Quality Score

82/100

Supported Platforms

Cursor

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.

Substance
30/30
Structure
20/20
Description
15/15
Adoption
7/20
Freshness
11/15

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 found

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.

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.

SkillScoreStarsUpdatedFormat
cursorrules-collection (this skill)by nedcodes-ok82388mo ago.cursorrules
taste-skillby Leonxlnx100110.6ktodayCLAUDE.md
ai-job-searchby ai-job-search-dev10069.8ktodayCLAUDE.md
claude-howtoby luongnv8910046.6k2d agoCLAUDE.md
algorithmic-artby anthropics100177.9k44d agoSKILL.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.

cursorrules-collection

Stars License: MIT

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 .mdc files in rules-mdc/. Both .cursorrules and .mdc are loaded, but .mdc takes 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)
  • globs for file-type scoping where applicable (e.g. Python rules only apply to *.py)
  • description for 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

Before / After

Same prompts, different output. Left side is vanilla Cursor, right side is with rules applied.

React component: React before/after

Python API endpoint: Python before/after

TypeScript function: TypeScript before/after

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

View on GitHub
GitHub Stars38
CategoryDevelopment
Updated8mo ago
Forks5

Languages

Shell

Trust signals

91/100

From repository metadata: license, adoption, age and documentation. Not a code audit โ€” see the Safety scan above for what the skill file itself contains.

1 low1 info
cursorrules-collection โ€” .cursorrules: Install & Safety Check | SkillAgent