Transform your Cursor IDE into a professional documentation powerhouse
Generate 53 types of professional documentation in minutes, not hours
Quick Start β’ Documentation β’ Examples β’ Contributing
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.
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
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
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.
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
"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:
- Scan your project for existing documentation
- Identify missing critical documents
- Show dependencies and blockers
- 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%)
"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:
- Scan documentation files for specifications
- Check existing codebase for implementation
- Identify gaps between docs and code
- Propose creating missing files/components
- 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?
- 14 modular rule files (
.cursor/rules/*.mdc) - Clean, maintainable, extensible - Knowledge base - Centralized templates and patterns
- Backward compatible - Supports legacy
.cursorrulesformat
Linux/Mac:
git clone https://github.com/elirancv/CursorMD.git
cd CursorMD
./scripts/install.sh /path/to/your/projectWindows PowerShell:
git clone https://github.com/elirancv/CursorMD.git
cd CursorMD
.\scripts\install.ps1 -ProjectRoot "C:\path\to\your\project"- Copy
.cursor/rules/directory β.cursor/rules/in your project root - 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
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
Create VISION.md for my SaaS project - Task Management for small teams
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 core documentation for my project: [description]
Update PRD_MVP.md - add feature: real-time collaboration
Evaluate this project and create PROJECT_EVALUATION.md
What documents do I need?
What's missing?
What can I create now?
Comprehensive guides and references:
- π― How It Works - Complete system overview and architecture
- π Installation Guide - Detailed installation instructions
- π‘ Best Practices - Tips for getting the most out of the system
- β FAQ - Frequently asked questions
- π§ Troubleshooting - Common issues and solutions
- π Document Coverage - Complete list of all 53 document types
- π Cursor Integration Guide - How to use the system in Cursor IDE
- π₯ Onboarding Guide - Guide for new team members
- π Architecture Diagrams Guide - How to create architecture diagrams
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
See real-world examples in the examples/ directory:
- Vision & Strategy: VISION.md.example
- Product Requirements: PRD_MVP.md.example
- Architecture: ARCHITECTURE_OVERVIEW.md.example
- User-Facing: README.md.example
Contributions are welcome! Feel free to:
- π Report bugs
- π‘ Suggest new features
- π Improve documentation
- π§ Submit pull requests
See CONTRIBUTING.md for guidelines.
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.
This project is licensed under the MIT License - see the LICENSE file for details.
Eliran Cohen
- GitHub: @elirancv
- Repository: github.com/elirancv/CursorMD
Built with β€οΈ for the Cursor IDE community. Special thanks to all contributors and users who help improve this project.
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