The Basic Installation provides the simplest way to implement the Handoff System using the automated installer script. This approach requires minimal setup and automatically handles all configuration details.
Before installation, ensure you have:
- Node.js: The installer requires Node.js to be installed (any recent version)
- Project Directory: A project directory where you want to add handoff management capabilities
- Write Access: Permission to write files in your project directory
Save the handoff-manager-installer.js file to your project's root directory.
Run the installer from the command line in your project's root directory:
node handoff-manager-installer.jsIMPORTANT: The installer MUST be run from your project's root directory where your .roomodes and .clinerules files are located. The Handoff Manager is designed to work alongside your existing Roo configuration.
If you need to install to a specific project directory:
node handoff-manager-installer.js <project-root-directory>Install to a specific project root:
node handoff-manager-installer.js ../my-projectInstall to a parent project:
node handoff-manager-installer.js ..The installer creates the following components:
flowchart TD
classDef mainNode fill:#333,stroke:#666,stroke-width:2px,color:#fff,font-size:14px
classDef subNode fill:#444,stroke:#666,stroke-width:1px,color:#fff,font-size:12px
classDef leafNode fill:#555,stroke:#666,stroke-width:1px,color:#fff,font-size:12px
A["Installer Script"] --> B["Custom Mode (.roomodes)"]
A --> C["System Rules (.clinerules)"]
A --> D["handoffs/ Directory"]
D --> E["0-instructions/"]
D --> F["0-system/"]
E --> G["Documentation Files"]
E --> H["Prompt Templates"]
F --> J["Utility Scripts"]
F --> K["Chat History Directory"]
class A,B,C,D mainNode
class E,F subNode
class G,H,J,K leafNode
The installer adds these components to your project: (Existing files are backed up and the script attempts to merge them, with about a 90% success rate :D )
- Custom Mode Configuration: Adds the "Handoff Manager" mode to your
.roomodesfile - System Rules: Adds handoff system rules to your
.clinerulesfile - Directory Structure: Creates the following structure:
handoffs/0-instructions/- Documentation for the handoff systemhandoffs/0-instructions/prompts/- Templates for common operationshandoffs/0-system/scripts/- Utility scripts for handoff managementhandoffs/0-system/chat-history/- Directory for conversation exports
The installer adds a dedicated "Handoff Manager" custom mode to your Roo environment, which:
- Provides specialized capabilities for managing project handoffs and milestones
- Has permission to create and edit files in the handoffs directory
- Follows structured workflows for creating handoffs, milestones, and restoring sessions
- Can access conversation history to enhance handoff content
- Uses a comprehensive system prompt with diagrams and structured processes
- Existing Installation Detection: Automatically detects and backs up any existing handoff system files
- Configuration Merging: Preserves your existing custom modes when adding handoff-manager mode
- Complete System: Contains all necessary files to get started immediately
- Self-contained: No external dependencies required
- Intelligent Directory Detection: Finds appropriate locations for files
- Robust Error Handling: Recovers gracefully from issues during installation
- Flexible Conversation Extraction: Works with conversation exports in various formats
Once installed, you can:
- Switch to handoff-manager mode in Roo-Code
- Create your first handoff with:
I need to create a handoff document for our current work. Please follow the handoff creation workflow. - Create a handoff with conversation extraction:
I need to create a handoff document incorporating insights from our conversation.- You can export your conversation to any file and place it in the
handoffs/0-system/chat-history/directory - The handoff system will automatically find and process the file
- You can export your conversation to any file and place it in the
- Delete the handoff-manager-installer.js file after successful installation
This file is quite large and may overflow the context if accidentally read by an LLM.
flowchart TD
classDef mainNode fill:#333,stroke:#666,stroke-width:2px,color:#fff,font-size:14px
classDef processNode fill:#444,stroke:#666,stroke-width:1px,color:#fff,font-size:12px
classDef errorNode fill:#633,stroke:#866,stroke-width:1px,color:#fff,font-size:12px
Start([Start Installation]) --> RunScript[Run Installer Script]
RunScript --> BackupExisting[Backup Existing Files]
BackupExisting --> ModifyConfig[Update Configuration Files]
ModifyConfig --> CreateDirs[Create Directory Structure]
CreateDirs --> CopyFiles[Copy System Files]
CopyFiles --> Finish([Installation Complete])
RunScript -- Error --> HandleError[Error Handling]
HandleError --> RestoreBackup[Restore from Backup]
RestoreBackup --> ReportIssue[Report Issue]
class Start,Finish mainNode
class RunScript,BackupExisting,ModifyConfig,CreateDirs,CopyFiles processNode
class HandleError,RestoreBackup,ReportIssue errorNode
- File Permission Issues: If you encounter permission errors, ensure you have write access to the target directory
- Existing Files: The installer will safely back up existing files, but check the backup directory if you need to recover previous versions
- Installation Location: If the installer can't find your project's configuration files, verify you're running it from the correct directory
After installation, refer to the documentation in handoffs/0-instructions/ for detailed information about:
- Creating handoff documents
- Creating milestone documents
- Using conversation extraction
- Restoring sessions from previous handoffs or milestones
For a more customized setup with manual control over each aspect of the system, see the Advanced Installation Guide.