@doplan-dev/cli
v1.3.4
Published
π Zero-install AI Project Director - Bootstrap production-ready projects with a complete hierarchical AI agency system in seconds. Includes 18 AI agents, 1000+ rules library, interactive TUI, and full automation for project structure, CI/CD, and boilerpl
Maintainers
Readme
DoPlan CLI
Zero-install AI Project Director - Bootstrap production-ready projects with a complete hierarchical AI agency system in seconds.
Installation β’ Quick Start β’ Documentation β’ Features β’ Contributing
π DoPlan CLI
β¨ What is DoPlan CLI?
DoPlan CLI is a revolutionary command-line tool that transforms how you start new projects. Instead of spending hours setting up project structure, configuring IDEs, writing boilerplate, and setting up CI/CD, DoPlan generates a complete, production-ready project with a full hierarchical AI agency system in under 5 seconds.
π― Perfect For
- Solo Developers who want to focus on building, not configuration
- Small Teams looking to standardize their development workflow
- Professionals who need production-ready project structures from day one
- Anyone who wants to leverage AI agents for faster development
π Key Features
- β‘ Zero-Install: Run with
npx- no global installation needed - π Lightning Fast: 80-90% faster for new projects with optimized performance
- π€ 18 AI Agents: Complete hierarchical agency (Product Manager, Engineers, Designers, QA, etc.)
- π 1000+ Rules Library: Embedded best practices for all major tech stacks
- π¨ Interactive TUI: Beautiful terminal interface built with Bubbletea
- π IDE-Agnostic: Supports 6 AI-powered IDEs (Cursor, Claude Code, Antigravity, Windsurf, Cline, OpenCode)
- π Complete Automation: Project structure, agents, commands, rules, CI/CD, and boilerplate
- π¦ Offline-First: Works completely offline after first run
- π Transparent: All AI logic lives in markdown files - see and modify everything
- π§ Memory & Brain: Personalizes every interaction, learns your preferences, adapts to your style
- π Engagement System: 200+ achievements, 30+ challenges, score tracking, and rewards
- πΎ Backup & Restore: Full project backup and restore functionality
- π Performance Monitoring: Built-in performance metrics and cache statistics
π KPIs & Targets
- Adoption: 10,000+ projects created in first 6 months
- Engagement: Average 5+ commands used per project
- Retention: 30%+ users create second project
- Community: 100+ GitHub stars, active discussions
- Quality: < 1% bug reports, 4.5+ star rating
- Performance: 95%+ of projects generated in < 5 seconds
Generated via
/github info. The helper caches metadata inDocs/history/github-meta.json, so KPI data stays available even when you're offline.
π¦ Installation
Prerequisites
- Node.js >= 14.0.0 (for npx wrapper)
- Go >= 1.23.0 (only if building from source)
Quick Install (Recommended)
The easiest way to use DoPlan CLI is via npx - no installation required!
npx @doplan-dev/cliThis will automatically download the correct binary for your platform and run it.
Platform-Specific Installation
Option 1: Using Homebrew (Recommended)
# Add tap (if needed)
brew tap doplan-dev/cli
# Install
brew install doplanOption 2: Using npx (No Installation)
npx @doplan-dev/cliOption 3: Direct Binary Download
- Visit GitHub Releases
- Download
doplan-darwin-amd64(Intel) ordoplan-darwin-arm64(Apple Silicon) - Make it executable:
chmod +x doplan-darwin-amd64 mv doplan-darwin-amd64 /usr/local/bin/doplan
Option 4: Build from Source
git clone https://github.com/DoPlan-dev/CLI.git
cd CLI
go build -o doplan ./cmd/doplan
sudo mv doplan /usr/local/bin/Option 1: Using Scoop (Recommended)
scoop bucket add doplan https://github.com/DoPlan-dev/scoop-bucket.git
scoop install doplanOption 2: Using npx (No Installation)
npx @doplan-dev/cliOption 3: Direct Binary Download
- Visit GitHub Releases
- Download
doplan-windows-amd64.exe - Rename to
doplan.exeand add to your PATH
Option 4: Build from Source
git clone https://github.com/DoPlan-dev/CLI.git
cd CLI
go build -o doplan.exe ./cmd/doplan
# Add to PATH or use from current directoryOption 1: Using npx (No Installation - Recommended)
npx @doplan-dev/cliOption 2: Direct Binary Download
# Download latest release
curl -L https://github.com/DoPlan-dev/CLI/releases/latest/download/doplan-linux-amd64 -o doplan
# Make executable
chmod +x doplan
# Move to PATH
sudo mv doplan /usr/local/bin/Option 3: Build from Source
git clone https://github.com/DoPlan-dev/CLI.git
cd CLI
go build -o doplan ./cmd/doplan
sudo mv doplan /usr/local/bin/Option 4: Using Package Managers
Debian/Ubuntu:
# Download .deb package from releases (when available)
wget https://github.com/DoPlan-dev/CLI/releases/latest/download/doplan_amd64.deb
sudo dpkg -i doplan_amd64.debArch Linux:
# Using AUR (when available)
yay -S doplan-clidocker run --rm -it -v $(pwd):/workspace doplan/cliVerify Installation
After installation, verify it works:
doplan --versionYou should see the version number (e.g., doplan version v1.3.0).
π Quick Start
1. Create Your First Project
npx @doplan-dev/cliThis launches an interactive wizard that will:
- Ask for your project name
- Let you choose your preferred IDE
- Generate a complete project structure
2. Open Your Project
cd your-project-name
code . # or your preferred IDE3. Start Building
Once in your IDE, start using DoPlan commands:
/hey β Welcome, tutorial, and command introductions
/do β Capture project idea, conduct meeting, and refine
/plan β Generate execution plan + task hierarchy
/dev β Start development workflow for a feature
/done β Mark current task complete and auto-commit/push
/sys β System control panel (engagement, performance, backup, etc.)4. (Optional) Re-run the beginner access patch
The CLI now auto-applies this patch right after it scaffolds your project, guaranteeing .do/ plus the organized docs folders (e.g., docs/overview, docs/references, docs/tutorials, docs/history) are writable. If you later move the repo into a locked folder (or clone it on a different machine), rerun:
npx --yes @doplan-dev/cli goplan access allYou can also target a single path if you already have others set up:
npx --yes @doplan-dev/cli goplan access .do/system # only system files
npx --yes @doplan-dev/cli goplan access docs # only docs/This script simply creates the required folders/files and fixes permissionsβperfect for beginners who don't want to touch Go tooling.
π How to Use
Core Commands
DoPlan uses intuitive slash commands that work directly in your AI-powered IDE:
Project Planning Commands
/hey- Welcome, tutorial, and command introductions/heyInteractive onboarding experience for first-time users or when you need a refresher. Provides tutorial, system overview, and creates reference materials.
/do- Capture project idea, conduct meeting, and refine/do # Full ideation workflow /do feature # Add single feature idea /do now # Fast-track with detailed prompt/PRD /do i'm lucky # Get AI-suggested ideasCaptures your project idea through iterative conversation, conducts discovery meeting, and refines suggestions. Generates IDEA.md, BRAINSTORM.md, and REFINEMENTS.md.
/plan- Generate execution plan + tasks/planReads IDEA.md and BRAINSTORM.md, then generates TASKS.md with organized phases and feature folders.
Development Commands
/dev- Start development workflow/dev # Start next task /dev --feature "auth" # Start specific featureFinds next available task (or specific task), creates/checks out Git branch, syncs documentation, and starts time tracking.
/done- Mark task complete/doneMarks current task as complete, auto-commits with conventional format, pushes to remote, and moves to next task.
System Commands
/feedback- Log structured product/bug feedback/feedback bug "QR download fails" "API returns 500 when Accept header missing" --author QASaves to
Docs/history/feedback.md(human readable) andDocs/history/feedback.json(consumed by automation)./sys- System management and monitoring/sys performance # View performance metrics and cache statistics /sys backup # Create compressed project backups /sys restore # Restore from backup /sys memory # Export/import memory card /sys engagement # View engagement dashboard/report- Generate scan metadata + diffs/report # current project /report ./test/qr-generator/test-no01Runs
go run scripts/scanreport/main.goto updateSCAN_REPORT_*.json, createSCAN_DIFF_<date>.md, and append both the latest state-history summary and an embedded/progresssnapshot (phase, completion %, upcoming tasks). Use--preset execor--preset detailedfor alternate templates (exec view, detailed visuals + dependency audit). Customization:- Create
.do/reports/config.jsonto set defaults:{ "preset": "exec", "sections": ["executive", "progress", "visuals", "state", "feedback"] } - CLI flags override config; custom
sectionslet you reorder or omit report blocks.
- Create
Team & Information Commands
/team- Show active agents and hierarchy/team/load- Inject context into AI agents/load
Specialized Commands
/ship- Release management/safe- Security audit/cheap- Cost optimization
Complete Workflow Example
# 1. Create project
npx @doplan-dev/cli
# 2. Open in IDE
cd my-awesome-project
code .
# 3. In your IDE, start with onboarding (first time):
/hey
# 4. Capture your project idea
/do
# 5. Generate execution plan + tasks
/plan
# 6. Start development
/dev
# 7. Mark task complete when done
/doneπ§ Command Workflow
- Onboard & Capture β Start with
/heyfor onboarding (first time), then/doto capture your project idea through iterative conversation, which automatically conducts a discovery meeting and refinement phase. - Plan β
/planreads IDEA.md and BRAINSTORM.md, then generates phased TASKS.md with organized phases and feature folders. - Develop β For each task:
/dev(starts task, creates branch) β code β/done(auto commit/push) β repeat. - Manage & Monitor β Use
/syscommands to view engagement dashboard, performance metrics, create backups, manage memory card, and control system settings.
This end-to-end loop is generated with every project, so the same commands are available in Cursor, Claude Code, Windsurf, Antigravity, Cline, and OpenCode without extra setup.
π Command Catalog
| Command | Phase | What it unlocks |
| --- | --- | --- |
| /hey | Onboarding | Welcome, tutorial, and command introductions |
| /do | Strategy | Capture project idea, conduct meeting, refine suggestions β generates IDEA.md, BRAINSTORM.md, REFINEMENTS.md |
| /plan | Delivery | Expand planning docs into phased TASKS.md |
| /dev [feature] | Delivery | Start the next (or specific) implementation task |
| /done | Delivery | Mark tasks complete, auto-commit, and push |
| /sys | Operations | System control panel |
| /sys engagement | Context | View engagement dashboard and statistics |
| /sys performance | Operations | View performance metrics and cache statistics |
| /sys backup | Operations | Create compressed project backups |
| /sys restore | Operations | Restore project from backup |
| /sys memory | Operations | Export/import memory card |
| /sys role | Operations | Manage roles and permissions |
| /sys security | Operations | Security settings and tests |
| /sys control | Operations | System control panel |
π Looking for deeper explanations? See docs/foundation/the-guide.md or the Complete Wiki for Commands and Workflow.
Project Structure
When you create a project, DoPlan generates:
my-project/
βββ .cursor/
β βββ agents/ # 18 AI agent personas
β βββ commands/ # Command definitions
β βββ rules/ # 1000+ rules library
β βββ library/ # Tech stack rules
βββ .do/
β βββ 00_System/ # IDEA.md, PRD.md, ARCHITECTURE.md, DESIGN_SYSTEM.md
β βββ TASKS.md # Implementation tasks
β βββ active_state.json # Project state
β βββ history/ # Time-stamped snapshots for rollback + reports
βββ Docs/ # Optional capitalized docs (see test fixtures)
βββ .github/
β βββ workflows/ # CI/CD automation
βββ src/ # Your source code
βββ STANDUP.md # Daily standup notes
βββ README.md # Project documentationπ Docs, Changelog & Wiki
CHANGELOG.mdfollows Keep a Changelog + SemVer. Check the latest entry (v1.3.0) for performance optimizations and new features.- The
Docs/tree mirrors what every generated project should publish (foundation, features, release, history). Use it as the canonical structure reference. - The Complete Wiki is now organized in the repository with 9 sections and 52 files covering all features. The GitHub Wiki serves as a gateway to the complete documentation.
- Automation helpers such as
/report,/feedback,/state,/sys performance, and/github infokeep each of those artifacts aligned (KPI block, scan diffs, feedback logs, state history, and performance metrics).
π― Features
π€ Hierarchical AI Agency
DoPlan includes 18 specialized AI agents:
- Project Orchestrator (CEO/Engineering Manager)
- Product Manager
- Engineering Lead
- System Architect
- Frontend Lead & Backend Lead
- DevOps Engineer
- Security Lead
- Design & UX Manager & UI/UX Designer
- QA & Reliability Manager & QA Engineer
- Release & Growth Manager & Release Captain & Growth Coach
- Documentation Lead & Documentation Writer
- Performance Engineer
Each agent has a specific role and expertise, working together to guide your project from idea to production.
π Comprehensive Rules Library
1000+ embedded rules covering:
- Core workflows and best practices
- AI agents and orchestration
- Programming languages (Go, JavaScript, TypeScript, Python)
- Frameworks (Next.js, React, Express)
- UI libraries and design systems
- Cloud infrastructure
- Databases (PostgreSQL, MongoDB)
- Testing (Jest, Vitest, Go testing)
- DevOps and CI/CD
- Code quality and linting
- Documentation standards
- Security practices
- MCP tools integration
π State History & Rollback
.do/system/history/state-*.jsonstores every update toactive_state.json, captured automatically around/buildand/finished/state(backed bygo run scripts/statehistory/main.go) lets you snapshot, list, diff, or restore with confirmation guardrails/progressand/reportsurface the latest history diff so stakeholders always know what changed (phase, task, branch, completed tasks)
β‘ Performance Optimizations (v1.3.0)
- 80-90% faster for new projects with fast path optimization
- 40-50% faster for existing projects with intelligent caching
- Lazy loading for rules and agents - resources loaded only when needed
- TTL-based caching with automatic cleanup for optimal memory usage
- Performance monitoring via
/sys performancecommand - 60-70% reduction in file I/O operations
πΎ Backup & Restore
- Multiple backup types: project, plan, project-plan, or full backup
- Compressed backups with automatic naming
- Safe restore with dry-run mode and version compatibility checks
- Memory card export/import for easy migration
- Migration assistant for project upgrades
π§ Memory & Brain System
DoPlan learns about you and personalizes every interaction:
Memory Card - Your personal relationship file stored at
~/.doplan/memory_card.json- Remembers your identity, preferences, and communication style
- Tracks your learning goals, tech stack, and pain points
- Builds relationship history across all projects
- Works globally across all your DoPlan projects
Brain System - Intelligent personalization layer
- Personalizes agent responses to match your style
- Adjusts tone based on relationship level
- Provides context-aware guidance
- Matches responses to your experience level
- Offers personalized encouragement and motivation
View & Manage: Use
/sys memoryto export/import your memory card or/sys engagementto see your relationship stats
π Engagement System
Make development fun and motivating with achievements, challenges, and rewards:
Achievement System - 200+ achievements for milestones
- Score milestones (100, 250, 1,000, 10,000+ points)
- Project achievements (First Steps, Serial Builder, Project Master)
- Command usage achievements (Hello There!, Code Machine)
- Learning achievements (Student, Tech Master)
- Relationship achievements (Trust Builder, Best Friend)
Challenge System - 30+ high-scoring challenges
- First-time task challenges (300-2000 points each)
- Milestone challenges for major accomplishments
- Special event challenges
Score System - Points-based progression (0-100,000+)
- Earn points from achievements and challenges
- Track progress through score ranges
- Unlock new achievements as you progress
- View your score via
/sys engagement
Reward System - Strategic reward scheduling
- Celebrations at key milestones
- Personalized encouragement
- Dopamine timing for optimal motivation
π¨ Beautiful Interactive TUI
Built with Bubbletea, DoPlan's terminal interface is:
- Fast and responsive
- Visually appealing
- Keyboard-friendly
- Accessible
π Multi-IDE Support
Works seamlessly with:
- Cursor (Recommended)
- Claude Code
- Antigravity
- Windsurf
- Cline
- OpenCode
π Complete Automation
DoPlan generates:
- β Project structure
- β AI agent system
- β Command definitions
- β Rules library
- β GitHub Actions workflows (CI/CD, releases, changelog)
- β IDE configuration files
- β Boilerplate code
- β Documentation templates
π Documentation
Complete Wiki
The comprehensive DoPlan CLI documentation is organized in the repository's wiki directory with 9 main sections:
- 01. Getting Started - Installation, first project, quick tour
- 02. Commands - Complete command documentation
- 03. Engagement System - Achievements, challenges, rewards
- 04. Memory and Brain - Personalization features
- 05. Workflow - Complete workflow guides
- 06. Features - Time tracking, state management, etc.
- 07. Learning & Education - Educational content
- 08. Advanced Topics - Power user features
- 09. Reference - Quick reference guides
View Complete Wiki Index | Wiki README | GitHub Wiki Gateway
Quick Links
Getting Started:
Essential Guides:
Reference:
π€ Contributing
We welcome contributions! Whether it's:
- π Reporting bugs
- π‘ Suggesting features
- π Improving documentation
- π§ Submitting pull requests
- β Giving us a star
Every contribution helps make DoPlan better for everyone.
See our Contributing Guide for details.
π License
This project is licensed under the MIT License - see the LICENSE file for details.
π Acknowledgments
- Bubbletea - Beautiful TUI framework
- Cobra - CLI framework
- Lipgloss - Styling library
- All our amazing contributors and users
π Links
- GitHub: https://github.com/DoPlan-dev/CLI
- NPM Package: https://www.npmjs.com/package/@doplan-dev/cli
- Issues: https://github.com/DoPlan-dev/CLI/issues
- Discussions: https://github.com/DoPlan-dev/CLI/discussions
- Complete Wiki: https://github.com/DoPlan-dev/CLI/tree/main/wiki
- GitHub Wiki: https://github.com/DoPlan-dev/CLI/wiki
Made with β€οΈ by the DoPlan Team
β Star us on GitHub β’ π Report Bug β’ π‘ Request Feature β’ π Complete Wiki
