๐บ๐ธ English | ๐จ๐ณ ไธญๆ็
A curated collection of Cursor AI coding rules for modern development stacks ไธบไธญๆๅผๅ่ ๆ้ ็ Cursor AI ็ผ็จ่งๅ้ๅ - ๆฅ็ไธญๆ็
119 rule files ยท 43 tech domains ยท 568 technical docs
Quick Start ยท Browse Rules ยท Usage Guide ยท Contributing
Awesome Cursor Rules is a curated collection of Cursor AI coding assistant rules. This project provides comprehensive translations and localized content for global developers:
- ๐ฏ Accurate Translation - High-quality translations with accurate technical terminology
- ๐ Clear Structure - Organized by technology domain for easy discovery
- ๐ Ready to Use - Copy
.cursorrulesfile and start coding - ๐ Bilingual Support - Complete English and Chinese documentation
.cursorrules is a project-level configuration file for the Cursor AI editor:
| Feature | Description | Example |
|---|---|---|
| Coding Standards | Define code style and naming conventions | PascalCase components, camelCase functions |
| Tech Stack | Specify frameworks, libraries, toolchains | React + TypeScript + Tailwind |
| Best Practices | Automatically apply industry standards | Error handling, performance, security |
| AI Behavior | Customize AI response and code generation style | Detailed comments, functional programming |
๐ก Essence: A "project handbook" for AI assistants
# 1. Clone the repository
git clone https://github.com/LessUp/awesome-cursorrules-zh.git
# 2. Browse available rules
cd awesome-cursorrules-zh
ls rules/frontend/react/ # View frontend React rules
# 3. Copy rules to your project
cp rules/frontend/react/nextjs-typescript/.cursorrules /path/to/your/project/| Tech Stack | Rule | Path |
|---|---|---|
| Next.js + TypeScript | nextjs-typescript |
rules/frontend/react/nextjs-typescript/ |
| Vue 3 | composition-api |
rules/frontend/vue/composition-api/ |
| FastAPI | fastapi-api-example |
rules/backend/python/fastapi-api-example/ |
| Flutter | flutter-app-expert |
rules/mobile/flutter/flutter-app-expert/ |
| Go Backend | backend-scalability |
rules/backend/go/backend-scalability/ |
๐ Complete Quick Start Guide ยท ไธญๆ็ๅฟซ้ๅผๅง
๐ App Development
| Domain | Directory | Includes |
|---|---|---|
| Frontend | rules/frontend/ |
React, Vue, Angular, Svelte, TypeScript |
| Backend | rules/backend/ |
Node.js, Python, Go, Java, PHP, .NET |
| Mobile | rules/mobile/ |
Flutter, React Native, SwiftUI, Android |
| Database | rules/database/ |
Cloud-native, Spatiotemporal |
| Systems | rules/systems/ |
Modern C++ guidelines |
๐ค AI & Data
| Domain | Directory | Includes |
|---|---|---|
| AI/ML | rules/ai/ |
Computer Vision, MLOps, Knowledge Graphs |
| Data Science | rules/data-science/ |
Pandas, PyTorch, TensorFlow |
| Data Engineering | rules/data/ |
Kafka, Spark, Data Warehouses |
โ๏ธ Infrastructure
| Domain | Directory | Includes |
|---|---|---|
| DevOps | rules/devops/ |
Docker, K8s, Terraform, CI/CD |
| Cloud | rules/cloud/ |
Middleware |
| Edge Computing | rules/edge/ |
AI Inference, Model Compression |
| Security | rules/security/ |
Zero Trust, Privacy Computing |
๐ฌ Specialized Domains
| Domain | Directory | Includes |
|---|---|---|
| Blockchain | rules/blockchain/ |
Solidity, Web3, Smart Contracts |
| IoT | rules/iot/ |
Embedded, Digital Twins |
| Quantum Computing | rules/quantum/ |
Quantum Error Correction, Superconducting |
| Bio Tech | rules/bio/ |
Bioelectronics, Biosensors |
See full directory structure in rules/
# Copy relevant rules to project root
cp rules/frontend/react/nextjs-typescript/.cursorrules ./Option 1: Merge Rules
cat rules/frontend/react/nextjs-typescript/.cursorrules > .cursorrules
echo "" >> .cursorrules
cat rules/backend/python/fastapi-api-example/.cursorrules >> .cursorrulesOption 2: Directory-Level Rules (Recommended)
project/
โโโ .cursorrules # Global rules
โโโ frontend/
โ โโโ .cursorrules # Frontend-specific rules
โโโ backend/
โโโ .cursorrules # Backend-specific rules
# Append project-specific rules
cat >> .cursorrules << 'EOF'
## Project Custom Rules
- API routes use /api/v1 prefix
- All models must include created_at and updated_at fields
EOF๐ Complete Best Practices Guide ยท ไธญๆ็ๆไฝณๅฎ่ทต
| Metric | Count |
|---|---|
| Rule Files | 119 .cursorrules |
| Tech Domains | 43 categories |
| Tech Documents | 568 files |
| Translation Progress | 100% complete |
| Documentation Languages | English + Chinese |
| Document | Description | Link |
|---|---|---|
| Quick Start | 5-minute getting started guide | English ยท ไธญๆ |
| Installation Guide | Detailed setup instructions | English ยท ไธญๆ |
| Best Practices | Configuration & usage tips | English ยท ไธญๆ |
| Troubleshooting | Common issues & solutions | English ยท ไธญๆ |
| API Reference | Rule format reference | English ยท ไธญๆ |
| Changelog | Version history | English ยท ไธญๆ |
Contributions are welcome in all forms:
- ๐ Report Issues โ Submit an Issue
- ๐ง Improve Content โ Submit a Pull Request
- ๐ Sync Upstream โ Help keep this project in sync with the original
- ๐ Enhance Documentation โ Improve guides and documentation
See Contributing Guide for details.
ๆฌ้กน็ฎๆไพๅฎๆด็ไธญๆๆฌๅฐๅๅ ๅฎน๏ผไธไธบไธญๆๅผๅ่ ไผๅใ่ฎฟ้ฎ ไธญๆ็ README ๆฅ็ไธญๆ็ๆฌ็่ฏฆ็ป่ฏดๆใ
Key features for Chinese developers:
- ้ซ่ดจ้ไธญๆ็ฟป่ฏ๏ผๆๆฏๆฏ่ฏญๅ็กฎ
- ๆๆๆฏ้ขๅๅ็ฑป๏ผไพฟไบๅฟซ้ๆฅๆพ
- ๅผ็ฎฑๅณ็จ๏ผๅคๅถ
.cursorrulesๆไปถๅณๅฏไฝฟ็จ - ๅฎๆด็ไธญ่ฑๆๅ่ฏญๆๆกฃ
If this project helps you, please give it a โญ Star!