-
Notifications
You must be signed in to change notification settings - Fork 0
Project Structure
Complete reference for the project structure generated by DoPlan CLI.
When you run DoPlan CLI, it generates a complete project structure with all necessary files and directories.
my-project/
├── .cursor/
│ ├── agents/ # AI agent personas
│ ├── commands/ # Command definitions
│ └── rules/ # Rules library
│ ├── README.md # Rules overview
│ └── library/ # Embedded rules (15 categories)
├── .plan/
│ ├── 00_System/ # Planning documents
│ ├── TASKS.md # Implementation tasks
│ └── active_state.json # Project state
├── .github/
│ └── workflows/ # GitHub Actions workflows
├── src/ # Source code
├── CHANGELOG.md # Version history
├── STANDUP.md # Daily standup notes
├── README.md # Project documentation
└── [IDE config files] # IDE-specific configuration
Contains all AI-related configuration files.
Purpose: AI agent persona definitions.
Contents:
- 18 agent markdown files
- Each file defines an agent's role, responsibilities, and behavior
Files:
project_orchestrator.mdproduct_manager.mdengineering_lead.mdsystem_architect.mdfrontend_lead.mdbackend_lead.mddevops_engineer.mdsecurity_lead.mdperformance_engineer.mddesign_manager.mdui_ux_designer.mdqa_manager.mdqa_engineer.mdrelease_manager.mdrelease_captain.mdgrowth_coach.mddocumentation_lead.mddocumentation_writer.md
Customization: Edit agent files to customize behavior.
Purpose: Command definitions for slash commands.
Contents:
- Command markdown files
- Each file defines a command's trigger, action, and behavior
Files:
-
tell.md- Capture idea -
improve.md- Brainstorm -
write.md- Generate plans -
change.md- Edit documents -
good.md- Approve plan -
tasks.md- Generate tasks -
build.md- Start coding -
progress.md- Track progress -
finished.md- Complete task -
team.md- Show agents -
load.md- Inject context -
ship.md- Release management -
safe.md- Security audit -
cheap.md- Cost optimization
Customization: Edit command files to customize behavior.
Purpose: Rules library for best practices.
Contents:
-
README.md- Rules overview -
library/- 15 categories of rules
Structure:
rules/
├── README.md
└── library/
├── 01-core-workflow/
├── 02-ai-agents/
├── 03-languages/
├── 04-frameworks/
├── 05-ui-libraries/
├── 06-cloud-infrastructure/
├── 07-databases/
├── 08-testing/
├── 09-devops-ci-cd/
├── 10-code-quality/
├── 11-documentation/
├── 12-security/
├── 13-development-practices/
├── 14-mcp-tools/
└── 15-project-specific/
Customization: Add or modify rules as needed.
Contains planning documents and task management.
Purpose: System-level planning documents.
Contents:
-
IDEA.md- Project idea (created with/tell) -
BRAINSTORM.md- Brainstorming results (created with/improve) -
PRD.md- Product Requirements Document (created with/write) -
ARCHITECTURE.md- Technical Architecture (created with/write) -
DESIGN_SYSTEM.md- Design System (created with/write)
Workflow:
-
/tell→ CreatesIDEA.md -
/improve→ CreatesBRAINSTORM.md -
/write→ CreatesPRD.md,ARCHITECTURE.md,DESIGN_SYSTEM.md -
/good→ Locks the plan
Purpose: Implementation tasks.
Contents:
- Tasks organized by phases
- Dependencies
- Effort estimates
- Acceptance criteria
Created: With /plan command
Updated: When tasks are completed with /finished
Purpose: Current project state.
Structure:
{
"phase": "idea|brainstorm|writing|approved|tasks|building",
"active_task": null | "task_id",
"completed": ["task_id", ...],
"locked": false | true
}Phases:
-
idea- Idea captured -
brainstorm- Brainstorming complete -
writing- Planning documents generated -
approved- Plan approved and locked -
tasks- Tasks generated -
building- Actively building
Purpose: GitHub Actions workflows.
Files:
-
ci.yml- Continuous Integration (runs on all branches) -
release.yml- Automated releases -
changelog.yml- Auto-updates changelog -
branch-protection.yml- Branch protection rules
Customization: Modify workflows as needed.
Purpose: Your application source code.
Contents: Boilerplate code based on project type.
Structure: Varies by project type (Next.js, Tauri, Expo, etc.)
Customization: This is your code - modify freely!
Purpose: Project documentation and overview.
Contents:
- Project description
- Quick start guide
- Commands reference
- Workflow overview
- Agent list
Customization: Update with your project details.
Purpose: Version history and changes.
Contents:
- Version history
- Changelog entries
- Breaking changes
- Migration notes
Updated: Automatically with /finished command.
Purpose: Daily standup notes.
Contents:
- Daily progress
- Blockers
- Next steps
Customization: Update daily with your progress.
IDE-specific configuration lives in two places:
-
Cursor / Windsurf / Antigravity / Cline / OpenCode:
.cursor/rules/(shared rules library) -
Claude Code:
docs/CLAUDE.md
No explicit configuration file is required. Configuration is:
- Embedded in agent definitions
- Embedded in command definitions
- Embedded in rules
- Stored in
active_state.json
IDE-specific configuration files are generated automatically.
-
.cursor/agents/*.md- All 18 agents -
.cursor/commands/*.md- All commands -
.cursor/rules/library/**- All rules -
.plan/00_System/*.md- Planning document templates -
.plan/active_state.json- Initial state -
.github/workflows/*.yml- All workflows -
README.md- Project README -
STANDUP.md- Standup template -
CHANGELOG.md- Changelog template
-
src/**- Boilerplate code (varies by project type) - IDE config files (based on IDE choice)
Location: .cursor/agents/
How: Edit agent markdown files to customize:
- Agent roles
- Responsibilities
- Behavior
- System prompts
Location: .cursor/commands/
How: Edit command markdown files to customize:
- Command triggers
- Actions
- Agent involvement
- File operations
Location: .cursor/rules/library/
How:
- Edit existing rules
- Add new rules
- Create custom categories
Location: .github/workflows/
How: Edit workflow YAML files to customize:
- CI/CD pipelines
- Release processes
- Automation
Location: Root directory
How:
- Add new directories
- Modify existing structure
- Add configuration files
my-project/
├── .cursor/
│ ├── agents/
│ ├── commands/
│ └── rules/
├── .plan/
│ └── active_state.json
└── README.md
my-project/
├── .cursor/
│ ├── agents/ (18 files)
│ ├── commands/ (14 files)
│ └── rules/
│ └── library/ (15 categories, 1000+ files)
├── .plan/
│ ├── 00_System/ (5 files)
│ ├── TASKS.md
│ └── active_state.json
├── .github/
│ └── workflows/ (4 files)
├── src/
│ └── [project code]
├── CHANGELOG.md
├── STANDUP.md
├── README.md
└── [IDE config]
{
"phase": "building",
"active_task": "1.2",
"completed": ["1.1"],
"locked": true
}# Agent Name
## Role
Brief role description
## System Prompt
Detailed persona and responsibilities
## Responsibilities
- Responsibility 1
- Responsibility 2# Command Name
## Trigger
Command trigger pattern
## Action
What happens when command is used
## Agent Involvement
- Agent 1
- Agent 2- Configuration Reference - Configuration details
- Workflow Guide - How structure is used
- Configuration Guide - Customizing structure
- Quick Start - Getting started
- Home - Wiki home page
Last Updated: 2025
Maintained By: Documentation Team