What problem does it solve?
CLAUDE memory systems are essential for maintaining context across Claude Code sessions. This skill provides a structured approach to creating and optimizing CLAUDE.md memory files or the modular .claude/rules/ directories, enabling consistent guidance, faster onboarding, and improved context awareness for projects of all sizes.
Core Features & Use Cases
- Guidance on building single-file CLAUDE.md memories (CLAUDE.md) for small projects.
- Guidance on modular memory rules using the
.claude/rules/ directory for larger projects.
- Best practices for file hierarchy, content structure, path-scoped rules, formatting, emphasis techniques, and anti-patterns to avoid.
- Use Case: Onboard a new Claude Code project by generating a clear memory blueprint, then iteratively refine rules as the project evolves.
Quick Start
Start by running /init in Claude Code to auto-generate a CLAUDE.md with project memory, or create manually at project root:
- Place a CLAUDE.md with sections (What/Why/How) and commands, then add a minimal
.claude/rules/ directory for modular needs as projects grow.