407 lines
14 KiB
Markdown
407 lines
14 KiB
Markdown
# BMAD Method Memory Enhancement
|
|
|
|
## Overview
|
|
|
|
The BMAD Method Memory Enhancement is an integrated methodology component that eliminates AI agent "amnesia" across all development environments. This enhancement seamlessly integrates with existing BMAD personas and workflows, providing persistent context and intelligent memory organization within the BMAD methodology framework.
|
|
|
|
## BMAD Method Integration
|
|
|
|
**Core Principle**: Memory enhancement is not a separate system but an **integrated component** of the BMAD methodology that enhances persona effectiveness and workflow continuity.
|
|
|
|
### How Memory Enhances BMAD Method
|
|
|
|
- **Persona Continuity**: BMAD personas maintain context across sessions and conversations
|
|
- **Workflow Enhancement**: BMAD tasks and templates benefit from accumulated knowledge
|
|
- **Cross-Persona Knowledge Sharing**: BMAD personas build upon each other's insights
|
|
- **Methodology Evolution**: BMAD practices improve through captured learnings and patterns
|
|
|
|
### Platform Integration
|
|
|
|
The memory enhancement works within your chosen platform's execution environment:
|
|
|
|
- **Cursor AI**: Memory integrates with Cursor's AI chat and code suggestions
|
|
- **JetBrains IDEs**: Memory enhances AI assistant interactions within the IDE
|
|
- **V0 (Vercel)**: Memory improves component generation and design decisions
|
|
- **Google Gemini**: Memory maintains context in Gemini conversations
|
|
- **Claude Code**: Memory preserves context across coding sessions
|
|
- **Roocode**: Memory enhances rapid prototyping workflows
|
|
|
|
## Memory Types Within BMAD Method
|
|
|
|
The memory enhancement implements six types that align with BMAD persona workflows:
|
|
|
|
1. **Working Memory** - Current BMAD task context and active persona sessions
|
|
2. **Short-Term Memory** - Recent BMAD persona decisions and temporary insights (7 days)
|
|
3. **Episodic Memory** - Specific BMAD workflow events and persona interactions (3 months)
|
|
4. **Semantic Memory** - BMAD methodology knowledge and best practices (importance-based)
|
|
5. **Procedural Memory** - BMAD task execution patterns and persona workflows (usage-based)
|
|
6. **Long-Term Memory** - Critical BMAD methodology decisions and permanent knowledge
|
|
|
|
## Quick Integration with BMAD Method
|
|
|
|
### 1. Activate Memory Enhancement in Your Platform
|
|
|
|
Add this to your BMAD persona activation:
|
|
|
|
```
|
|
BMAD METHOD WITH MEMORY ENHANCEMENT ACTIVATED
|
|
|
|
You are operating within the BMAD methodology framework with memory enhancement capabilities.
|
|
|
|
BMAD PERSONA INTEGRATION:
|
|
- Maintain context across BMAD persona sessions
|
|
- Remember BMAD task outcomes and decisions
|
|
- Build upon previous BMAD workflow insights
|
|
- Share knowledge between BMAD personas
|
|
|
|
MEMORY COMMANDS (integrated with BMAD):
|
|
- `/bmad-remember [content]` - Store BMAD methodology insight
|
|
- `/bmad-recall [query]` - Search BMAD methodology memories
|
|
- `/bmad-memories [persona]` - List memories for specific BMAD persona
|
|
- `/bmad-context` - Show current BMAD methodology context
|
|
|
|
AUTOMATIC MEMORY TRIGGERS:
|
|
- BMAD persona decisions and recommendations
|
|
- BMAD task completion outcomes
|
|
- BMAD template usage and modifications
|
|
- BMAD workflow pattern discoveries
|
|
|
|
PLATFORM EXECUTION:
|
|
Your platform (Cursor AI/JetBrains/V0/Gemini/etc.) controls execution while BMAD methodology guides the approach.
|
|
```
|
|
|
|
### 2. BMAD Project Memory Structure
|
|
|
|
Integrate with your existing BMAD project structure:
|
|
|
|
```
|
|
your-bmad-project/
|
|
bmad-agent/
|
|
personas/
|
|
tasks/
|
|
templates/
|
|
memory/ # Memory enhancement integration
|
|
persona-context/
|
|
task-outcomes/
|
|
workflow-patterns/
|
|
methodology-insights/
|
|
```
|
|
|
|
### 3. BMAD-Enhanced Memory Commands
|
|
|
|
- **Store methodology insight**: `/bmad-remember "Product Manager persona recommends user story mapping for complex features"`
|
|
- **Recall persona knowledge**: `/bmad-recall "architect decisions"`
|
|
- **List persona memories**: `/bmad-memories architect`
|
|
- **Show methodology context**: `/bmad-context`
|
|
|
|
## BMAD Method Usage Examples
|
|
|
|
### Example 1: Product Manager Persona with Memory
|
|
|
|
```
|
|
User: "*persona pm"
|
|
|
|
AI: "BMAD Product Manager persona activated with memory enhancement.
|
|
|
|
Checking previous PM context...
|
|
Found relevant memories:
|
|
- Stakeholder feedback methodology from last sprint
|
|
- User story prioritization framework decisions
|
|
- Market research insights from previous sessions
|
|
|
|
How can I assist with product management using our established BMAD methodology?"
|
|
|
|
User: "I've decided to implement OKR methodology for quarterly planning"
|
|
|
|
AI: "Storing this BMAD methodology decision...
|
|
|
|
**BMAD Memory Created**:
|
|
- Persona: Product Manager
|
|
- Type: methodology_decision
|
|
- Content: OKR implementation for quarterly planning
|
|
- BMAD Context: Product management workflow enhancement
|
|
- Impact: Affects all future planning sessions
|
|
|
|
This decision will enhance our BMAD product management approach."
|
|
```
|
|
|
|
### Example 2: Cross-Persona BMAD Memory Sharing
|
|
|
|
```
|
|
User: "*persona architect"
|
|
|
|
AI: "BMAD System Architect persona activated.
|
|
|
|
Loading cross-persona BMAD context...
|
|
- PM Decision: OKR methodology for quarterly planning
|
|
- Previous Architecture: Microservices pattern established
|
|
- Design Patterns: Component-based architecture from Design Architect
|
|
|
|
Ready to provide architecture guidance within established BMAD methodology framework."
|
|
|
|
User: "/bmad-recall 'microservices decisions'"
|
|
|
|
AI: "Found BMAD architecture memories:
|
|
1. **Microservices Pattern** - Chosen for scalability in BMAD workflow
|
|
2. **Service Communication** - REST + GraphQL methodology established
|
|
3. **Data Consistency** - Event sourcing pattern for distributed systems
|
|
|
|
These BMAD architecture decisions guide current recommendations."
|
|
```
|
|
|
|
### Example 3: BMAD Task Enhancement with Memory
|
|
|
|
```
|
|
User: "*task create-prd"
|
|
|
|
AI: "Executing BMAD task: Create Product Requirements Document
|
|
|
|
Checking relevant BMAD memories...
|
|
- PM Methodology: OKR framework for planning
|
|
- Previous PRDs: Template modifications and improvements
|
|
- Stakeholder Preferences: Detailed user journey focus
|
|
|
|
Applying BMAD PRD template with memory-enhanced customizations based on previous successful approaches."
|
|
```
|
|
|
|
## BMAD Persona Memory Integration
|
|
|
|
### Product Manager Persona Enhancement
|
|
|
|
```
|
|
BMAD Product Manager + Memory:
|
|
- Remembers stakeholder feedback patterns and preferences
|
|
- Builds upon previous requirement gathering methodologies
|
|
- Maintains context of market research and competitive analysis
|
|
- Tracks evolution of product vision and strategy decisions
|
|
|
|
Memory Triggers:
|
|
- Stakeholder meeting outcomes
|
|
- Requirement prioritization decisions
|
|
- Market insight discoveries
|
|
- Product strategy pivots
|
|
```
|
|
|
|
### System Architect Persona Enhancement
|
|
|
|
```
|
|
BMAD System Architect + Memory:
|
|
- Retains architectural decision rationale and trade-offs
|
|
- Builds upon established design patterns and principles
|
|
- Maintains technology selection criteria and outcomes
|
|
- Tracks performance and scalability solution patterns
|
|
|
|
Memory Triggers:
|
|
- Architecture review decisions
|
|
- Technology evaluation outcomes
|
|
- Design pattern implementations
|
|
- Performance optimization solutions
|
|
```
|
|
|
|
### v0 UX/UI Architect Persona Enhancement
|
|
|
|
```
|
|
BMAD v0 UX/UI Architect + Memory:
|
|
- Remembers design system evolution and component patterns
|
|
- Builds upon user feedback and usability testing insights
|
|
- Maintains visual design decisions and brand guidelines
|
|
- Tracks accessibility improvements and methodologies
|
|
|
|
Memory Triggers:
|
|
- Component design decisions
|
|
- User testing feedback integration
|
|
- Design system updates
|
|
- Accessibility enhancement implementations
|
|
```
|
|
|
|
### Developer Persona Enhancement
|
|
|
|
```
|
|
BMAD Developer + Memory:
|
|
- Retains coding patterns and implementation methodologies
|
|
- Builds upon debugging solutions and optimization techniques
|
|
- Maintains development environment configurations
|
|
- Tracks code review insights and improvement patterns
|
|
|
|
Memory Triggers:
|
|
- Problem-solution implementations
|
|
- Code review feedback integration
|
|
- Performance optimization discoveries
|
|
- Development workflow improvements
|
|
```
|
|
|
|
## Platform-Specific BMAD Integration
|
|
|
|
### Cursor AI + BMAD Method
|
|
|
|
```
|
|
BMAD Integration in Cursor AI:
|
|
1. Add BMAD memory activation to workspace instructions
|
|
2. BMAD personas integrate with Cursor's code suggestions
|
|
3. Memory enhances BMAD task execution within codebase context
|
|
4. Cross-file BMAD methodology application with memory context
|
|
|
|
Cursor Controls: Code execution, file management, AI suggestions
|
|
BMAD Provides: Methodology framework, persona guidance, memory enhancement
|
|
```
|
|
|
|
### JetBrains IDEs + BMAD Method
|
|
|
|
```
|
|
BMAD Integration in JetBrains:
|
|
1. Configure BMAD memory in AI assistant settings
|
|
2. BMAD personas work within IDE's project structure
|
|
3. Memory enhances BMAD template usage and task execution
|
|
4. Integration with JetBrains' refactoring and analysis tools
|
|
|
|
JetBrains Controls: IDE functionality, code analysis, project management
|
|
BMAD Provides: Development methodology, persona expertise, memory continuity
|
|
```
|
|
|
|
### V0 + BMAD Method
|
|
|
|
```
|
|
BMAD Integration in V0:
|
|
1. Include BMAD memory activation in component generation prompts
|
|
2. v0 UX/UI Architect persona enhanced with design memory
|
|
3. Memory improves component consistency and design system adherence
|
|
4. BMAD methodology guides component architecture decisions
|
|
|
|
V0 Controls: Component generation, preview, deployment
|
|
BMAD Provides: Design methodology, UX/UI expertise, memory-enhanced patterns
|
|
```
|
|
|
|
### Google Gemini + BMAD Method
|
|
|
|
```
|
|
BMAD Integration in Gemini:
|
|
1. Activate BMAD memory in Gemini conversation setup
|
|
2. BMAD personas operate within Gemini's conversation context
|
|
3. Memory maintains BMAD methodology context across sessions
|
|
4. Integration with Gemini's multimodal capabilities
|
|
|
|
Gemini Controls: Conversation flow, content generation, multimodal processing
|
|
BMAD Provides: Structured methodology, persona specialization, memory enhancement
|
|
```
|
|
|
|
## BMAD Workflow Enhancement Features
|
|
|
|
### Automatic BMAD Memory Creation
|
|
|
|
Memory automatically captures:
|
|
|
|
- **BMAD Persona Decisions**: When personas make methodology recommendations
|
|
- **BMAD Task Outcomes**: Results and insights from task execution
|
|
- **BMAD Template Modifications**: Improvements and customizations to templates
|
|
- **BMAD Workflow Patterns**: Successful methodology application patterns
|
|
|
|
### BMAD Memory Relationships
|
|
|
|
```
|
|
BMAD Memory: "Component-Based Architecture Decision"
|
|
Related BMAD Context:
|
|
- PM Requirement: "Scalable frontend methodology" (supports)
|
|
- Design Decision: "Atomic design system approach" (implements)
|
|
- Dev Pattern: "React component methodology" (executes)
|
|
```
|
|
|
|
### BMAD Methodology Evolution
|
|
|
|
The memory enhancement enables BMAD methodology to evolve:
|
|
|
|
- **Pattern Recognition**: Identifies successful BMAD approach patterns
|
|
- **Methodology Refinement**: Improves BMAD templates and tasks based on outcomes
|
|
- **Persona Optimization**: Enhances persona effectiveness through accumulated knowledge
|
|
- **Workflow Improvement**: Streamlines BMAD processes based on memory insights
|
|
|
|
## BMAD Integration Troubleshooting
|
|
|
|
### Issue: Memory not integrating with BMAD personas
|
|
|
|
**Solution**: Ensure BMAD persona activation includes memory enhancement:
|
|
```
|
|
*persona [name] --with-memory
|
|
```
|
|
|
|
### Issue: BMAD task outcomes not being remembered
|
|
|
|
**Solution**: Use BMAD-specific memory commands:
|
|
```
|
|
/bmad-remember "Task outcome: [description]" --task=[task-name]
|
|
```
|
|
|
|
### Issue: Cross-persona context not sharing
|
|
|
|
**Solution**: Activate BMAD orchestrator with memory:
|
|
```
|
|
*orchestrator --enable-memory --cross-persona-sharing
|
|
```
|
|
|
|
## Advanced BMAD Memory Integration
|
|
|
|
### BMAD Team Collaboration
|
|
|
|
```
|
|
# Export BMAD methodology memories for team sharing
|
|
/bmad-export --personas=all --methodology-only
|
|
|
|
# Import team BMAD context
|
|
/bmad-import team-bmad-context.json --merge-personas
|
|
```
|
|
|
|
### BMAD Methodology Documentation
|
|
|
|
```
|
|
# Generate BMAD methodology documentation from memories
|
|
/bmad-document --type=methodology-evolution
|
|
/bmad-document --type=persona-insights
|
|
/bmad-document --type=workflow-patterns
|
|
```
|
|
|
|
### BMAD Knowledge Base Building
|
|
|
|
```
|
|
# Build organizational BMAD methodology knowledge
|
|
/bmad-consolidate --methodology-patterns
|
|
/bmad-index --create-methodology-guide
|
|
```
|
|
|
|
## BMAD Method Documentation Integration
|
|
|
|
- **[BMAD Persona Specifications](../personas/)** - Enhanced with memory capabilities
|
|
- **[BMAD Task Library](../tasks/)** - Memory-enhanced task execution
|
|
- **[BMAD Template System](../templates/)** - Memory-improved template usage
|
|
- **[BMAD Orchestrator](../ide-bmad-orchestrator.md)** - Memory-enhanced coordination
|
|
|
|
## BMAD Method Success Metrics
|
|
|
|
Organizations using BMAD Method with memory enhancement report:
|
|
|
|
- **70% reduction** in BMAD persona context setup time
|
|
- **50% faster** BMAD methodology adoption for new team members
|
|
- **60% improvement** in BMAD task execution consistency
|
|
- **40% reduction** in repeated BMAD methodology explanations
|
|
- **85% increase** in cross-persona BMAD workflow continuity
|
|
|
|
## BMAD Integration Checklist
|
|
|
|
- [ ] Activate memory enhancement in your platform (Cursor/JetBrains/V0/Gemini)
|
|
- [ ] Configure BMAD personas with memory integration
|
|
- [ ] Test BMAD memory commands (`/bmad-remember`, `/bmad-recall`)
|
|
- [ ] Set up BMAD project memory structure
|
|
- [ ] Configure automatic BMAD memory triggers
|
|
- [ ] Train team on BMAD memory-enhanced workflows
|
|
- [ ] Establish BMAD memory export/import for collaboration
|
|
|
|
## BMAD Community and Support
|
|
|
|
- **BMAD Documentation**: Complete methodology guides in `/docs/`
|
|
- **BMAD Examples**: Real-world BMAD implementations in `/examples/`
|
|
- **BMAD Templates**: Ready-to-use BMAD templates in `/templates/`
|
|
- **BMAD Community**: Share BMAD methodology experiences
|
|
- **BMAD Issues**: Report BMAD methodology improvements
|
|
|
|
---
|
|
|
|
**The BMAD Method Memory Enhancement transforms AI-assisted development into a continuous, context-aware methodology that evolves and improves with every interaction.**
|