Coding & Developmentβ¨οΈcursorπuniversal
Awesome Cursor Rules π
A curated list of awesome .cursorrules files for enhancing your Cursor AI experience.
Quick Start
Install this Skill
npx skills add tugkanboz/awesome-cursorrules# Awesome Cursor Rules π **A curated showcase of modern Cursor Rules configurations for development teams** > π― **Evolution Notice**: This repository demonstrates the transition from legacy `.cursorrules` files to the powerful new **Cursor Rules** system with MDC format, rule types, and advanced organizational features. ## π What Changed: From `.cursorrules` to Cursor Rules Cursor has revolutionized AI-assisted development by moving beyond the limitations of single-file `.cursorrules`: | Legacy `.cursorrules` | New Cursor Rules | |----------------------|------------------| | β Single file approach | β Organized rule directories | | β Plain text only | β MDC format with metadata | | β Always active | β Smart rule types (Always, Auto, Manual, Agent) | | β No file organization | β Nested rules for complex projects | | β Limited context | β File references and templates | | β Hard to maintain | β Modular and scalable | ## πͺ Repository Overview This repository serves as a **living showcase** of modern Cursor Rules implementations across various development scenarios: ``` awesome-cursor-rules/ βββ ποΈ frameworks/ # Framework-specific configurations β βββ selenium-python/ # Python test automation patterns β βββ cypress/ # JavaScript E2E testing rules β βββ playwright/ # Cross-browser testing setup β βββ react/ # React development standards β βββ nodejs-api/ # Backend API development rules βββ π templates/ # Quick-start project templates β βββ web-automation/ # Complete automation project setup β βββ api-testing/ # API testing framework template β βββ mobile-testing/ # Mobile app testing configuration βββ π― examples/ # Real-world implementations β βββ monorepo-setup/ # Enterprise-scale organization β βββ team-standards/ # Company-wide coding standards β βββ cicd-integration/ # CI/CD pipeline integration βββ π legacy-migration/ # Migration guides from .cursorrules ``` ## π The Great Migration: Before & After ### Legacy `.cursorrules` Approach ```bash # Old way - Everything in one file project/ βββ .cursorrules # 200+ lines of mixed rules βββ src/ βββ tests/ ``` **Problems with legacy approach:** - β Difficult to maintain as projects grow - β No context awareness for different file types - β All rules active all the time - β Hard to share and collaborate on rules - β No template or example integration ### Modern Cursor Rules System ```bash # New way - Organized, contextual, powerful project/ βββ .cursor/rules/ β βββ core-standards.mdc # Always applied β βββ testing-patterns.mdc # Auto-attached to test files β βββ framework-specific.mdc # Context-aware activation β βββ advanced-optimizations.mdc # Agent-requested when relevant β βββ templates/ β βββ component-template.tsx β βββ test-template.spec.js β βββ api-endpoint.js βββ src/ βββ tests/ ``` **Benefits of modern approach:** - β Context-aware rule activation - β Organized and maintainable structure - β Template integration and file references - β Team collaboration and version control friendly - β Scalable for enterprise projects ## π¨ Understanding Rule Types ### π Always Rules Core standards that apply to every AI interaction: ```markdown --- description: Universal coding standards for all projects alwaysApply: true --- # Core Development Standards - Use TypeScript for type safety across all projects - Implement comprehensive error handling and logging - Write self-documenting code with clear naming - Follow established architectural patterns ``` ### π― Auto Attached Rules Automatically activated based on file patterns: ```markdown --- description: React component development patterns globs: ["**/*.tsx", "**/components/**/*.js", "**/hooks/**/*.ts"] alwaysApply: false --- # React Development Excellence - Use functional components with React hooks - Implement proper prop validation with TypeScript - Follow component composition patterns - Optimize performance with useMemo and useCallback @react-component-template.tsx @custom-hook-template.ts ``` ### π€ Agent Requested Rules AI intelligently applies based on context: ```markdown --- description: Advanced performance optimization techniques globs: ["**/*.js", "**/*.ts", "**/*.tsx"] alwaysApply: false --- # Performance Optimization Strategies - Implement code splitting and lazy loading - Use efficient algorithms and data structures - Optimize bundle size and loading times - Monitor and profile application performance ``` ### π Manual Rules Explicitly invoked with `@ruleName`: ```markdown --- description: Complete test automation setup generator alwaysApply: false --- # Test Automation Project Generator Creates a complete test automation project structure: @selenium-project-structure @cypress-configuration @playwright-setup @github-actions-ci ``` ## ... (truncated)
Repository
11stars
4forks
Details
Related Skills
More coding & development skills you might like
Reticle
Coding & DevelopmentAI agents can generate code, but still struggle to understand what they build. Reticle brings Jev-style machine-native runtime perception to web & desktop applications.
π€claudeπuniversal
1.2k
190
View
agentscope-java
Coding & DevelopmentExpert Java developer skill for AgentScope Java framework - a reactive, message-driven multi-agent system built on Project Reactor. Use when working with reactive programming, LLM integration, agent orchestration, multi-agent systems, or when the user mentions AgentScope, ReActAgent, Mono/Flux, Project Reactor, or Java agent development. Specializes in non-blocking code, tool integration, hooks, pipelines, and production-ready agent applications.
πuniversal
6.0k
1.5k
View
ospec
Coding & DevelopmentDocument-driven OSpec workflow for initialization, change/goal routing, validation, archiving, and durable project knowledge.
β¨geminiπ€claudeπ¬gptπuniversal
524
34
View
misakanet-failure-memory
Coding & Developmentπ A zero-dependency, git-backed micro-lesson library for AI Agents to asynchronously share and search verified debugging experience. Python stdlib only. | https://misakanet.org
π€claudeβ¨οΈcursorπuniversal
424
158
View