Claude-skill-registry-data memory_bank
Establishes a persistent "Long-Term Memory" file to prevent context amnesia across sessions.
install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry-data
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry-data "$T" && mkdir -p ~/.claude/skills && cp -r "$T/data/memory-bank" ~/.claude/skills/majiayu000-claude-skill-registry-data-memory-bank-6c07d1 && rm -rf "$T"
manifest:
data/memory-bank/SKILL.mdsource content
Memory Bank Protocol
1. The Core Rule
"Read First, Write Last."
- Start of Task: You MUST read
(at project root) to understand the project's current state, constraints, and architecture.MEMORY.md - End of Task: You MUST update
if you have:MEMORY.md- Added a new feature.
- Changed the architecture.
- Discovered a new bug or constraint.
2. File Structure Constraint
Your
MEMORY.md updates must roughly follow this template to maintain readability:
## 1. Active Context - **Goal**: [Current Objective] - **Status**: [Progress] ## 2. Architecture & Tech Stack - [Key tech decisions] ## 3. Known Issues & Technical Debt - [List of things that are broken or hacky] ## 4. Operational Rules - [Do's and Don'ts specific to this project]
3. Maintenance Triggers
- New Pattern: If you implement a new pattern (e.g., "All lists must be virtualized"), add it to
.Operational Rules - Bug Hunt: If you spend >10 mins debugging something, write the "Cause & Fix" in
so the next agent doesn't suffer.Known Issues - Schema Change: If
changes, updateapi/
.Architecture
4. Verification Checklist
- Did I read
at the start?MEMORY.md - Did I verify if my plan conflicts with "Known Issues"?
- Did I update "Active Context" to reflect my completed work?