AI Skill Hub 推荐使用:Cursor AI代码编辑器 是一款优质的Cursor规则。AI 综合评分 7.5 分,在同类工具中表现稳健。如果你正在寻找可靠的Cursor规则解决方案,这是一个值得深入了解的选择。
个人Cursor规则,用于需求工程、自动提交等,提高开发效率。
Cursor AI代码编辑器 是一套专为 Cursor AI 代码编辑器定制的编程规范规则集。通过精心设计的规则约束,它能引导 AI 生成符合团队标准的高质量代码,减少人工审查成本,保障代码风格一致性。适合个人开发者快速提升代码质量,也适合团队统一 AI 辅助编程的规范。
个人Cursor规则,用于需求工程、自动提交等,提高开发效率。
Cursor AI代码编辑器 是一套专为 Cursor AI 代码编辑器定制的编程规范规则集。通过精心设计的规则约束,它能引导 AI 生成符合团队标准的高质量代码,减少人工审查成本,保障代码风格一致性。适合个人开发者快速提升代码质量,也适合团队统一 AI 辅助编程的规范。
# 在 Cursor 中安装规则 # 1. 打开 Cursor → Cmd+Shift+P # 2. 搜索 "Open Cursor Settings" 或直接进入 Settings # 3. 找到 "Rules for AI" / "Cursor Rules" 配置项 # 4. 粘贴本工具的规则内容 # 也可以克隆仓库后本地导入 git clone https://github.com/AndreRatzenberger/cursor-rules # 按照 README 中的说明添加规则文件
# 查看帮助 cursor-rules --help # 基本运行 cursor-rules [options] <input> # 详细使用说明请查阅文档 # https://github.com/AndreRatzenberger/cursor-rules
# cursor-rules 配置说明 # 查看配置选项 cursor-rules --config-example > config.yml # 常见配置项 # output_dir: ./output # log_level: info # workers: 4 # 环境变量(覆盖配置文件) export CURSOR_RULES_CONFIG="/path/to/config.yml"
⚠️ Important: If you're using Cursor without rules, you're doing it wrong!
⚠️ Important Part 2: Every major update seems to slightly change how the rules work and how they need to be applied. I'm currently working on a more generalizable solution to the problem and also exploring ways to port all ideas to GitHub Copilot and Windsurf.
---
This repository contains a collection of custom rules for the Cursor AI coding assistant that significantly enhance its capabilities. These rules provide structure, automation, and consistency to your AI-assisted coding workflow.
.cursor/rules/ directoryFor a quickstart use these commands or follow the "Practical Workflow" below!
For new projects, simply run:
onboard project
For existing projects that need analysis:
analyze existing
For just setting up the rules without analysis:
setup rules
onboard project - Perform full project analysis and setup the AI-driven workflowsetup rules - Set up rule files and directory structure without analyzing the codebaseanalyze existing - Generate an analysis report of your codebase without creating specificationsBelow is a comprehensive reference of all commands available through the Cursor rules system:
development-workflow-rule.mdc: Comprehensive development lifecycle system for task tracking, testing, and version control. - Creates and manages tasks with unique IDs and structured metadata - Maintains a central task index with status tracking - Integrates testing frameworks appropriate to the project type - Handles version control with conventional commit formatting - Ensures quality assurance through automated testing - Prevents completion of tasks that don't pass testing - Automatically validates and updates README to keep documentation in sync with code
Follow this concrete workflow to get the most out of these rules:
1. Initial Requirements Discussion 💬 - Open Cursor and describe your project/feature requirements to the AI - The AI will automatically create specification files in .cursor/specs/ based on your discussion - A central SPECS.md file will be generated or updated with links to all domain-specific specs
2. Automatic Task Planning and Management 📅 - Cursor AI automatically creates tasks based on your implementation requests - Each task receives a unique ID (e.g., TASK-2023-10-15-01) and is tracked in .cursor/TASKS.md - Tasks are automatically linked to their relevant specifications and include default acceptance criteria - The AI manages multiple tasks concurrently, allowing for efficient development planning
3. Review & Refine Specifications 🔍 - Review the generated specs files to ensure they accurately capture requirements - Continue the conversation with AI to refine specs as needed - Each refinement will update the relevant specification files - Cursor AI automatically updates task details when specifications change
4. AI-Driven Development Based on Specifications 🤖 - Cursor AI activates tasks when implementation begins - Simply ask: "Please implement the feature described in specs/auth/login.md" - The AI references the specs during implementation and tracks progress against the task - If you request a feature without specifications, the AI creates them first before implementation
5. Automatic Knowledge Capture During Development 🧠 - Cursor AI identifies and records important insights during development as learnings - The AI documents significant discoveries, patterns, and solutions in .cursor/learnings/ - Share reference documents with the AI by placing them in .cursor/docs/ - All knowledge is automatically indexed in .cursor/LEARNINGS.md and .cursor/DOCUMENTS.md for future reference
6. Automatic Documentation Updates 📝 - After successful tests, Cursor AI checks if README needs updating - Documentation is kept in sync with implementation - You can explicitly check README currency with readme check command - Updates are suggested based on implemented but undocumented features
7. Automatic Commits 💾 - As the AI makes changes to files, the git-commit-rule automatically stages and commits them - Commits follow conventional commit format (feat, fix, docs, etc.) based on the nature of the change - Commit messages are automatically generated with appropriate type, scope, and description - Code is only committed after all tests pass
8. AI-Managed Task Completion and Knowledge Preservation ✅ - When implementation is complete and tests pass, Cursor AI marks the task as done - The system updates task status, marks specs as completed, and extracts learnings - Learnings are preserved in .cursor/learnings/ with references to relevant files and tasks - The task's status is updated in .cursor/TASKS.md
9. Continuous Development Loop 🔄 - For new features: discuss requirements → AI generates specs → AI creates & manages tasks → AI implements → AI captures knowledge → AI updates documentation → automatic commits - For refinements: discuss changes → AI updates specs → AI updates tasks → AI implements changes → AI updates knowledge → AI updates documentation → automatic commits
This workflow ensures all development is specification-driven, task-organized, properly documented, and automatically committed with appropriate metadata. The integrated approach means nothing gets lost - requirements, implementation details, insights, and documentation are all preserved and linked together. You simply guide the process through conversation while Cursor AI handles the entire workflow.
该项目提供了开源Cursor规则,用于需求工程、自动提交等,提高开发效率,但评分较低,可能需要进一步优化。
该工具未明确声明开源协议,商业使用前请联系原作者确认授权范围,避免侵权风险。
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
总体来看,Cursor AI代码编辑器 是一款质量良好的Cursor规则,在同类工具中具备一定竞争力。AI Skill Hub 将持续追踪其更新动态,建议收藏备用,结合自身场景选择合适时机引入使用。
| 原始名称 | cursor-rules |
| 原始描述 | 开源Cursor规则:My personal cursor rules. Requirements Engineering. Auto Commits. Auto everythin。⭐42 |
| Topics | cursor_ruleaicursorcursor-ruleside |
| GitHub | https://github.com/AndreRatzenberger/cursor-rules |
收录时间:2026-05-13 · 更新时间:2026-05-16 · License:未公布 · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端