cursor-rules
A library of rules for the Cursor IDE, providing organized instructions for the Agent Composer LLM backend.
Install / Use
npx skills add sparesparrow/cursor-rulesInstalls into whichever agent you are using.
.cursorrules
Cursor IDE rules (legacy)
Quality Score
Category
AI & Machine LearningSupported Platforms
Tags
Our assessment of cursor-rules
cursor-rules scores 74/100 on our quality scale, 860th of 965 AI & Machine Learning skills we index.
Its .cursorrules is 4.3 KB long, well organised into 12 sections with 2 code examples: a solid amount of guidance for an agent.
It has 73 GitHub stars, a meaningful sign that others use it.
Maintenance, license and trust
- The repository was last updated about 10 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-21 found the source still online.
- It is released under GPL-3.0, a copyleft license: you can use it, but modified versions you distribute must carry the same license.
- Its trust signals score 94/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.
cursor-rules compared with similar skills
All 4 of these similar skills score higher than cursor-rules; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| cursor-rules (this skill)by sparesparrow | 74 | 73 | 10mo ago | .cursorrules |
| claude-memby thedotmack | 100 | 113.5k | today | CLAUDE.md |
| Understand-Anythingby Egonex-AI | 100 | 90.9k | 10d ago | CLAUDE.md |
| headroomby headroomlabs-ai | 100 | 78.9k | today | CLAUDE.md |
| CowAgentby zhayujie | 100 | 47.8k | today | CLAUDE.md |
Frequently asked questions
- How do I install cursor-rules?
- Run
npx skills add sparesparrow/cursor-rules. The install tabs above show the steps for each supported agent. - Which AI agents does cursor-rules work with?
- It is written for Cursor and Zed, as a .cursorrules file. Other agents that read the same format can often use it too.
- Is cursor-rules 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 GPL-3.0-licensed and scores 94/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 cursor-rules still maintained?
- The repository was last updated about 10 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 GitHubCursor Rules Repository
A comprehensive collection of Cursor IDE rules for developing AI-powered applications with a focus on agentic workflows, TypeScript development, and cognitive architectures.
Structure
The rules are organized in a hierarchical structure with clear categorization:
.cursor/rules/
├── core/ # Core foundational rules
│ ├── base-agentic.mdc # Agentic workflow patterns
│ └── base-devops.mdc # AI-driven DevOps standards
│
├── framework/ # Framework-specific rules
│ ├── typescript.mdc # TypeScript standards
│ └── mcp-typescript.mdc # MCP-specific standards
│
├── domain/ # Domain-specific rules
│ ├── composer-agent.mdc # Composer agent standards
│ ├── composer-agent-instructions.mdc # Agent instruction standards
│ ├── cognitive-architecture.mdc # Cognitive architecture standards
│ ├── crewai-agent.mdc # CrewAI agent standards
│ ├── solid-analyzer.mdc # SOLID analysis standards
│ ├── mermaid-generator.mdc # Mermaid generation standards
│ └── monitor-agents.mdc # Monitoring agent standards
│
├── security/ # Security rules
│ └── security.mdc # Universal security standards
│
└── patterns/ # Advanced patterns
└── top5-inspirations.mdc # Advanced workflow patterns
Rule Categories
-
Core Rules (
core/)base-agentic.mdc: Foundational patterns for agentic workflowsbase-devops.mdc: AI-driven DevOps pipeline standards
-
Framework Rules (
framework/)typescript.mdc: TypeScript development standardsmcp-typescript.mdc: MCP-specific TypeScript standards
-
Domain Rules (
domain/)composer-agent.mdc: AI composer agent standardscomposer-agent-instructions.mdc: Agent instruction standardscognitive-architecture.mdc: Cognitive architecture standardscrewai-agent.mdc: Standards for CrewAI agent developmentsolid-analyzer.mdc: Standards for SOLID principle analysismermaid-generator.mdc: Standards for Mermaid diagram generationmonitor-agents.mdc: Standards for monitoring agent development
-
Security Rules (
security/)security.mdc: Universal security standards
-
Advanced Patterns (
patterns/)top5-inspirations.mdc: Advanced workflow patterns and best practices
Usage
-
Installation
- Clone this repository into your project's root directory
- Ensure the
.cursor/rulesdirectory structure is maintained
-
Rule Application
- Rules are automatically applied based on file patterns (globs)
- Rules in higher-level directories (e.g., security/) take precedence
- Each rule file (.mdc) contains metadata for scope and priority
-
Development Workflow
- Follow the patterns and examples in each rule file
- Use the provided validation rules for code quality
- Implement security considerations as specified
Contributing
-
Adding New Rules
- Place rules in appropriate category directory
- Use .mdc extension for rule files
- Include proper metadata (description, globs, priority)
- Provide clear examples and anti-patterns
-
Modifying Rules
- Maintain backward compatibility
- Update dependencies appropriately
- Document changes in commit messages
File Format
Each .mdc file follows this structure:
---
description: Brief description of the rule's purpose
globs: ["pattern/to/match/*.{ts,js}"]
priority: numeric_priority
dependencies: ["other.mdc"]
---
# Rule Title
## Core Principles
...
## Code Standards
...
## Validation Rules
...
Project Integration
The rules in this repository are designed to support various project types:
-
AI Agent Development
- Composer agents with CrewAI integration
- Cognitive architectures and workflows
- Monitoring and observability agents
-
Code Analysis Tools
- SOLID principle analyzers
- Pattern recognition systems
- Code improvement generators
-
Documentation Tools
- Mermaid diagram generators
- Documentation automation
- Visual representation tools
-
DevOps Integration
- CI/CD pipeline automation
- Security scanning and validation
- Deployment automation
License
This project is licensed under the MIT License - see the LICENSE file for details.
Related Skills
claude-mem
113.5kPersistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
Understand-Anything
90.9kGraphs that teach > graphs that impress. Turn any code into an interactive knowledge graph you can explore, search, and ask questions about. Works with Claude Code, Codex, Cursor, Copilot, Gemini CLI, and more.
headroom
78.9kCompress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
CowAgent
47.8kOpen-source personal AI assistant & Agent Harness. Plans tasks, runs tools and skills, self-evolves with memory and knowledge. Multi-agent, multi-model, multi-channel. Lightweight, extensible, one-line install.
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.
