Create memory files to track important learnings, decisions, and system changes. Use when implementing major features, making architectural decisions, or learning important project patterns.
Track important learnings and decisions in .claude/memory/ files.
.claude/memory/
āāā research-first-enforcement.md # How research-first is enforced
āāā coding-standards.md # TypeScript, style, errors
āāā testing-standards.md # NO MOCKS, Bun, Playwright
āāā architecture-patterns.md # Tech stack, patterns
āāā common-workflows.md # DB migrations, API, 3D, git
āāā build-commands.md # Dev, build, test commands
āāā asset-forge-guide.md # Project specifics
āāā security-protocols.md # Auth, API security, secrets
All imported in CLAUDE.md at root.
# [Topic Name]
**Status**: [ACTIVE/DEPRECATED/IN-PROGRESS]
**Date**: [YYYY-MM-DD]
**Related**: [Other memory files, if any]
## Purpose
[Why this memory file exists - what problem does it solve?]
## Key Learnings
### 1. [Major Learning]
[Detailed explanation]
**Why it matters**: [Impact/importance]
### 2. [Major Learning]
[Detailed explanation]
**Example**:
\```[language]
[code example if applicable]
\```
## Implementation Details
[How this is actually implemented in the project]
**Files affected**:
- path/to/file1.ts
- path/to/file2.tsx
## Common Pitfalls
- ā [What NOT to do]
- ā [What NOT to do]
- ā
[What to DO instead]
## Examples
### Good Example
\```[language]
[code showing correct pattern]
\```
### Bad Example
\```[language]
[code showing incorrect pattern]
\```
## Related Commands/Skills
- `/command-name` - [What it does]
- `skill-name` - [What it does]
## Future Considerations
[Things to watch out for, potential improvements]
hyperscape-engine-integration.md
three-js-optimization-patterns.md
privy-auth-integration.md
drizzle-migration-workflow.md
api-testing-patterns.md
## [Section Name]
@.claude/memory/new-file-name.md
grep "new-file-name" CLAUDE.md
Memory files are for Claude, not users:
Documentation is for users:
Keep them separate.