βββββββββββββββββββββββββββββββββββββββββββββββββ βββββββββββββββββββββββββββββββββββββββββββββββββ βββββββββββββββββββββββββββββββββββββββββββββββββ βββββββββββββββββββββββββββββββββββββββββββββββββ βββββββββββββββββββββββββββββββββββββββββββββββββ βββββββββββββββββββββββββββββββββββββββββββββββββ
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 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.
- 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
- β‘ Zero-Install: Run with
npx- no global installation needed - π€ 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
- 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.
- Node.js >= 14.0.0 (for npx wrapper)
- Go >= 1.23.0 (only if building from source)
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.
π macOS
# Add tap (if needed)
brew tap doplan-dev/cli
# Install
brew install doplannpx @doplan-dev/cli- 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
git clone https://github.com/DoPlan-dev/CLI.git
cd CLI
go build -o doplan ./cmd/doplan
sudo mv doplan /usr/local/bin/πͺ Windows
scoop bucket add doplan https://github.com/DoPlan-dev/scoop-bucket.git
scoop install doplannpx @doplan-dev/cli- Visit GitHub Releases
- Download
doplan-windows-amd64.exe - Rename to
doplan.exeand add to your PATH
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 directoryπ§ Linux
npx @doplan-dev/cli# 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/git clone https://github.com/DoPlan-dev/CLI.git
cd CLI
go build -o doplan ./cmd/doplan
sudo mv doplan /usr/local/bin/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-cliπ³ Docker
docker run --rm -it -v $(pwd):/workspace doplan/cliAfter installation, verify it works:
doplan --versionYou should see the version number (e.g., doplan version 1.0.4).
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
cd your-project-name
code . # or your preferred IDEOnce in your IDE, start using DoPlan commands:
/tell β Capture your project idea
/improve β Brainstorm with the leadership team
/write β Generate PRD + Architecture + Design System
/change β Patch any planning doc with natural language updates
/good β Approve & lock the plan
/plan β Generate execution plan + task hierarchy
/build β Start the next (or specific) task
/progress β Check totals, current task, and what's next
/state β Snapshot, list, diff, or restore project history
/finished β Auto-commit, push, and move to the next task
/report β Generate scan metadata + diffs
/feedback β Log structured feedback entries
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.
DoPlan uses intuitive slash commands that work directly in your AI-powered IDE:
-
/tell- Capture your project idea/tell I want to build a task management app with React and Node.js -
/improve- Team brainstorm session/improveActivates Product, Engineering, Design, QA, Release, and Documentation leads to surface opportunities, blockers, and acceleration ideas. Outputs
.plan/00_System/BRAINSTORM.md. -
/write- Generate planning documents/writeGenerates PRD, Architecture, and Design System documents.
-
/change- Edit any document/change prd Add dark mode support /change architecture Use PostgreSQL instead of MongoDB -
/good- Approve & lock the plan/goodLocks the current plan and enables task generation.
-
/plan- Generate execution plan + tasks/planSynthesizes TASKS.md from the approved plan and scaffolds phase folders.
-
/build- Start coding/build # Start next task /build 3 # Start specific task -
/progress- Show current progress/progress go run scripts/progress/main.go --root .Runs the Go helper at
scripts/progress/to display totals plus the most recent.do/system/historydelta (phase/task/branch/completed changes). Pass--jsonfor machine-readable output. -
/state- Manage state snapshots & rollbacks/state list /state diff --json /state restore --file state-20251124T120000Z.json --yesWraps
go run scripts/statehistory/main.goso you can inspect history, capture snapshots (before/after/buildand/finished), and safely restore.do/system/history/active_state.json. -
/finished- Mark task complete/finished
-
/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). -
/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- Show active agents and hierarchy/team -
/load- Inject context into AI agents/load
/ship- Release management/safe- Security audit/cheap- Cost optimization
# 1. Create project
npx @doplan-dev/cli
# 2. Open in IDE
cd my-awesome-project
code .
# 3. In your IDE, start planning:
/tell I want to build a social media dashboard with real-time analytics
# 4. Brainstorm with the team
/improve
# 5. Generate planning documents
/write
# 6. Review and approve
/good
# 7. Generate execution plan + tasks
/plan
# 8. Start building
/build
# 9. Track progress
/progress- Capture & Align β Start with
/tellto record the idea, then/improveto gather Product, Engineering, Design, QA, Release, and Documentation insights into IDEA.md and BRAINSTORM.md. - Document & Approve β
/writeturns those insights into PRD/Architecture/Design System,/changelets you refine any doc, and/goodlocks the set so tasks can be generated. - Create the Roadmap β
/planturns the approved documents into phased TASKS.md so every feature has context, acceptance criteria, and branch guidance. - Build Loop β For each task:
/state snapshotβ/buildβ iterate with/progressas needed β/finished(auto commit/push) β/state snapshotagain. This loop keeps history diffable and the task board honest. - Operate & Ship β Keep everyone aligned with
/report,/feedback,/team, and/load, harden the release with/safe+/cheap, and ship confidently with/ship,/github, and/branchci.
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 | Phase | What it unlocks |
|---|---|---|
/tell |
Strategy | Capture project intent into .plan/00_System/IDEA.md |
/improve |
Strategy | Cross-functional brainstorm saved to .plan/00_System/BRAINSTORM.md |
/write |
Strategy | Generate PRD, Architecture, Design System |
/change |
Strategy | Patch any planning doc with natural language |
/good |
Strategy | Lock the planning set and advance to tasks |
/plan |
Delivery | Expand planning docs into phased TASKS.md |
/build [id] |
Delivery | Start the next (or specific) implementation task |
/progress |
Delivery | Summaries for total/completed tasks + upcoming work |
/state |
Delivery | Snapshot, diff, and restore .do/system/history/active_state.json |
/finished |
Delivery | Mark tasks complete, auto-commit, and push |
/feedback <type> |
Operations | Log bugs/features/questions into Docs/history/feedback.* |
/report [path] |
Operations | Generate SCAN_REPORT metadata + diffs |
/ship |
Operations | Release orchestration + versioning checklist |
/safe |
Operations | Security review + dependency risk scan |
/cheap |
Operations | Cost optimization playbook |
/team |
Context | Display the 18-agent hierarchy |
/load <context> |
Context | Inject extra domain knowledge for agents |
/github |
Integrations | Sync KPIs, prep issues/milestones, update cache |
/branchci |
Integrations | Regenerate per-branch workflow guardrails |
π Looking for deeper explanations? See Docs/foundation/the-guide.md or the wiki pages for Commands and Workflow.
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
CHANGELOG.mdfollows Keep a Changelog + SemVer. Check the latest entry before cutting a release or running/ship.- The
Docs/tree mirrors what every generated project should publish (foundation, features, release, history). Use it as the canonical structure reference. - The GitHub wiki stays in sync with this READMEβCommands, Workflow, Quick Start, and Troubleshooting are updated whenever the CLI changes.
- Automation helpers such as
/report,/feedback,/state, and/github infokeep each of those artifacts aligned (KPI block, scan diffs, feedback logs, and state history).
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.
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
.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)
Built with Bubbletea, DoPlan's terminal interface is:
- Fast and responsive
- Visually appealing
- Keyboard-friendly
- Accessible
Works seamlessly with:
- Cursor (Recommended)
- Claude Code
- Antigravity
- Windsurf
- Cline
- OpenCode
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
- Installation Guide - Detailed installation for all platforms
- Quick Start Tutorial - 5-minute tutorial
- Command Reference - Complete command documentation
- Workflow Guide - End-to-end project creation
- Agent System - Understanding the AI agency
- Rules Library - Using and customizing rules
- Advanced Usage - Customization and extensibility
- Architecture - Technical deep dive
- Troubleshooting - Common issues and solutions
- FAQ - Frequently asked questions
- Contributing Guide - How to contribute
- Development Setup - Building from source
- Code of Conduct - Community guidelines
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.
This project is licensed under the MIT License - see the LICENSE file for details.
- Bubbletea - Beautiful TUI framework
- Cobra - CLI framework
- Lipgloss - Styling library
- All our amazing contributors and users
- 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
- Wiki: https://github.com/DoPlan-dev/CLI/wiki
Made with β€οΈ by the DoPlan Team
β Star us on GitHub β’ π Report Bug β’ π‘ Request Feature β’ π Documentation