xiaohongshu
xiaohongshu
bmad-integration
Integracao com BMAD Method para escala adaptativa e workflows guiados. Detecta nivel de complexidade e ajusta agentes automaticamente. Use quando: iniciar workflow, detectar complexidade, mapear agentes BMAD.
Full skill instructions
Esta skill integra conceitos do BMAD Method para:
BMAD Method oferece:
trigger:
- bug fix
- typo
- hotfix
- small change
- patch
agents: [code-author, code-reviewer]
skip_phases: [0, 1, 2, 3, 4]
estimated_time: "~5 min"
human_approval: false
trigger:
- new feature in existing service
- enhancement
- improvement
- minor change
agents:
- requirements-analyst
- code-author
- test-author
- code-reviewer
skip_phases: [0, 1, 3]
estimated_time: "~15-30 min"
human_approval: false
trigger:
- new product
- new service
- new integration
- major feature
- new domain
agents: "ALL"
skip_phases: []
estimated_time: "~1-4 hours"
human_approval: true
approval_gates: [phase-2-to-3, phase-6-to-7]
trigger:
- compliance requirement
- multi-team effort
- critical system
- security sensitive
- high risk
agents: "ALL"
skip_phases: []
estimated_time: "variable"
human_approval: true
approval_gates: "ALL"
extra_requirements:
- compliance_review
- security_review
- architecture_review
- legal_review
| BMAD Role | Nosso Agente | Fase |
|---|---|---|
| Discovery Agent | domain-researcher | 1 |
| Product Manager | product-owner | 2 |
| Requirements Agent | requirements-analyst | 2 |
| UX Designer | ux-writer | 2 |
| Architect | system-architect | 3 |
| Data Architect | data-architect | 3 |
| Security Expert | threat-modeler | 3 |
| Scrum Master | delivery-planner | 4 |
| Developer | code-author | 5 |
| Code Reviewer | code-reviewer | 5 |
| Test Engineer | test-author | 5 |
| QA Expert | qa-analyst | 6 |
| DevOps | cicd-engineer | 7 |
| SRE | observability-engineer | 8 |
def detect_complexity(request: str, context: dict) -> int:
"""Detecta nivel de complexidade baseado na request."""
# Keywords por nivel
level_0_keywords = [
"fix", "typo", "bug", "hotfix", "patch",
"corrigir", "ajustar", "pequeno"
]
level_1_keywords = [
"feature", "enhancement", "add", "improve",
"funcionalidade", "melhoria", "adicionar"
]
level_2_keywords = [
"new service", "new product", "integration",
"novo servico", "novo produto", "integracao"
]
level_3_keywords = [
"compliance", "security", "critical", "multi-team",
"enterprise", "audit", "gdpr", "lgpd", "pci"
]
request_lower = request.lower()
# Verificar level 3 primeiro (mais restritivo)
if any(kw in request_lower for kw in level_3_keywords):
return 3
if any(kw in request_lower for kw in level_2_keywords):
return 2
if any(kw in request_lower for kw in level_1_keywords):
return 1
# Verificar contexto
if context.get("affected_services", 0) >= 3:
return 3
if context.get("new_service", False):
return 2
if context.get("existing_service", True):
return 1
# Default: feature
return 1
workflow: quick_flow
steps:
- agent: code-author
action: implement_fix
validation: compile_check
- agent: code-reviewer
action: quick_review
validation: no_blockers
- action: commit_and_push
validation: ci_pass
workflow: feature_flow
steps:
- phase: 2
agent: requirements-analyst
action: clarify_requirements
output: user_story
- phase: 5
agents: [code-author, test-author]
action: implement_with_tests
output: [code, tests]
- phase: 5
agent: code-reviewer
action: review
validation: approved
- phase: 6
agent: qa-analyst
action: validate
validation: quality_ok
workflow: full_sdlc
steps:
- phase: 0
agents: [intake-analyst, compliance-guardian]
gate: phase-0-to-1
- phase: 1
agents: [domain-researcher, rag-curator]
gate: phase-1-to-2
- phase: 2
agents: [product-owner, requirements-analyst]
output: spec
gate: phase-2-to-3
- phase: 3
agents: [system-architect, adr-author, threat-modeler]
output: [architecture, adrs, threat_model]
gate: phase-3-to-4
# ... continua para todas as fases
O orchestrator usa bmad-integration para:
Complexidade afeta rigor dos gates:
#!/usr/bin/env python3
"""Detecta nivel de complexidade de uma request."""
import sys
import json
def detect_level(request: str) -> dict:
# Implementacao do algoritmo
level = 1 # default
keywords = {
0: ["fix", "bug", "typo", "hotfix"],
1: ["feature", "add", "improve"],
2: ["new service", "integration", "new product"],
3: ["compliance", "security", "critical", "multi-team"]
}
request_lower = request.lower()
for lvl in [3, 2, 1, 0]:
if any(kw in request_lower for kw in keywords[lvl]):
level = lvl
break
return {
"level": level,
"workflow": ["quick_flow", "feature_flow", "full_sdlc", "enterprise_flow"][level],
"human_approval": level >= 2,
"estimated_time": ["~5min", "~15min", "~1-4h", "variable"][level]
}
if __name__ == "__main__":
request = " ".join(sys.argv[1:]) if len(sys.argv) > 1 else ""
result = detect_level(request)
print(json.dumps(result, indent=2))
Para melhorar:
xiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience