Claude-skill-registry-data memory-system
Automatic documentation memory system for AI agents. Ensures context is loaded at session start and documentation is updated after changes.
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-system" ~/.claude/skills/majiayu000-claude-skill-registry-data-memory-system && rm -rf "$T"
manifest:
data/memory-system/SKILL.mdsource content
Memory System Skill
This skill implements an automatic "memory palace" for Claude Code by ensuring:
- Context is loaded at session start
- Documentation is checked before relevant tasks
- Documentation is updated after completing work
Quick Reference Map
Before starting any task, check these files based on the work type:
| Task Type | Check First | Update After |
|---|---|---|
| Backend API | , | Same files |
| Frontend | , | Same files |
| Database | , | Same files |
| Auth | , | Same files |
| Deployment | | Same files |
| New Feature | , | Create new docs if needed |
| Bug Fix | | Update if common issue |
Documentation Update Triggers
ALWAYS Update Documentation When:
-
API Changes
- Adding/modifying/removing endpoints
- Changing request/response schemas
- Update:
docs/reference/api/endpoints.md
-
Environment Variables
- Adding new env vars
- Update:
,docs/reference/configuration/environment.md.env.example
-
Database Schema
- Running migrations
- Update:
docs/reference/database/schema.md
-
Architecture Changes
- Modifying system structure
- Update:
docs/reference/architecture/system-overview.md
-
New Patterns
- Establishing new code patterns
- Update: Relevant
fileCLAUDE.md
Pre-Task Checklist (Mental Model)
Before starting significant work, mentally run through:
□ Have I read the relevant CLAUDE.md? □ Do I know where to find related documentation? □ Will this change require doc updates? □ Is there existing documentation I should follow?
Post-Task Checklist
After completing work:
□ Did I change any API endpoints? → Update endpoints.md □ Did I add environment variables? → Update environment.md □ Did I change database schema? → Update schema.md □ Did I establish new patterns? → Update CLAUDE.md □ Did I fix a common issue? → Consider adding to troubleshooting
Documentation Links Index
Essential Context (Read These First)
- Project overview, quick commandsCLAUDE.local.md
- Backend context (optimized)quikadmin/CLAUDE.md
- Frontend contextquikadmin-web/CLAUDE.md
Reference (Look Up When Needed)
- API documentationdocs/reference/api/endpoints.md
- System designdocs/reference/architecture/system-overview.md
- Database modelsdocs/reference/database/schema.md
- All env varsdocs/reference/configuration/environment.md
How-To (Problem-Solving)
- Setup guidedocs/how-to/development/local-setup.md
- Testing guidedocs/how-to/development/testing.md
- Common issuesdocs/how-to/troubleshooting/
Understanding (Background)
- Auth architecturedocs/explanation/security-model.md
- Data pipelinedocs/explanation/data-flow.md
- Why decisions were madedocs/explanation/architecture-decisions.md
Meta-Prompt: Self-Reminder
When working on this project, I should:
- Before starting: Check if there's existing documentation for what I'm about to do
- During work: Note what documentation might need updating
- After completing: Update relevant documentation before marking task done
- When unsure: Check
for documentation locationsdocs/.meta/inventory.json
Invocation
This skill is designed to be automatically loaded. When you need documentation guidance:
/memory-system
Or ask:
- "What documentation should I check for [task]?"
- "What should I update after [change]?"