Skip to content

elirancv/CursorMD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

8 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸš€ CursorMD

The Ultimate AI-Powered Documentation Architect for Cursor IDE

License: MIT GitHub Cursor IDE

Transform your Cursor IDE into a professional documentation powerhouse

Generate 53 types of professional documentation in minutes, not hours

Quick Start β€’ Documentation β€’ Examples β€’ Contributing


✨ What is CursorMD?

CursorMD is a comprehensive, production-ready system that transforms Cursor IDE's AI assistant into an expert Project Documentation Architect. With a single installation, you can generate 53 different document types covering every aspect of software developmentβ€”from vision and strategy to architecture, implementation, operations, and business planning.

🎯 The Problem It Solves

Writing professional documentation is time-consuming, inconsistent, and error-prone. Most teams either:

  • ❌ Skip documentation entirely
  • ❌ Write generic, boilerplate docs that don't help
  • ❌ Spend hours creating docs that become outdated quickly

βœ… The Solution

CursorMD provides:

  • πŸš€ 95%+ time savings - Generate docs in minutes, not hours
  • πŸ“‹ 53 document types - Complete coverage from vision to operations
  • 🎨 Consistent quality - Professional, project-specific documentation every time
  • πŸ”§ Zero configuration - Works immediately after installation
  • 🎯 Goal-aware - Adapts to MVP, Production, Research, Dev Tooling, or Balanced modes

🌟 Key Features

πŸ“š Comprehensive Document Coverage

53 Document Types organized into 9 categories:

  • βœ… Vision & Strategy (8 types) - VISION.md, PRODUCT_OVERVIEW.md, MARKET_ANALYSIS.md, etc.
  • βœ… Product Requirements (6 types) - PRD_MVP.md, PRD_V1.md, USER_STORIES.md, etc.
  • βœ… Architecture & Design (13 types) - ARCHITECTURE_OVERVIEW.md, SYSTEM_DIAGRAMS.md, TECH_SPEC_MVP.md, etc.
  • βœ… Execution & Pipelines (5 types) - PIPELINE_MVP.md, EXECUTION_MODEL.md, etc.
  • βœ… Engineering (13 types) - ENGINEERING_GUIDE.md, TEST_PLAN.md, DEPLOYMENT_RUNBOOK.md, API_CONTRACT.md, etc.
  • βœ… Governance & Enterprise (6 types) - SECURITY_GUIDELINES.md, DATA_PRIVACY.md, etc.
  • βœ… Business & Financial (6 types) - BUSINESS_MODEL.md, PRICING_STRATEGY.md, etc.
  • βœ… Legal & Risks (3 types) - RISK_REGISTER.md, LEGAL_COMPLIANCE.md, etc.
  • βœ… User-Facing (9 types) - README.md, CLI_REFERENCE.md, TUTORIALS.md, CURSOR_INTEGRATION_GUIDE.md, etc.

🎯 Smart Adaptation

Automatically adapts documentation depth and focus based on your project goal:

  • πŸ”΅ Production Stability β†’ Deep operational docs, monitoring, security
  • 🟒 MVP Fast β†’ Lean documentation, quick start guides
  • 🟑 Research β†’ Brief docs with hypotheses and findings
  • 🟣 Dev Tooling β†’ Excellent README, API reference, examples
  • βšͺ Balanced β†’ Full documentation suite

🧩 Auto-Detection & Dependency Tracking

"Proper specification is 50% of the work" - Documentation is like a puzzle - build in the right order, and everything fits together perfectly.

  • πŸ” Auto-detect missing documents - Scans your project and identifies what's needed
  • πŸ“Š Dependency tracking - Knows which documents depend on others
  • 🎯 Build order - Suggests the correct sequence (like puzzle pieces)
  • πŸ“ˆ Progress tracking - Shows what's done, what's missing, what's next
  • ⚠️ Blocker detection - Warns when missing documents block others

