fix: update documentation and installer to reflect .roomodes file location in project root (#236)

This commit is contained in:
Reider Olivér
2025-06-17 17:51:52 +02:00
committed by GitHub
parent 0c41633b07
commit bd7f03016b
2 changed files with 6 additions and 6 deletions

View File

@@ -13,7 +13,7 @@ This guide walks you through the complete BMAD workflow using Roo Code as your A
- **Installation Type**: Choose "Complete installation (recommended)"
- **IDE**: Select "Roo Code"
This creates a `.bmad-core` folder with all agents and a `.roo/.roomodes` file with custom modes.
This creates a `.bmad-core` folder with all agents and a `.roomodes` file (in the project root) with custom modes.
## Step 2: Set Up Team Fullstack in Gemini
@@ -103,7 +103,7 @@ All BMAD agents are available as custom modes:
## Roo Code-Specific Features
- **Custom modes are stored in**: `.roo/.roomodes` file
- **Custom modes are stored in**: `.roomodes` file (in the project root)
- **Mode switching**: Use the mode selector in Roo Code's interface
- **File permissions**: Each agent has specific file access permissions
- **Documentation agents** (SM, PM, PO, Analyst): Limited to `.md` and `.txt` files

View File

@@ -241,8 +241,8 @@ class IdeSetup {
const rooDir = path.join(installDir, ".roo");
await fileManager.ensureDirectory(rooDir);
// Check for existing .roomodes file inside .roo directory
const roomodesPath = path.join(rooDir, ".roomodes");
// Check for existing .roomodes file in project root
const roomodesPath = path.join(installDir, ".roomodes");
let existingModes = [];
let existingContent = "";
@@ -379,7 +379,7 @@ class IdeSetup {
// Write .roomodes file
await fileManager.writeFile(roomodesPath, roomodesContent);
console.log(chalk.green("✓ Created .roo/.roomodes file"));
console.log(chalk.green("✓ Created .roomodes file in project root"));
// Create README in .roo directory
const rooReadme = `# Roo Code Custom Modes for BMAD-METHOD