Skip to content

Instantly share code, notes, and snippets.

@jgoulah
Last active December 9, 2025 00:32
Show Gist options
  • Select an option

  • Save jgoulah/7c39a0c7642f89d41bd9c61969defc8b to your computer and use it in GitHub Desktop.

Select an option

Save jgoulah/7c39a0c7642f89d41bd9c61969defc8b to your computer and use it in GitHub Desktop.
MEMORY.md

Claude Code Memory Management

When Starting/Working on a Project

0. Memory Storage

Write memories using Claude's memory tools (not to MEMORY.md manually)

1. Development Workflow Memory

Prompt: "Write a memory about my development workflow for this project"

This should capture:

  • How we sync/deploy code (e.g., rsync, docker, deploy scripts)
  • Where the code runs (e.g., host:port, container name)
  • Testing approach (unit tests, integration tests, manual testing)
  • Build/compile steps if any

2. Project Structure Memory

Prompt: "Write a memory documenting this project's architecture and key files"

This should capture:

  • Important directories and what they contain
  • Key files and their purposes
  • Component relationships
  • Where to find specific functionality

3. Current Work Memory (update frequently)

Prompt: "Write/update a memory about what I'm currently working on"

This should capture:

  • Current branch
  • Active feature/bugfix
  • Known issues or blockers
  • Next steps

When Resuming a Session

Prompt: "List and read all memories for this project"

This loads all stored context immediately.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment