Commit Graph

2 Commits

Author SHA1 Message Date
AntonioTriguero 2b27257110 feat: add Mistral Vibe CLI support with configurable BMAD folder
Addresses #1286

This commit adds comprehensive Mistral Vibe CLI support to BMAD Method, enabling BMAD skills to work seamlessly with Mistral's CLI tools.

### Key Changes:

1. **Mistral Vibe IDE Handler** (`mistral-vibe.js`):
   - Complete Mistral Vibe CLI integration with skill generation
   - Generates agent skills with proper `agent-` and `agent-bmm-` prefixes
   - Creates workflow skills with `bmm-` prefixes
   - Includes core skills (brainstorming, help, party-mode)
   - Uses `artifact.module` for consistent agent type determination

2. **Base IDE Class Enhancement** (`_base-ide.js`):
   - Added `{bmad-folder}` placeholder support alongside existing `_bmad`
   - Maintains full backward compatibility
   - Enables configurable BMAD folder names for all IDE handlers

3. **Code Quality Improvements**:
   - Fixed hardcoded `_bmad` paths with configurable `{bmad-folder}` placeholder
   - Updated method signatures for consistency (`artifact, skillName`)
   - Removed duplicate method implementations
   - All changes pass ESLint validation

### Technical Details:

- **Placeholder System**: Uses `{bmad-folder}` placeholder that gets replaced with actual folder name
- **Configurable**: Supports custom BMAD folder names via `setBmadFolderName()`
- **Backward Compatible**: Existing `_bmad` placeholder continues to work
- **Pattern Compliance**: Follows BMAD's established IDE handler patterns

### Testing:

-  All linting passes
-  Placeholder replacement works with custom folder names
-  Existing IDE handlers unaffected
-  Mistral Vibe integration functional
-  Skill generation produces valid YAML frontmatter
2026-02-02 09:55:03 +00:00
AntonioTriguero c7835413ad feat: add Mistral Vibe CLI support 2026-02-01 22:59:43 +00:00