# Cursor Directory — Community Cursor Rules & AI Prompts > Community-curated directory of Cursor rules, AI coding prompts, and MCP configurations. Browse by framework, copy with one click, and improve your AI coding setup. ## Install Paste the prompt below into your AI tool: ## Quick Use 1. Visit [cursor.directory](https://cursor.directory) 2. Browse rules by framework (React, Python, Go, etc.) 3. Click "Copy" on any rule 4. Paste into your project's `.cursorrules` file ## What is Cursor Directory? Cursor Directory is a community-curated collection of Cursor rules, AI coding prompts, and MCP server configurations. It provides ready-to-use rules organized by framework and language — helping developers quickly configure their AI coding assistant for specific tech stacks. **Answer-Ready**: Cursor Directory is a community-curated collection of 500+ Cursor rules and AI coding prompts organized by framework. Browse rules for React, Python, Go, and 50+ tech stacks, then copy with one click to configure your AI coding setup. **Best for**: Cursor and AI coding tool users looking for project-specific rules. **Works with**: Cursor, Claude Code (as CLAUDE.md), Windsurf, any AI coding tool. **Setup time**: Under 1 minute per rule. ## Core Features ### 1. Rules by Framework | Category | Examples | |----------|---------| | Frontend | React, Next.js, Vue, Svelte, Angular | | Backend | Node.js, Python, Go, Rust, Java | | Mobile | React Native, Flutter, Swift, Kotlin | | Data | PostgreSQL, MongoDB, Redis, Prisma | | DevOps | Docker, Kubernetes, Terraform, AWS | ### 2. Rule Format Each rule includes: ```markdown # Next.js + TypeScript Rule You are an expert in Next.js 14, TypeScript, and Tailwind CSS. ## Code Style - Use functional components with TypeScript interfaces - Prefer server components; use 'use client' only when necessary - Use Tailwind CSS for styling; avoid inline styles ## Naming - Components: PascalCase (UserProfile.tsx) - Utilities: camelCase (formatDate.ts) - Constants: UPPER_SNAKE_CASE ## Patterns - Use server actions for form handling - Implement error boundaries for client components - Use Suspense for async data loading ``` ### 3. MCP Server Directory Browse and discover MCP server configurations: ```json { "mcpServers": { "filesystem": { "command": "npx", "args": ["-y", "@modelcontextprotocol/server-filesystem", "."] } } } ``` ### 4. Community Contributions - Submit your own rules via the website - Upvote the most useful rules - Rules are ranked by community votes ### 5. Cross-Tool Compatibility Rules work beyond Cursor: - `.cursorrules` → Cursor - `CLAUDE.md` → Claude Code - `.windsurfrules` → Windsurf - System prompts → Any AI tool ## How to Use with Claude Code ```bash # Copy a rule from cursor.directory # Save as CLAUDE.md in your project root cat > CLAUDE.md << 'EOF' [paste rule content here] EOF ``` ## FAQ **Q: Is Cursor Directory official?** A: It is a community project, not officially maintained by Cursor Inc. but widely used by the Cursor community. **Q: Are the rules free?** A: Yes, all rules are free to use. The site is open-source. **Q: Can I use these rules with Claude Code?** A: Yes, save the rule content as `CLAUDE.md` in your project root and Claude Code will follow it. ## Source & Thanks > Created by [Pontus Abrahamsson](https://github.com/pontusab). Open-source. > > [cursor.directory](https://cursor.directory) — The largest Cursor rules collection ## 快速使用 1. 访问 [cursor.directory](https://cursor.directory) 2. 按框架浏览规则(React、Python、Go 等) 3. 一键复制,粘贴到 `.cursorrules` 文件 ## 什么是 Cursor Directory? Cursor Directory 是社区策划的 Cursor 规则、AI 编码提示词和 MCP 配置集合。提供按框架分类的现成规则。 **一句话总结**:Cursor Directory 是 500+ Cursor 规则和 AI 编码提示词的社区集合,按框架分类,一键复制配置你的 AI 编码助手。 **适合人群**:Cursor 和 AI 编码工具用户。**兼容**:Cursor、Claude Code(CLAUDE.md)、Windsurf。 ## 核心功能 ### 1. 按框架分类 前端、后端、移动端、数据库、DevOps 全覆盖。 ### 2. MCP 服务器目录 浏览和发现 MCP 服务器配置。 ### 3. 社区贡献 提交规则、投票排名、社区驱动。 ### 4. 跨工具兼容 规则可用于 Cursor、Claude Code、Windsurf 等。 ## 常见问题 **Q: 免费吗?** A: 所有规则免费使用,站点开源。 **Q: 能用于 Claude Code 吗?** A: 可以,保存为项目根目录的 `CLAUDE.md`。 ## 来源与致谢 > [cursor.directory](https://cursor.directory) — 最大的 Cursor 规则集合 --- Source: https://tokrepo.com/en/workflows/5686f25c-3177-4f6b-bb1d-4aef8be5d3d6 Author: Prompt Lab