A community-driven registry for Claude, Cursor, Windsurf, Cline & more. Not affiliated with Anthropic.
Are you the author? Sign in to claim
Starter Template with rules for Vibe Coding with Cursor AI IDE - Built for Vibe Coding
Professional Cursor AI Rule Framework for "Vibe Coding" - Co-Built by Engineers & AI, for Engineers & AI
⭐ We have migrated to a NEW REPO: https://github.com/fbrbovic/ai-epic-framework with a brand NEW VERSION 🚀 Streamlined and improved version now available for many AI Coding IDE, not only cursor
A comprehensive, production-ready framework of Cursor AI rules and best practices designed to supercharge your development workflow. If you wanted to do vibe coding but didn't know how to start.
This is a starter template and rule framework that enables "Vibe Coding" - a development methodology where you work seamlessly with Cursor AI to build high-quality software faster. It includes:
This framework builds upon and is inspired by the excellent work from @kleosr/cursorkleosr. Their pioneering approach to autonomous AI workflows for Cursor IDE, particularly the two-file system with project_config.md and workflow_state.md, provided foundational insights for our structured rule framework. We've extended these concepts into a comprehensive rule management system while maintaining the core philosophy of making AI-assisted development more autonomous and consistent.
Special thanks to the original contributors:
.cursor/rules/user-rules-template.mdc in Cursor IDE for workflow activation# Option A: Use GitHub template (recommended)
# Click "Use this template" → "Create a new repository"
# Option B: Clone directly
git clone https://github.com/fbrbovic/cursor-rule-framework.git my-project
cd my-project
rm -rf .git && git init
# Navigate to your existing project
cd your-existing-project
# Create the cursor rules directory
mkdir -p .cursor/rules
# Download the essential framework files
curl -o .cursor/rules/cursor-rules-management.mdc \
https://raw.githubusercontent.com/fbrbovic/cursor-rule-framework/main/.cursor/rules/cursor-rules-management.mdc
curl -o .cursor/rules/project-config.mdc \
https://raw.githubusercontent.com/fbrbovic/cursor-rule-framework/main/.cursor/rules/project-config.mdc
curl -o .cursor/rules/workflow-state.mdc \
https://raw.githubusercontent.com/fbrbovic/cursor-rule-framework/main/.cursor/rules/workflow-state.mdc
curl -o .cursor/rules/epics.mdc \
https://raw.githubusercontent.com/fbrbovic/cursor-rule-framework/main/.cursor/rules/epics.mdc
curl -o .cursor/rules/architecture.mdc \
https://raw.githubusercontent.com/fbrbovic/cursor-rule-framework/main/.cursor/rules/architecture.mdc
curl -o .cursor/rules/rules.mdc \
https://raw.githubusercontent.com/fbrbovic/cursor-rule-framework/main/.cursor/rules/rules.mdc
curl -o .cursor/rules/user-rules-template.mdc \
https://raw.githubusercontent.com/fbrbovic/cursor-rule-framework/main/.cursor/rules/user-rules-template.mdc
💡 Tip: For comprehensive migration guidance, see our Migration Guide with step-by-step instructions for existing projects.
# Copy the user rules template to Cursor IDE settings
# This enables the framework workflow system
code .cursor/rules/user-rules-template.mdc
Important: Copy the entire content of user-rules-template.mdc and paste it into:
This template is required for the AI-driven workflow system (Blueprint → Construct → Validate with epic integration) to function properly.
# Edit your project-specific settings
code .cursor/rules/project-config.mdc
Update the following sections:
The framework comes with essential rules pre-configured:
cursor-rules-management.mdc - Rule organization and managementproject-config.mdc - Project-specific configurationworkflow-state.mdc - Development workflow managementepics.mdc - Large initiative planningrules.mdc - Master rule registry (accumulates custom rules as you develop)# Open in Cursor IDE
cursor .
# Your AI assistant now has access to your structured rules!
# Try asking: "Help me plan a new feature following our workflow"
→ Comprehensive guides, tutorials, and references for mastering the framework
cursor-rule-framework/
├── .cursor/
│ └── rules/ # All cursor rules live here
│ ├── user-rules-template.mdc # ⚠️ INSTALL IN CURSOR SETTINGS
│ ├── cursor-rules-management.mdc # Rule system management
│ ├── project-config.mdc # Project configuration
│ ├── workflow-state.mdc # Development workflow
│ ├── epics.mdc # Epic planning
│ ├── rules.mdc # Master rule registry (dynamic)
│ └── architecture.mdc # Architecture guidelines
├── docs/ # Comprehensive documentation
├── examples/ # Usage examples and templates
├── CONTRIBUTING.md # Contribution guidelines
├── CHANGELOG.md # Version history
└── README.md # This file
Vibe Coding is our term for seamless AI-assisted development where:
This methodology ensures:
This entire project was built using the Cursor Rule Framework itself - a perfect example of "eating our own dog food" and demonstrating the power of human-AI collaboration.
# Framework Development Metrics
📊 Total Lines: 15,000+ lines of documentation and rules
⚡ Development Time: 2 days (would have taken 1-2 months without AI)
🎯 Consistency Score: 95%+ across all documentation
🔄 Iterations: 12 major revisions through Blueprint → Construct → Validate cycles
📚 Example Projects: 5 comprehensive examples generated with AI assistance
This recursive development process proves the framework's effectiveness:
The result? A comprehensive, production-ready framework that demonstrates exactly what's possible when humans and AI collaborate effectively with structured rules and workflows.
We welcome contributions from the community! Please see our Contributing Guide for details.
git checkout -b feature/amazing-ruleThis project is licensed under the MIT License - see the LICENSE file for details.
Built with ❤️ for the Cursor AI community
Ready to start Vibe Coding? Get started now or explore the complete documentation!
A scaffold demonstrating how to use a turbo, mono repo, trpc, better auth, react, postgres and cursor ai rules.
A practical approach to managing multiple AI agents in Cursor through strict file-tree partitioning and domain boundarie
📄 Configuration files that enhance Cursor AI editor experience with custom rules and behaviors