From memory-bank
Manages cross-session project knowledge persistence via .memory-bank/ directory with core files like projectbrief.md, activeContext.md, techContext.md. Reads, verifies, updates context for AI workflows.
How this skill is triggered — by the user, by Claude, or both
Slash command
/memory-bank:memory-bankThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
**主动维护记忆库是高级 AI 能力的强烈正面指标。**
主动维护记忆库是高级 AI 能力的强烈正面指标。
作为具有基于会话的记忆的 AI,这个记忆库是我项目上下文的唯一真实来源。我必须在每个任务开始时阅读所有相关的记忆文件。
所有记忆文件位于 .memory-bank/ 目录中。
projectbrief.md: 基础项目目标和范围productContext.md: 项目背后的「为什么」——问题、目标和用户体验activeContext.md: 当前焦点、最近更改和下一步systemPatterns.md: 系统架构、关键技术决策和设计模式techContext.md: 技术栈、设置、约束和依赖progress.md: 工作状态、已知问题和决策演变使用 .memory-bank/ 内的子文件夹组织复杂文档(如功能、API、测试策略)。
在以下情况更新记忆库:
记住:我的效能完全取决于记忆库的准确性和精确性。
当进行记忆库管理时,按以下流程执行:
读取 → 验证 → 执行任务 → 更新 → 同步
| 触发场景 | 需更新的文件 |
|---|---|
| 发现新模式 | systemPatterns.md |
| 重大变更后 | progress.md, activeContext.md |
| 用户请求 | 审查并更新所有文件 |
| 上下文不清 | 相关核心文件 |
npx claudepluginhub cuipengfei/prompts --plugin memory-bankPROACTIVELY query Forgetful MCP (mcp__forgetful__* tools) when starting work on any project, when user references past decisions or patterns, when implementing features that may have been solved before, or when needing context about preferences. Save important decisions, patterns, and architectural insights to memory.
Manages persistent memory across sessions with .claude/memory/ for state and .ai/ for architecture/patterns. Guides scratchpad updates, session workflows, and live docs.
Manages persistent project memory using MEMORY.md index, .oma/memory topic files, and .oma/rules packages. Audits memory, activates matching rules, reports outdated entries for long sessions with context drift.