AI-powered Product Management document generator using Cursor Project Rules for seamless integration with Cursor's AI capabilities.
This project provides a modern approach to PM document generation by leveraging Cursor's Project Rules system. Instead of complex command palettes, users can simply ask Cursor's AI to create documents, and the AI will follow the predefined templates and product context.
Note that the Cursor Rules now follow a newer paradigm (no longer .cursorrules), as defined here: https://docs.cursor.com/en/context/rules
🎥 Watch the Setup Tutorial - Learn how to get started in just a few minutes!
- Download this repo to a new folder for your project
- No installation required - just need Cursor itself
2 options:
- Manually edit
.cursor/rules/product-context.mdcwith your product information, you can use the example in the helper-docs directory as a guide. - Use the AI helper to automatically generate one:
- Type
@context-generator.mdcin Cursor - Describe your product in 1 line
- This will automatically modify the
product-context.mdcfile (there is a backup in the helper-docs directory) - It is highly recommended to go over this file and make sure it fits your product!
Simply ask Cursor AI:
- "Create a PRD for user authentication"
- "Generate user stories for checkout process"
- "Make a persona for our target users"
- "Create a roadmap for Q1 features"
- PRD (Product Requirements Document)
- User Stories & Acceptance Criteria
- User Personas (Regular & Skeptical)
- Product Roadmaps
- Epics Generator
- RICE Prioritization Analysis
- User Journey Maps
- Lean Canvas (Product Strategy)
- Product Positioning (Elevator Pitch)
- KPI to Revenue Connector
- Risk Analysis
The .cursor/rules/ files provide:
- Product Context: Always included in AI conversations
- Template Instructions: Guide AI on document structure
- Writing Guidelines: Ensure consistent quality
When you ask Cursor AI to create a document:
- AI reads the Product-Context from Project Rules
- AI applies relevant template instructions
- AI generates structured content
- AI creates the file with proper naming
- Creates
/product-documents/folder automatically - Maintains unique document IDs with timestamps
- Documents are ready for immediate use
pm-cursor-generator/
├── .cursor/rules/ # Cursor Project Rules
│ ├── product-context.mdc # Product context (*always* applied)
│ ├── context-generator.mdc # helps generate your product context
│ ├── prd-template.mdc # PRD creation instructions
│ ├── user-story-template.mdc
│ ├── persona-template.mdc
│ ├── roadmap-template.mdc
│ ├── epic-generator-template.mdc
│ ├── rice-analysis-template.mdc
│ ├── user-journey-template.mdc
│ ├── lean-canvas-template.mdc
│ ├── product-positioning.mdc
│ ├── kpi-revenues-template.mdc
│ └── risk-analysis-template.mdc
├── product-documents/ # Generated documents (output)
├── alternate-templates/ # alternate versions of templates
| ├── alternate_read.me
| └── etc....
├── helper-docs/ # helper documentation and examples
| ├── example-product-context.md # an example of what this should look like
| └── etc.... # *.txt files that can add extra information for templates
└── README.md
- Fork the repository
- Create a feature branch
- Add new template rules in
.cursor/rules/ - Update documentation as needed
- Submit a pull request
MIT License - see LICENSE file for details.
🎯 The future of PM document generation is AI-first, context-aware, and seamlessly integrated with your development workflow. Copyright (c) 2025 Ze'ev Abrams (ZeevAbrams)