@pcqxh/memory-bank
v1.1.2
Published
Initialize AI Memory Bank structure for your project
Maintainers
Readme
AI Memory Bank Init
Use this tool to initialize a robust "Memory Bank" context management structure for your AI-assisted projects (Claude, Cursor, etc.).
What is a Memory Bank?
It's a standardized set of markdown files that help AI coding assistants maintain context, follow project rules, and remember lessons learned.
- .claude/CLAUDE.md: The "operating system" for the AI, defining rules and behaviors.
- .memory-bank/PROJECT.md: Technical constraints, architectural decisions, and lessons learned.
- .memory-bank/MODULES.md: Current feature status and known issues (backlog).
- .memory-bank/TASK.md: Scratchpad for complex task planning.
Usage
Run this command in the root of your project:
npx @pcqxh/memory-bankThis will create the .claude and .memory-bank directories with the initial templates.
Options
--force,-f: Overwrite existing files.--skip-existing,-s: Skip files that already exist.
Workflow
- Initialize: Run the command.
- Populate: Ask Claude to "Analyze this project and fill in PROJECT.md and MODULES.md".
- Maintain:
- Update
MODULES.mdwhen features are completed. - Update
PROJECT.mdwhen you learn a new "lesson" or change the tech stack.
- Update