How it works: Simply ask "What documents do I need?" or "What's missing?" and the system will:

  1. Scan your project for existing documentation
  2. Identify missing critical documents
  3. Show dependencies and blockers
  4. Suggest the optimal build order

Example output:

πŸ“Š Documentation Status Report

βœ… Created (2): README.md, VISION.md
❌ Missing Critical: PROBLEM_STATEMENT.md ⚠️ BLOCKS 3 documents
🎯 Recommended Next: PROBLEM_STATEMENT.md β†’ PRODUCT_OVERVIEW.md β†’ PRD_MVP.md
πŸ“ˆ Progress: 2/53 documents (3.8%)

πŸ€– Auto-Implementation from Documentation

"Proper specification is 50% of the work" - Once documentation is complete, the system automatically knows what to build. Like an autopilot, it reads your documentation and implements the code accordingly.

  • πŸ“„ Reads specifications - Automatically scans ARCHITECTURE_OVERVIEW.md, TECH_SPEC_MVP.md, SYSTEM_COMPONENTS.md, PRD_MVP.md
  • πŸ” Detects missing code - Identifies what code/files are missing vs. what's specified in docs
  • 🎯 Proposes implementation - Shows what will be created based on documentation
  • ⚑ Implements automatically - Creates code files according to specifications

How it works: When documentation exists but code is missing, the system will:

  1. Scan documentation files for specifications
  2. Check existing codebase for implementation
  3. Identify gaps between docs and code
  4. Propose creating missing files/components
  5. Implement automatically according to specs

Example:

πŸ“‹ Auto-Implementation Detected

I found complete documentation:
- ARCHITECTURE_OVERVIEW.md βœ…
- TECH_SPEC_MVP.md βœ…
- SYSTEM_COMPONENTS.md βœ…
- PRD_MVP.md βœ…

According to the documentation, I need to create:
- 6 HTML pages (index.html, product-detail.html, etc.)
- CSS file (css/main.css)
- Component implementations

Should I create the implementation files now?

