Welcome to the Roo Commander v4.5 mode set! This repository provides a sophisticated collection of custom modes for Roo Code designed to manage software development projects using a structured, multi-agent approach.
Think of it like having a virtual, specialized software development team right inside your editor, orchestrated by the π Roo Commander.
This is the current recommended version, featuring a refined project journaling system based on task logs and explicit decision records.
- β‘οΈ Get the Modes: Download the primary mode definition file:
v4.5/roo_commander_more_v45.json(Copy the content of this file into your Roo Code custom modes settings).
- π Learn More & Get Started:
- π οΈ Development & Planning Docs (Internal):
(Previous versions are available in the modes_archive/ directory but are not recommended for new projects.)
Instead of relying on a single AI mode for all tasks, this system breaks down development into specialized roles:
- Orchestration (Commander): Understands high-level goals and delegates tasks.
- Management (PM, Architect): Plans, designs, and coordinates specific domains.
- Specialists (Frontend, API, DB, React, etc.): Execute specific implementation tasks.
- Support (Secretary, Onboarding, Diagramer, etc.): Handle crucial auxiliary functions like context gathering, file writing, and diagram generation.
Communication and context are primarily managed through a structured Project Journal (project_journal/) and standardized task delegation/completion protocols, ensuring a traceable and understandable project history.
- Structured Workflow: Brings organization and process to complex development tasks.
- Specialized Expertise: Leverages modes specifically tuned for different roles (frontend, backend, database, testing, etc.).
- Task-Based Logging: Uses granular task logs (
project_journal/tasks/TASK-ID.md) for detailed, context-specific history, avoiding monolithic log files. - Centralized Decisions: Key project-level decisions are captured in
project_journal/decisions/using an ADR-like format. - Formalized Outputs: Final documents (specs, reports, guides) are stored consistently in
project_journal/formal_docs/. - Visualizations: Encourages the use of Mermaid diagrams in
project_journal/visualizations/for architecture, database schemas, and task status. - Improved Context Management: Creates a traceable history optimized for AI context rebuilding and human understanding.
- Modularity: Use the full suite or select the modes most relevant to your project needs.
- System Guidelines: A
ROO_COMMANDER_SYSTEM.mdfile defines core principles and conventions for consistency.
- π Roo Commander: The "CEO". Your primary interaction point. Understands goals, delegates to managers/specialists, monitors progress via task logs, makes high-level decisions.
- π Project Manager: Breaks down goals into tasks, manages plans (
project_journal/planning/project_plan.md), assigns work to specialists, tracks progress via task logs. - ποΈ Technical Architect: Designs system architecture (
project_journal/planning/architecture.md), selects technology, documents key decisions (project_journal/decisions/). - π₯οΈ/βοΈ/ποΈ Specialists: Focused roles for execution (e.g.,
frontend-developer,api-developer,database-specialist,react-specialist,tailwind-specialist,php-laravel-developer, etc.). They receive tasks, implement them, and log their work within their assigned task log (project_journal/tasks/TASK-ID.md). - π οΈ Support & Task-Specific Roles:
π Secretary: Crucial role. Handles all validated writes/appends to theproject_journal(task logs, decisions, formal docs, visualizations, planning, technical_notes) and root README/LICENSE/ROO_COMMANDER_SYSTEM.md, based on instructions from other modes. Enforces path safety.π¦ Project Onboarding: Handles the initial setup for new projects (includingROO_COMMANDER_SYSTEM.md) or context gathering for existing ones.π Discovery Agent: Interacts with the user to gather detailed requirements (project_journal/planning/requirements.md).β¨ Project Initializer: Sets up the basic directory structure, Git repo, journal structure, and config files (includingROO_COMMANDER_SYSTEM.md) for new projects.π Diagramer: Generates/updates Mermaid diagram syntax and delegates saving tosecretary.π Context Resolver: Reads task logs, decisions, and planning docs to provide context summaries.π§ Git Manager: Handles Git operations.π Bug Fixer,π Code Reviewer,π Integration Tester,π E2E Tester,β‘ Performance Optimizer,β»οΈ Refactor Specialist,βΏ Accessibility Specialist,π Security Specialist: Address specific quality, maintenance, and testing aspects, logging their work within their task logs.π§© Complex Problem Solver,π Research & Context Builder,π€ Second Opinion,βοΈ Technical Writer: Provide analysis, research, alternative views, and documentation drafting, saving outputs toproject_journal/formal_docs/or logging process in task logs.
- 1οΈβ£ Initiation: Interact with π Roo Commander, stating your goal. Commander delegates to
π¦ Project Onboarding. - 2οΈβ£ Onboarding & Planning:
π¦ Project Onboardingclarifies new/existing project, gathers initial context or initializes the structure (includingROO_COMMANDER_SYSTEM.md), and reports back. Commander then delegates planning tasks (e.g., toπ Discovery Agent,ποΈ Technical Architect,π Project Manager). Each delegated task gets a unique Task ID and its own log file created inproject_journal/tasks/. - 3οΈβ£ Execution:
π Project Manager(orπ Roo Commander) delegates specific implementation sub-tasks to Specialist modes, providing the Task ID and context references. - 4οΈβ£ Logging & Completion: Each Specialist performs its task, logs key steps, findings, and outcomes by delegating appends to the
π Secretaryfor their specific task log file (project_journal/tasks/TASK-ID.md). Finalized documents are saved toproject_journal/formal_docs/viasecretary. Diagrams are updated viadiagramer->secretary. - 5οΈβ£ Coordination & Iteration: Managers/Commander review task logs (
read_file), useπ Context Resolverfor summaries, coordinate dependencies, handle blockers (potentially logging decisions toproject_journal/decisions/), and delegate further work. - 6οΈβ£ Finalization: Once all major tasks show β
completion in their logs,
π Roo Commanderreviews the overall outcome and presents it to you.
This structured directory is the cornerstone of context management. See the Refined Journal Plan for details.
Structure:
project_journal/
βββ tasks/ # Task-specific logs (TASK-ID.md for each delegated task)
β βββ TASK-FE-YYYYMMDD-HHMMSS.md
βββ decisions/ # Project-level decisions (ADR-like files)
β βββ YYYYMMDD-technology-choice.md
βββ formal_docs/ # Finalized outputs (reports, specs, guides)
β βββ api_spec_v1.yaml
βββ visualizations/ # Mermaid diagrams
β βββ architecture_diagram.md
βββ planning/ # Core plans
β βββ requirements.md
β βββ architecture.md
β βββ project_plan.md
βββ technical_notes/ # Ad-hoc technical documentation
Key Points:
- Task Logs: Each delegated task has its own log file in
tasks/, tracking its goal, steps, findings, and final outcome. - Decisions: Significant, cross-cutting decisions are recorded in
decisions/. - Formal Docs: Finalized artifacts live in
formal_docs/. - Secretary Role: The
π Secretaryhandles all writes/appends to the journal directories and root README/LICENSE/ROO_COMMANDER_SYSTEM.md, ensuring path validation. - Context References: Modes reference relevant planning docs, decision files, or other task logs when delegating or reporting.
- Completion Reports: Modes reference their specific task log file (
project_journal/tasks/TASK-ID.md) when reporting completion.
-
Installation:
- Ensure you have the latest Roo Code extension.
- Download the
v4.5/roo_commander_more_v45.jsonfile. - Place it in your Roo Code configuration directory (Global modes) OR rename it to
.roomodesand place it in the root of your specific project directory (Project-specific modes). Refer to the Roo Code documentation for exact locations.
-
Starting a Project:
- Open your project folder in VS Code.
- Activate the π Roo Commander mode in Roo Code.
- Be Clear with Your Goal: Provide a concise, high-level objective.
- New Project Example:
"Start a new project named 'my-blog' to build a blog platform using React and a Node.js backend."(Theproject-initializerwill createROO_COMMANDER_SYSTEM.mdand the journal structure). - Existing Project Example:
"I need help with this existing project. Add a user profile page with editing capabilities."(Theproject-onboardingmode will check for the journal structure andROO_COMMANDER_SYSTEM.md).
- New Project Example:
- The Commander will initiate the workflow, likely starting with
π¦ Project Onboarding. Answer its questions clearly (new vs. existing, project name if new).
-
Your Role During Workflow:
- Primary Interaction: You mainly interact with the
π Roo Commanderfor high-level direction, status updates, and resolving major blockers. - Approvals: You will need to approve delegated tasks (
new_task) initiated by the modes (unless auto-approval is configured in Roo Code settings). Review the task goal and context before approving. - Review Completions: Pay attention to
attempt_completionmessages. Check the referenced task log (project_journal/tasks/TASK-ID.md) and any created documents (project_journal/formal_docs/,project_journal/planning/) to understand what was done. - Clarifications: Modes (especially
π Discovery Agent) may ask you clarifying questions usingask_followup_question. Provide specific answers. - Monitoring: Observe the
project_journal/directory. Key files to check for status:project_journal/tasks/: See the progress within individual task logs.project_journal/planning/: Review requirements, architecture, and plans.project_journal/decisions/: Understand key project decisions.
- Guidance: If a mode seems stuck or going in the wrong direction, provide corrective feedback to the
π Roo Commander.
- Primary Interaction: You mainly interact with the
-
Getting the Best Experience:
- Start Simple: Use the Quick Project Ideas for initial tests.
- Clear Goals: The clearer your initial goal for the Commander, the better the delegation.
- Review Delegations: Briefly check the tasks being delegated to ensure they align with your intent.
- Check the Journal: Periodically review the task logs and planning documents to stay informed.
- Use
Context Resolver: Ask the Commander to use theπ Context Resolverif you need a summary of the current state or a specific task's history.
For detailed information on journaling principles, the standard journal structure, the emoji legend, and delegation guidelines used by these modes, please refer to the ROO_COMMANDER_SYSTEM.md file (created by project-initializer for new projects, or copy it from the v4.5 directory).
(See v4.5/project_journal_summary.md for a more detailed breakdown generated during development)
| Mode | Role | Key Function |
|---|---|---|
| Orchestration | ||
| π Roo Commander | CEO / Orchestrator | Overall strategy, high-level delegation, coordination |
| Management | ||
| π Project Manager | Project Management | Task breakdown, tracking, specialist assignment |
| ποΈ Technical Architect | Architecture Design | System design, technology selection, decisions |
| Core Web Specialists | ||
| π₯οΈ Frontend Developer | Frontend Implementation | UI coding, client-side logic, framework usage |
| βοΈ API Developer | Backend API Implementation | API design, endpoint coding, security |
| ποΈ Database Specialist | Database Management | Schema design, query optimization, migrations |
| π¨ UI Designer | User Interface Design | Wireframes, mockups, prototypes, style guides |
| Framework Specialists | ||
| βοΈ React Specialist | React Implementation | Component architecture, state, hooks, performance |
| π¨ Material UI Specialist | Material UI Integration | MUI components, theming, customization |
| π¨ Tailwind CSS Specialist | Tailwind Implementation | Utility classes, config, optimization |
| π PHP/Laravel Developer | PHP/Laravel Backend | Eloquent, Blade, routing, Artisan |
| DevOps Specialists | ||
| π CI/CD Specialist | CI/CD Pipelines | Automation, build/test/deploy configuration |
| ποΈ Infrastructure Specialist | Infrastructure Mgmt | IaC (Terraform, etc.), cloud/on-prem setup, networking |
| π³ Containerization Dev | Containerization | Dockerfiles, K8s/Compose manifests, security |
| QA & Maintenance | ||
| π Bug Fixer | Bug Resolution | Diagnosis, fixing, regression testing |
| π Code Reviewer | Code Quality Assurance | Reviewing standards, bugs, security |
| π Integration Tester | Component Interaction | Testing integration points between system parts |
| π E2E Testing Specialist | End-to-End UI Testing | Simulating user journeys, UI validation |
| β‘ Performance Optimizer | Performance Tuning | Profiling, bottleneck analysis, optimization |
| β»οΈ Refactor Specialist | Code Improvement | Improving structure, readability, maintainability |
| βΏ Accessibility Specialist | Accessibility Assurance | WCAG compliance, testing, accessible design |
| π Security Specialist | Security Assurance | Vulnerability assessment, controls, incident response |
| Support & Utility | ||
| π¦ Project Onboarding | Project Setup/Context | New project init or existing project discovery |
| π Discovery Agent | Requirements Gathering | User interaction to define project scope |
| β¨ Project Initializer | Project Scaffolding | Creating initial directories and config files |
| π§ Git Manager | Version Control | Branching, merging, tagging |
| π§© Complex Problem Solver | Advanced Analysis | Deep reasoning, solution evaluation |
| π Research Context Builder | Information Gathering | Web/repo searching, context synthesis |
| π€ Second Opinion | Alternative Perspective | Reviewing proposed solutions/designs |
| βοΈ Technical Writer | Documentation Creation | Writing user guides, API docs, etc. |
| π Secretary | Journal/Doc Writing | Writes/Appends to project_journal via delegation |
| π Context Resolver | Journal Reading | Reads journal files to provide context summaries |
| π Diagramer | Diagram Generation | Generates Mermaid syntax, delegates save |
| π§ File Repair Specialist | File Corruption Fix | Attempts to repair malformed text files |
- Mode Selection: Remove modes by deleting their objects from the
customModesarray in your.roomodesor global modes file. - Instructions: Tweak
customInstructionsto better suit your processes. - File Permissions: Adjust
fileRegexpatterns if modes need different access (use with caution). - AI Model: Add
apiConfigurationto specify LLMs/parameters per mode.
- Complexity: This is an advanced workflow requiring reliable LLM instruction following.
- LLM Dependence: Effectiveness depends heavily on the chosen LLM's capabilities.
- Error Handling: Modes can still fail. User oversight and intervention may be needed. Review task logs for errors (β, π§±).
- Token Usage: Detailed logging and complex prompts consume tokens. Monitor usage.
- Task ID Generation: Uses timestamps (
TASK-[MODE]-YYYYMMDD-HHMMSS) for uniqueness.
Good luck commanding your virtual Roo Code team!