AgentSkillsCN

Bmad Core Integration

Bmad 核心集成

SKILL.md

BMAD Core Integration - OpenCode Skill

Master Document: _bmad/bmm/ | description: Connect to BMAD core workflows and agents

Overview

This skill provides OpenCode integration with the BMAD (Business Model & Agile Development) framework's core workflows and agents.

Quick Reference

ItemLocation
BMAD Root_bmad/
BMM Workflows_bmad/bmm/workflows/
BMM Agents_bmad/bmm/agents/
Workflow Statusbmm-workflow-status.yaml

BMAD Module Structure

code
_bmad/
├── core/
│   └── agents/
│       └── bmad-master.md          ← Master orchestrator
├── bmm/
│   ├── workflows/
│   │   ├── 1-planning/
│   │   ├── 2-analysis/
│   │   ├── 3-design/
│   │   ├── 4-implementation/       ← Most used
│   │   └── 5-validation/
│   └── agents/
│       ├── analyst.md
│       ├── architect.md
│       ├── dev.md
│       ├── sm.md
│       ├── pm.md
│       └── tea.md
├── modules/
│   ├── asgl/                       ← Loop orchestration
│   ├── deep-scan/                  ← Diagnostics
│   └── architecture-remediation/   ← Refactoring
└── cis/
    └── (Creative/Strategy agents)

Key BMM Workflows (4-Implementation)

WorkflowPathUse When
dev-story_bmad/bmm/workflows/4-implementation/dev-story/workflow.yamlStandard story implementation
code-review_bmad/bmm/workflows/4-implementation/code-review/workflow.yamlReview completed work
correct-course_bmad/bmm/workflows/4-implementation/correct-course/workflow.yamlSignificant deviation detected

BMM Agents Reference

AgentPathdescription
analyst_bmad/bmm/agents/analyst.mdRequirements analysis, research
architect_bmad/bmm/agents/architect.mdSystem design, ADRs
dev_bmad/bmm/agents/dev.mdImplementation, code review
sm_bmad/bmm/agents/sm.mdStory management, sprint tracking
pm_bmad/bmm/agents/pm.mdBacklog management
tea_bmad/bmm/agents/tea.mdTest architecture

Usage Examples

Invoke Dev Story Workflow

markdown
@bmad-bmm-dev

Execute story implementation:
- Story: S-001 (Debug Model Loading Flow)
- Type: IMPLEMENTATION
- Hours: 4
- AC: Models populate after key save
- Sprint: comprehensive-remediation-sprint-2026-01-05.yaml

Invoke Code Review

markdown
@bmad-bmm-code-review

Review completed story:
- Story: CC-02 (Credential Vault SSR Fix)
- Files: See PR #XXX
- Focus: SSR compatibility, error handling

Invoke Sprint Planning

markdown
@bmad-bmm-sprint-plan

Plan next sprint:
- Current: ARCH-95-2026-01-05 (Phase 1)
- Remaining: 27 stories
- Capacity: 15 hours/week
- Focus: Critical blockers first

Integration with ASGL

ASGL routes IMPLEMENTATION stories to bmad-core:

yaml
# From module-integration.yaml
- condition: "story.type == 'IMPLEMENTATION'"
  module: "bmad-core"
  workflow: "dev-story"
  agent: "dev"

Workflow Status Tracking

BMAD workflows update bmm-workflow-status.yaml:

yaml
workflows:
  current_workflow: "dev-story"
  current_story: "S-001"
  stories_completed: 0
  stories_remaining: 33

Token Optimization

This skill uses references only. Full workflow definitions are in _bmad/bmm/workflows/. Benefits:

  • ✅ Consistent (single source of truth)
  • ✅ Live updates (no regeneration needed)
  • ✅ Reduced tokens (~80% smaller)

Related Skills

Skilldescription
asglAutonomous loop orchestration
architecture-remediationGod store/component refactoring
deep-scanComprehensive diagnostics

Command Aliases

CommandMaps To
@bmad-bmm-dev-storydev-story workflow
@bmad-bmm-code-reviewcode-review workflow
@bmad-bmm-sprint-planningsprint-planning workflow

Generated: 2026-01-05 | Module: _bmad/bmm/ | Version: 1.0.0