make bmad support for opencode

This commit is contained in:
Dương Bảo Duy 2025-09-10 15:48:30 +07:00
parent 2b247ea385
commit df6c9eeb7a
4 changed files with 2773 additions and 2273 deletions

1
.gitignore vendored
View File

@ -46,3 +46,4 @@ test-project-install/*
sample-project/* sample-project/*
flattened-codebase.xml flattened-codebase.xml
*.stats.md *.stats.md
dist/

File diff suppressed because it is too large Load Diff

View File

@ -85,6 +85,17 @@ ide-configurations:
# 2. Type @agent-name (e.g., "@dev", "@pm", "@architect") # 2. Type @agent-name (e.g., "@dev", "@pm", "@architect")
# 3. The agent will adopt that persona for the conversation # 3. The agent will adopt that persona for the conversation
# 4. Rules are stored in .clinerules/ directory in your project # 4. Rules are stored in .clinerules/ directory in your project
opencode:
name: Opencode CLI
rule-dir: .opencode/
format: multi-file
command-suffix: .md
instructions: |
# To use BMad agents with the Opencode CLI:
# 1. The installer creates a `agent` and `command` folder in `.opencode/`.
# 2. This adds custom commands for each agent and task.
# 3. Type /BMad:agents:<agent-name> (e.g., "/BMad:agents:dev", "/BMad:agents:pm") or /BMad:tasks:<task-name> (e.g., "/BMad:tasks:create-doc").
# 4. The agent will adopt that persona for the conversation or preform the task.
gemini: gemini:
name: Gemini CLI name: Gemini CLI
rule-dir: .gemini/commands/BMad/ rule-dir: .gemini/commands/BMad/

File diff suppressed because it is too large Load Diff