-
Notifications
You must be signed in to change notification settings - Fork 0
Examples
Real-world examples and use cases for DoPlan CLI.
Description: Simple todo application with authentication and dark mode.
Workflow:
# 1. Generate project
npx @doplan-dev/cli
# Enter: todo-app
# Select: Cursor
# 2. Open project
cd todo-app
code .
# 3. Capture idea
/tell Build a todo app with authentication, dark mode, and offline support
# 4. Brainstorm
/improve
# 5. Generate plans
/write
# 6. Approve
/good
# 7. Generate tasks
/plan
# 8. Build
/buildFeatures:
- Add, edit, delete todos
- Mark todos as complete
- Filter todos (all, active, completed)
- User authentication
- Dark mode
- Offline support
Description: Full-featured blog platform with CMS.
Workflow:
# 1. Generate project
npx @doplan-dev/cli
# Enter: blog-platform
# Select: Claude Code
# 2. Capture idea
/tell Build a blog platform with:
- User authentication
- Post creation and editing
- Comments system
- Tag system
- Search functionality
- Admin dashboard
# 3. Follow workflow
/improve
/write
/good
/plan
/buildFeatures:
- User authentication
- Post management
- Comments
- Tags
- Search
- Admin dashboard
Description: E-commerce platform with payment integration.
Workflow:
# 1. Generate project
npx @doplan-dev/cli
# Enter: ecommerce-platform
# Select: Windsurf
# 2. Capture idea
/tell Build an e-commerce platform with:
- Product catalog
- Shopping cart
- Payment integration (Stripe)
- Order management
- User accounts
- Admin panel
# 3. Follow workflow
/improve
/write
/good
/plan
/buildFeatures:
- Product catalog
- Shopping cart
- Payment processing
- Order management
- User accounts
- Admin panel
Situation: Developer wants to start a side project quickly.
Solution:
- Run
npx @doplan-dev/cli - Enter project name
- Select IDE
- Use
/tellto capture idea - Follow workflow to generate project
- Start building immediately
Benefits:
- No setup time
- Complete project structure
- AI agents ready to help
- Best practices included
Situation: Team wants consistent project structure.
Solution:
- Use DoPlan CLI for all new projects
- Customize agents and rules for team needs
- Share customizations across team
- Maintain consistency
Benefits:
- Consistent structure
- Standardized workflow
- Shared best practices
- Faster onboarding
Situation: Need to prototype quickly.
Solution:
- Generate project with DoPlan CLI
- Use
/telland/writefor quick planning - Approve quickly with
/good - Generate tasks and start building
- Iterate rapidly
Benefits:
- Fast setup
- Quick planning
- Immediate development
- Rapid iteration
Project: Task management SaaS
Tech Stack: Next.js, PostgreSQL, Stripe
Workflow:
/tell Build a task management SaaS with:
- Team workspaces
- Task boards
- Time tracking
- Billing integration
- Real-time collaboration
/improve
/write
# Review and customize
/change prd Add mobile app support
/change architecture Use microservices
/good
/plan
/buildResult: Complete SaaS application structure with all features planned.
Project: REST API service
Tech Stack: Go, PostgreSQL, Docker
Workflow:
/tell Build a REST API service for data processing with:
- Authentication
- Rate limiting
- Data validation
- Error handling
- API documentation
/improve
/write
/good
/plan
/buildResult: Production-ready API structure.
# Minimal workflow for quick projects
npx @doplan-dev/cli
/tell [idea]
/write
/good
/plan
/build# Complete workflow for complex projects
npx @doplan-dev/cli
/tell [detailed idea]
/improve
/write
/change prd [refinements]
/change architecture [updates]
/change design [modifications]
/good
/plan
/build
/progress
/finished# Iterative workflow
/tell [initial idea]
/write
/good
/plan
/build
# ... develop ...
/finished
# ... iterate ...
/change prd [new features]
/good
/plan
/buildGoal: Add domain-specific agent
Steps:
- Create
.cursor/agents/domain_expert.md - Define agent persona
- Reference in commands if needed
Example:
# Domain Expert
## Role
Domain-specific expert
## System Prompt
You are a domain expert specializing in [domain].Goal: Add project-specific command
Steps:
- Create
.cursor/commands/custom.md - Define trigger and action
- Specify agent involvement
Example:
# Custom Command
## Trigger
/custom-action
## Action
Performs custom action
## Agent Involvement
- Domain ExpertGoal: Add project-specific rules
Steps:
- Create rule file in appropriate category
- Define guidelines
- Load with
/load
Example:
# Project-Specific Rule
## Overview
Project-specific guidelines
## Guidelines
- Guideline 1
- Guideline 2Time to First Commit: 2-4 hours
- Project setup: 30 minutes
- Project structure creation: 30 minutes
- Configuration: 1 hour
- CI/CD setup: 1 hour
- Boilerplate: 30 minutes
Issues:
- Inconsistent structure
- Missing best practices
- Manual configuration
- No AI assistance
Time to First Commit: 5 minutes
- Project generation: 5 seconds
- Planning: 2 minutes
- First commit: 3 minutes
Benefits:
- Consistent project structure
- Best practices included
- Automated configuration
- AI agents ready
/tell Build a social media platform with:
- User profiles
- Posts and comments
- Real-time notifications
- Image uploads
- Search functionality
/change prd Add video upload support
/change architecture Use CDN for media storage
/change design Add video player component
/load @library/04-frameworks/nextjs.md
/load @library/07-databases/postgresql.md
/load @library/12-security/authentication.md
Note: Example repositories will be available soon.
- Quick Start - Getting started
- First Project Tutorial - Step-by-step tutorial
- Workflow Guide - Complete workflow
- Configuration Guide - Configuration and customization examples
- Home - Wiki home page
Last Updated: 2025
Maintained By: Documentation Team