- Create stdio MCP server wrapping core memory functions (query, show, list, children, add, link) - Add CLAUDE.md with memory-querying instructions for Claude - Register MCP server in .mcp.json - Document MCP setup and tools in USAGE.md
1.1 KiB
1.1 KiB
Project Memory Guidelines
Before Making Changes
- Always query memory before modifying code or making architectural decisions: use
memory_queryto search for relevant context. - Use
memory_showto check existing context on a specific topic before acting. - Check for existing decisions, gotchas, and component info that may affect your changes.
After Making Changes
- Store new decisions as memory nodes (kind:
decision) when architectural choices are made. - Store gotchas as memory nodes (kind:
memory) when you discover non-obvious behavior. - Store component info (kind:
component) when creating or significantly modifying a module. - Tag nodes appropriately for future retrieval.
Memory Tools (MCP)
memory_query— search memory by textmemory_show— show a node by ID or prefixmemory_list— list nodes filtered by kind/status/tagsmemory_children— list children of a nodememory_add— add a new memory nodememory_link— create a relationship between nodes
Git Preferences
- Do not add
Co-Authored-Bylines to commits.