Official CLI tool for Cursor Project Master (CPM) - Transform your ideas into production-ready applications with AI-native project management.
npm install -g @cpm/cli
# or
npx @cpm/cli init# Interactive mode
npx @cpm/cli init
# With options
npx @cpm/cli init --name my-project --force
# Help
npx @cpm/cli --helpinit- Initialize a new CPM project in the current directorykanban- Setup and start the Kanban boardstatus- Show project status and task progress (coming soon)task- Manage project tasks (coming soon)
-n, --name <name>- Project name-t, --template <template>- Template type (default: 'minimal')-f, --force- Force initialization even if directory is not empty
-p, --port <port>- Port to run the server on (default: 3000)-i, --install- Force reinstall dependencies
When you run npx @cpm/cli init, you get a complete CPM project structure:
my-project/
├── .cursor/rules/ # AI agent rules and behaviors
├── docs/ # Project documentation
│ └── _templates/ # Document templates to fill
│ ├── PRD.md # Product Requirements Document
│ ├── TECH_SPEC.md # Technical Specifications
│ ├── DATA_MAP.md # Data Structure Mapping
│ ├── UX_FLOW.md # User Experience Flow
│ └── STYLE_GUIDE.md # Design System & Style Guide
├── kanban/ # Visual Kanban board (Next.js app)
├── project/ # Project management
│ ├── _templates/ # Task and planning templates
│ ├── tasks/ # Kanban-style task management
│ └── project_status.md # Real-time project status
├── scripts/ # Utility scripts
└── README.md # Project documentation
-
Fill in the documentation templates in
docs/_templates/:PRD.md- Define what you want to buildTECH_SPEC.md- Choose your tech stackDATA_MAP.md- Map your data structureUX_FLOW.md- Design user interactionsSTYLE_GUIDE.md- Set visual guidelines
-
Open in Cursor IDE and activate the AI agent
-
Type
"init"to let CPM start building your project -
Monitor progress:
- Check
project/project_status.mdfor updates - Run
cd kanban && npm run devfor visual Kanban board
- Check
- Tech Stack: Basic CPM structure only
- Features: Essential CPM files with Kanban board
- Best for: Most projects, fast setup, customizable foundation
- Tech Stack: Next.js + Prisma + Tailwind CSS + shadcn/ui + Supabase
- Features: Complete web application stack with CPM integration
- Best for: Web applications needing full-stack foundation
# Clone and setup
git clone https://github.com/heyzgj/cursor-project-master.git
cd cursor-project-master/cli
# Install dependencies
npm install
# Build
npm run build
# Test locally
npm link
cpm init --helpnpm run build
npm publish- 🚀 One-command setup - Get a complete CPM project instantly
- 📋 Interactive prompts - Guided project configuration
- 🎨 Multiple templates - Choose the right starting point
- 📝 Documentation-driven - Structured approach to requirements
- 🤖 AI-ready - Built for Cursor IDE and AI agents
- 📊 Visual management - Integrated Kanban board
MIT - see LICENSE file for details