πŸ—οΈ Modular Architecture

  • 14 modular rule files (.cursor/rules/*.mdc) - Clean, maintainable, extensible
  • Knowledge base - Centralized templates and patterns
  • Backward compatible - Supports legacy .cursorrules format

πŸš€ Quick Start

Installation (3 Simple Steps)

Option 1: Automated Installation (Recommended)

Linux/Mac:

git clone https://github.com/elirancv/CursorMD.git
cd CursorMD
./scripts/install.sh /path/to/your/project

Windows PowerShell:

git clone https://github.com/elirancv/CursorMD.git
cd CursorMD
.\scripts\install.ps1 -ProjectRoot "C:\path\to\your\project"

Option 2: Manual Installation

  1. Copy .cursor/rules/ directory β†’ .cursor/rules/ in your project root
  2. Copy docs/knowledge-base/ directory β†’ docs/knowledge-base/ in your project

That's it! Cursor will automatically detect and use these files.

πŸ“– Detailed instructions: See docs/INSTALL.md

🎯 Start Using

Open Cursor IDE and simply ask:

"Create all documents needed for my idea"  # Generate starter pack
"Create VISION.md for my project"         # Single document
"Generate PRD_MVP.md"                     # Single document
"What documents do I need?"                # Auto-detect missing docs

The AI will automatically:

  • Use the rules and generate professional documentation
  • Create all required documents for a stage (starter pack) in correct order
  • Check dependencies before creating documents
  • Suggest missing prerequisites if needed
  • Track progress and suggest next steps

πŸ’‘ Usage Examples

Generate a Single Document

Create VISION.md for my SaaS project - Task Management for small teams

Generate Starter Pack (All Documents for a Stage)

Create all documents needed for my idea
Generate starter pack for MVP stage
Create all documents needed for pre-launch
Generate production documentation pack

Starter Packs Available:

  • Idea Stage β†’ 6 foundation documents (VISION, PROBLEM_STATEMENT, MARKET_ANALYSIS, etc.)
  • MVP Stage β†’ 8 MVP documents (PRD_MVP, ARCHITECTURE_OVERVIEW, TECH_SPEC_MVP, etc.)
  • Pre-Launch β†’ 7 pre-launch documents (PIPELINE_MVP, DEPLOYMENT_RUNBOOK, etc.)
  • Production β†’ 7 production documents (CI_CD_PIPELINE, OBSERVABILITY, etc.)

Generate Multiple Documents

Generate core documentation for my project: [description]

Update Existing Documentation

Update PRD_MVP.md - add feature: real-time collaboration

Evaluate Your Project

Evaluate this project and create PROJECT_EVALUATION.md

Auto-Detect Missing Documents

What documents do I need?
What's missing?
What can I create now?

πŸ“– Documentation

Comprehensive guides and references:


πŸ—οΈ Repository Structure

CursorMD/
β”œβ”€β”€ .cursor/
β”‚   └── rules/                        # βœ… PRIMARY FORMAT - 14 modular rule files
β”‚       β”œβ”€β”€ auto-implementation.mdc   # πŸ†• Auto-implement code from documentation
β”‚       β”œβ”€β”€ core-identity.mdc
β”‚       β”œβ”€β”€ workflow.mdc
β”‚       β”œβ”€β”€ document-dependencies.mdc  # πŸ†• Auto-detection & dependency tracking
β”‚       β”œβ”€β”€ file-organization.mdc    # CRITICAL - File placement rules
β”‚       β”œβ”€β”€ document-types.mdc
β”‚       β”œβ”€β”€ knowledge-base.mdc
β”‚       β”œβ”€β”€ main-goal.mdc
β”‚       β”œβ”€β”€ meta-guardrails.mdc
β”‚       β”œβ”€β”€ missing-information.mdc
β”‚       β”œβ”€β”€ output-rules.mdc
β”‚       β”œβ”€β”€ project-goal-modes.mdc
β”‚       β”œβ”€β”€ quality-standards.mdc
β”‚       β”œβ”€β”€ updating-docs.mdc
β”‚       └── README.md
β”œβ”€β”€ docs/
β”‚   └── knowledge-base/              # βœ… Knowledge base files
β”‚       β”œβ”€β”€ documentation_architect_reference.md
β”‚       └── project_evaluation_reference.md
β”œβ”€β”€ scripts/                         # Installation scripts
β”‚   β”œβ”€β”€ install.sh                   # Linux/Mac
β”‚   └── install.ps1                  # Windows
β”œβ”€β”€ examples/                        # Sample documents
β”œβ”€β”€ tests/                           # Validation tools
└── README.md                        # This file

🎨 Examples

See real-world examples in the examples/ directory:


🀝 Contributing

Contributions are welcome! Feel free to:

  • πŸ› Report bugs
  • πŸ’‘ Suggest new features
  • πŸ“ Improve documentation
  • πŸ”§ Submit pull requests

See CONTRIBUTING.md for guidelines.


πŸ“Š Project Status

Production Ready βœ…

  • βœ… 53 document types fully supported
  • βœ… Comprehensive documentation
  • βœ… Installation scripts for all platforms
  • βœ… Examples and templates
  • βœ… Quality validation tools
  • βœ… Complete test coverage

Score: 100/100 ⭐⭐⭐⭐⭐

See PROJECT_EVALUATION.md for detailed assessment.


πŸ“ License

This project is licensed under the MIT License - see the LICENSE file for details.


πŸ‘€ Author

Eliran Cohen


πŸ™ Acknowledgments

Built with ❀️ for the Cursor IDE community. Special thanks to all contributors and users who help improve this project.


⭐ Show Your Support

If you find CursorMD useful, please consider:

  • ⭐ Starring this repository
  • πŸ› Reporting bugs or issues
  • πŸ’‘ Suggesting new features
  • πŸ“’ Sharing with your team

Made with ❀️ by Eliran Cohen

⬆ Back to Top

About

Transform your Cursor IDE into a professional documentation powerhouse

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published