memorybank-initialize
Bootstrap a new project's Memory Bank by creating the six core files with templates and gathering initial project information from the user.
Installation
Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.
View source ↗GuidesSkill instructions
Memory Bank: Initialize
Bootstrap a new project with complete Memory Bank structure.
Helper Scripts Available:
-
scripts/validate_memorybank.py- Validates structure
What It Does
Creates Memory Bank structure in memory-bank/ directory:
project-root/
└── memory-bank/
├── projectbrief.md # Foundation (goals, scope)
├── productContext.md # User experience & vision
├── techContext.md # Technologies & setup
├── systemPatterns.md # Architecture & patterns
├── activeContext.md # Current work focus
└── progress.md # Status & learnings
Workflow
- Check if exists: Validate memory-bank doesn't already exist
-
Create directory: Make
memory-bank/folder - Create 6 files: Use templates for each file
- Gather info: Prompt user for initial project details
-
Validate: Run
validate_memorybank.py
File Templates
projectbrief.md
# Project Brief
## Project Name
[Name]
## Core Purpose
[What problem does this solve?]
## Key Objectives
- Objective 1
- Objective 2
## Scope
[What's included and what's not]
## Success Criteria
[How do we know we succeeded?]
productContext.md
# Product Context
## User Problems
[What problems are users facing?]
## Solution Approach
[How does this project solve those problems?]
## User Experience Goals
- Goal 1
- Goal 2
## Key Features
- Feature 1
- Feature 2
techContext.md
# Technical Context
## Technology Stack
- **Framework:** [e.g., Next.js 14]
- **Language:** [e.g., TypeScript]
- **Database:** [e.g., PostgreSQL]
## Development Setup
[How to get started developing]
## Key Dependencies
- Dependency 1
- Dependency 2
## Constraints
[Technical limitations or requirements]
systemPatterns.md
# System Patterns
## Architecture Overview
[High-level system design]
## Key Technical Decisions
- Decision 1: [Rationale]
- Decision 2: [Rationale]
## Design Patterns
[Patterns used in the codebase]
## Component Relationships
[How major components interact]
activeContext.md
# Active Context
## Current Focus
[What you're working on right now]
## Recent Changes
[What changed recently]
## Next Steps
- Step 1
- Step 2
## Blockers
[Any issues preventing progress]
## Learnings
[Recent insights or patterns discovered]
progress.md
# Progress
## What's Working
- Working item 1
- Working item 2
## What's Left to Build
- [ ] Feature 1
- [ ] Feature 2
## Current Status
[Overall project status]
## Known Issues
- Issue 1
- Issue 2
Tool Usage
# After creating files, validate
python scripts/validate_memorybank.py /path/to/project
See scripts/README.md for complete documentation.
Examples
Read the usage examples in the source repository.
View source ↗Source history
- Indexed on
- 2026-01-20
- Index updated
- 2026-01-26
- Branch
- main
Index and sync dates describe this directory. View the source repository for code history.
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!