@project-master-ai/cli
v1.2.2
Published
Official CLI tool for Cursor Project Master (CPM) - Generate production-ready AI-native projects
Downloads
7
Maintainers
Readme
@cpm/cli
Official CLI tool for Cursor Project Master (CPM) - Transform your ideas into production-ready applications with AI-native project management.
Installation
npm install -g @cpm/cli
# or
npx @cpm/cli initUsage
Initialize a new CPM project
# Interactive mode
npx @cpm/cli init
# With options
npx @cpm/cli init --name my-project --force
# Help
npx @cpm/cli --helpAvailable Commands
init- 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)
Init Options
-n, --name <name>- Project name-t, --template <template>- Template type (default: 'minimal')-f, --force- Force initialization even if directory is not empty
Kanban Options
-p, --port <port>- Port to run the server on (default: 3000)-i, --install- Force reinstall dependencies
What gets created
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 documentationNext Steps
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 projectMonitor progress:
- Check
project/project_status.mdfor updates - Run
cd kanban && npm run devfor visual Kanban board
- Check
Templates
Minimal Template (Default)
- Tech Stack: Basic CPM structure only
- Features: Essential CPM files with Kanban board
- Best for: Most projects, fast setup, customizable foundation
Full Template
- 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
Development
# 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 --helpPublishing
npm run build
npm publishFeatures
- 🚀 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
License
MIT - see LICENSE file for details
