This repository contains the implementation of the Captain Mode for RooFlow, developed by Martin. The Captain Mode serves as a project orchestrator and task manager, providing enhanced project coordination and workflow efficiency.
This implementation enhances the Captain Mode with:
- Advanced task dependency tracking
- Project metrics monitoring
- Automated mode transitions
- Comprehensive task registry system
- Tracks active and completed tasks
- Manages task dependencies
- Records mode transitions
- Monitors project metrics
- Automatic switching between specialized modes
- Return triggers for task completion
- Post-return action handling
- Context preservation during transitions
- Task completion time tracking
- Mode transition analysis
- Dependency chain monitoring
- Progress visualization
.
├── rooflow-captainmode-docs/
│ ├── captain-mode.md # Captain mode documentation
│ └── captain-mode-implementation.md # Implementation details
├── memory-bank/
│ ├── activeContext.md # Tracks the current session's context
│ ├── decisionLog.md # Records architectural and implementation decisions
│ ├── productContext.md # Provides a high-level overview of the project
│ ├── progress.md # Tracks the progress of the project
│ ├── systemPatterns.md # (Optional) Documents recurring patterns and standards
│ └── taskRegistry.md # Task tracking system
├── .roo/
│ ├── cline_custom_modes.json # Mode configurations
│ └── custom-instructions.yaml # Mode instructions
├── .clinerules-architect # Architect mode rules
├── .clinerules-ask # Ask mode rules
├── .clinerules-captain # Captain mode rules
├── .clinerules-code # Code mode rules
├── .clinerules-debug # Debug mode rules
├── .clinerules-test # Test mode rules
├── rooflow-captainmode-supportfiles/ # Supporting files
│ ├── LICENSE
│ ├── CONTRIBUTING.md
│ └── insert-variables.sh
├── .rooignore # Roo ignore patterns
└── README.md # This file (or rooflow-captainmode-README.md if a README.md already exists)
RooFlow Captain Mode is available as an npm package for easy integration into your projects:
npm install rooflow-captainmode --save-dev
The package provides:
- All necessary configuration files
- Command-line tools for managing tasks and the memory bank
- Automatic setup and initialization
# Initialize RooFlow Captain Mode in your project
npx rooflow-captainmode init
# Manage tasks
npx rooflow-captainmode tasks list
npx rooflow-captainmode tasks create "Task description" --mode code
# Manage memory bank
npx rooflow-captainmode memory-bank status
npx rooflow-captainmode memory-bank create
For more information, see the Installation Guide.
-
Task Dependencies
- Dependency tracking in task registry
- Blocking/blocked status management
- Automated prioritization based on dependencies
-
Project Metrics
- Completion time tracking
- Mode transition monitoring
- Task pattern analysis
- Progress insights
-
Mode-Specific Context
- Specialized context preservation
- Seamless context transfer
- Mode-specific data storage
-
Task Validation
- Completion criteria verification
- Handoff checklists
- Context validation
-
Install via npm (recommended):
npm install rooflow-captainmode --save-dev npx rooflow-captainmode init
-
Open your project in VS Code with the Roo Code extension installed.
-
Select "Captain" mode in the Roo Code chat panel.
For detailed installation instructions, configuration options, and usage examples, see the Installation Guide.
If you prefer to manually install:
- Clone or download the repository from GitHub.
- Copy the necessary configuration files to your project.
- Open the project in VS Code with the Roo Code extension installed.
- Select the desired mode in the Roo Code chat panel.
Contributions are welcome! Please check the CONTRIBUTING.md file for guidelines.