π§ Roo Code Memory Bank: Seamless project context in Roo Code. No more repetition, just continuous development!
Batchfile
1,669
83 commits
updated May 15, 2025
Persistent Project Context for AI-Assisted Development
Roo Code Memory Bank solves a critical challenge in AI-assisted development: maintaining context across sessions. By providing a structured memory system integrated with VS Code, it ensures your AI assistant maintains a deep understanding of your project across sessions.
graph LR
A[Memory Bank] --> B[Core Files]
A --> C[Mode Rules]
A --> D[VS Code UI]
B --> E[Project Context]
B --> F[Decisions]
B --> G[Progress]
C --> H[Architect]
C --> I[Code]
C --> J[Ask]
C --> K1[Debug]
K[Real-time Updates] --> B
K --> L[Continuous Sync]
L --> M[Auto-save]
L --> N[Event Tracking]
memory-bank/ directoryCreate a projectBrief.md in your project root before initialization to give Roo immediate project context.
project-root/
βββ memory-bank/
β βββ activeContext.md
β βββ productContext.md
β βββ progress.md
β βββ decisionLog.md
βββ projectBrief.md
graph TD
MB[memory-bank/] --> AC[activeContext.md]
MB --> DL[decisionLog.md]
MB --> PC[productContext.md]
MB --> PR[progress.md]
MB --> PB[projectBrief.md]
MB --> SP[systemPatterns.md]
subgraph Core Files
AC[Current Session State]
DL[Technical Decisions]
PC[Project Overview]
PR[Progress Tracking]
end
subgraph Optional
PB[Project Brief]
SP[System Patterns]
end
| File | Purpose |
|---|---|
activeContext.md | Tracks current goals, decisions, and session state |
decisionLog.md | Records architectural choices and their rationale |
productContext.md | Maintains high-level project context and knowledge |
progress.md | Documents completed work and upcoming tasks |
projectBrief.md | Contains initial project requirements (optional) |
systemPatterns.md | Documents recurring patterns and standards |
Roo Code Memory Bank's Architect mode is designed for high-level system design and project organization. This mode focuses on architectural decisions, system structure, and maintaining project-wide consistency.
Architect mode actively monitors and updates Memory Bank files based on:
graph TD
A[Architect Mode] --> B[Design Decisions]
A --> C[Pattern Definition]
B --> D[Memory Bank Updates]
C --> D
D --> E[activeContext.md]
D --> F[progress.md]
D --> G[decisionLog.md]
E --> H[Design Status]
F --> I[Architecture Progress]
G --> J[Design Decisions]
Switch to Architect mode when you need to:
Roo Code Memory Bank's Code mode is your primary interface for implementation and development. This mode specializes in writing, modifying, and maintaining code while following established patterns.
Code mode actively monitors and updates Memory Bank files based on:
graph TD
A[Code Mode] --> B[Implementation]
A --> C[Documentation]
B --> D[Memory Bank Updates]
C --> D
D --> E[activeContext.md]
D --> F[progress.md]
D --> G[decisionLog.md]
E --> H[Current Tasks]
F --> I[Code Progress]
G --> J[Implementation Decisions]
Switch to Code mode when you need to:
Roo Code Memory Bank's Ask mode serves as your knowledge base interface and documentation assistant. This mode excels at providing information, explaining concepts, and maintaining project knowledge.
Ask mode actively monitors and updates Memory Bank files based on:
graph TD
A[Ask Mode] --> B[Knowledge Sharing]
A --> C[Documentation]
B --> D[Memory Bank Updates]
C --> D
D --> E[activeContext.md]
D --> F[progress.md]
D --> G[decisionLog.md]
E --> H[Current Topics]
F --> I[Documentation Progress]
G --> J[Knowledge Decisions]
Switch to Ask mode when you need to:
Roo Code Memory Bank's Debug mode specializes in systematic problem-solving and troubleshooting. This mode employs strategic analysis and verification to identify and resolve issues.
Debug mode actively monitors and updates Memory Bank files based on:
graph TD
A[Debug Mode] --> B[Investigation]
A --> C[Analysis]
B --> D[Memory Bank Updates]
C --> D
D --> E[activeContext.md]
D --> F[progress.md]
D --> G[decisionLog.md]
E --> H[Current Issues]
F --> I[Debug Progress]
G --> J[Solution Decisions]
Switch to Debug mode when you need to:
View on GitHub β’ Report Issues β’ Get Roo Code
Apache 2.0 Β© 2025 GreatScottyMac
4,880 followers Β· starred Apr 2025
67 followers Β· starred Jun 2025
92 followers Β· starred Jul 2025
1,140 followers Β· starred May 2025
π§ Roo Code Memory Bank: Seamless project context in Roo Code. No more repetition, just continuous development!
Batchfile
1,669
83 commits
updated May 15, 2025
Persistent Project Context for AI-Assisted Development
Roo Code Memory Bank solves a critical challenge in AI-assisted development: maintaining context across sessions. By providing a structured memory system integrated with VS Code, it ensures your AI assistant maintains a deep understanding of your project across sessions.
graph LR
A[Memory Bank] --> B[Core Files]
A --> C[Mode Rules]
A --> D[VS Code UI]
B --> E[Project Context]
B --> F[Decisions]
B --> G[Progress]
C --> H[Architect]
C --> I[Code]
C --> J[Ask]
C --> K1[Debug]
K[Real-time Updates] --> B
K --> L[Continuous Sync]
L --> M[Auto-save]
L --> N[Event Tracking]
memory-bank/ directoryCreate a projectBrief.md in your project root before initialization to give Roo immediate project context.
project-root/
βββ memory-bank/
β βββ activeContext.md
β βββ productContext.md
β βββ progress.md
β βββ decisionLog.md
βββ projectBrief.md
graph TD
MB[memory-bank/] --> AC[activeContext.md]
MB --> DL[decisionLog.md]
MB --> PC[productContext.md]
MB --> PR[progress.md]
MB --> PB[projectBrief.md]
MB --> SP[systemPatterns.md]
subgraph Core Files
AC[Current Session State]
DL[Technical Decisions]
PC[Project Overview]
PR[Progress Tracking]
end
subgraph Optional
PB[Project Brief]
SP[System Patterns]
end
| File | Purpose |
|---|---|
activeContext.md | Tracks current goals, decisions, and session state |
decisionLog.md | Records architectural choices and their rationale |
productContext.md | Maintains high-level project context and knowledge |
progress.md | Documents completed work and upcoming tasks |
projectBrief.md | Contains initial project requirements (optional) |
systemPatterns.md | Documents recurring patterns and standards |
Roo Code Memory Bank's Architect mode is designed for high-level system design and project organization. This mode focuses on architectural decisions, system structure, and maintaining project-wide consistency.
Architect mode actively monitors and updates Memory Bank files based on:
graph TD
A[Architect Mode] --> B[Design Decisions]
A --> C[Pattern Definition]
B --> D[Memory Bank Updates]
C --> D
D --> E[activeContext.md]
D --> F[progress.md]
D --> G[decisionLog.md]
E --> H[Design Status]
F --> I[Architecture Progress]
G --> J[Design Decisions]
Switch to Architect mode when you need to:
Roo Code Memory Bank's Code mode is your primary interface for implementation and development. This mode specializes in writing, modifying, and maintaining code while following established patterns.
Code mode actively monitors and updates Memory Bank files based on:
graph TD
A[Code Mode] --> B[Implementation]
A --> C[Documentation]
B --> D[Memory Bank Updates]
C --> D
D --> E[activeContext.md]
D --> F[progress.md]
D --> G[decisionLog.md]
E --> H[Current Tasks]
F --> I[Code Progress]
G --> J[Implementation Decisions]
Switch to Code mode when you need to:
Roo Code Memory Bank's Ask mode serves as your knowledge base interface and documentation assistant. This mode excels at providing information, explaining concepts, and maintaining project knowledge.
Ask mode actively monitors and updates Memory Bank files based on:
graph TD
A[Ask Mode] --> B[Knowledge Sharing]
A --> C[Documentation]
B --> D[Memory Bank Updates]
C --> D
D --> E[activeContext.md]
D --> F[progress.md]
D --> G[decisionLog.md]
E --> H[Current Topics]
F --> I[Documentation Progress]
G --> J[Knowledge Decisions]
Switch to Ask mode when you need to:
Roo Code Memory Bank's Debug mode specializes in systematic problem-solving and troubleshooting. This mode employs strategic analysis and verification to identify and resolve issues.
Debug mode actively monitors and updates Memory Bank files based on:
graph TD
A[Debug Mode] --> B[Investigation]
A --> C[Analysis]
B --> D[Memory Bank Updates]
C --> D
D --> E[activeContext.md]
D --> F[progress.md]
D --> G[decisionLog.md]
E --> H[Current Issues]
F --> I[Debug Progress]
G --> J[Solution Decisions]
Switch to Debug mode when you need to:
View on GitHub β’ Report Issues β’ Get Roo Code
Apache 2.0 Β© 2025 GreatScottyMac
4,880 followers Β· starred Apr 2025
67 followers Β· starred Jun 2025
92 followers Β· starred Jul 2025
1,140 followers Β· starred May 2025