name: memory-system description: Automatic documentation memory system for AI agents. Ensures context is loaded at session start and documentation is updated after changes. autoload: true
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 | quikadmin/CLAUDE.md, docs/reference/api/endpoints.md |
Same files |
| Frontend | quikadmin-web/CLAUDE.md, docs/reference/ |
Same files |
| Database | prisma/schema.prisma, docs/reference/database/schema.md |
Same files |
| Auth | docs/explanation/security-model.md, .claude/skills/auth-flow/ |
Same files |
| Deployment | docs/how-to/deployment/ |
Same files |
| New Feature | docs/tutorials/, docs/how-to/ |
Create new docs if needed |
| Bug Fix | docs/how-to/troubleshooting/ |
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
CLAUDE.mdfile
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)
-
CLAUDE.local.md- Project overview, quick commands -
quikadmin/CLAUDE.md- Backend context (optimized) -
quikadmin-web/CLAUDE.md- Frontend context
Reference (Look Up When Needed)
-
docs/reference/api/endpoints.md- API documentation -
docs/reference/architecture/system-overview.md- System design -
docs/reference/database/schema.md- Database models -
docs/reference/configuration/environment.md- All env vars
How-To (Problem-Solving)
-
docs/how-to/development/local-setup.md- Setup guide -
docs/how-to/development/testing.md- Testing guide -
docs/how-to/troubleshooting/- Common issues
Understanding (Background)
-
docs/explanation/security-model.md- Auth architecture -
docs/explanation/data-flow.md- Data pipeline -
docs/explanation/architecture-decisions.md- Why decisions were made
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
docs/.meta/inventory.jsonfor documentation locations
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]?"
chat Comments (0)
Sign in to join the discussion and leave a comment.
Skill Details
GitHub Stars
1
GitHub Forks
0
Created
Jan 2026
Last Updated
4 months ago
tools
tools productivity tools
Related Skills
Build your own?
Join 12,000+ developers contributing to the Claude ecosystem.
No comments yet. Be the first to share your thoughts!