This skill should be used when starting work on a project for the first time, when the user asks about project architecture, tech stack, known issues, or active work, or when switching between projects. It maintains per-project state files that persist across sessions.
Track per-project state that persists across sessions. Architecture decisions, tech stack, known issues, active work, and technical debt.
Every time you open a project in a new session, you re-discover the same things: what framework it uses, what the architecture looks like, what issues are known. Project memory eliminates this cold-start problem.
~/.claude/memory/projects/<project-slug>.md
The project slug is derived from:
github.com/sahilbnsll/lumacv → sahilbnsll-lumacv/Users/sahil/Desktop/Projects/lumacv → lumacvCreate a new project memory file on first interaction with a project. Do not ask — just do it.
Detection: if ~/.claude/memory/projects/<slug>.md does not exist and you are working in a project directory, create it.
Every project memory file follows this exact structure:
# <Project Name>
Path: /absolute/path/to/project
Remote: [email protected]:user/repo.git
Created: YYYY-MM-DD
Last updated: YYYY-MM-DD
## Tech Stack
- Runtime: Node.js 20 / Python 3.11 / etc.
- Framework: Next.js 14 / FastAPI / etc.
- Database: PostgreSQL / Supabase / etc.
- Key deps: Prisma, Tailwind, etc.
## Architecture
Brief description of the project structure. Key modules, layers, entry points.
- src/app/ — Next.js App Router pages
- src/lib/ — shared utilities
- src/components/ — React components
## Active Work
What is currently being worked on. Updated each session.
- [branch-name]: description of what's being done
## Known Issues
Bugs, quirks, and gotchas discovered during work.
- Auth redirect fails on Vercel preview deploys (workaround: use NEXT_PUBLIC_URL)
- Rate limiting on Gemini API causes 429s under load
## Technical Debt
Things that should be fixed but aren't urgent.
- schema.ts has duplicate type definitions
- No error boundary on the resume preview page
## Key Decisions
Architectural and design decisions with rationale.
- 2026-04-04: Switched from single-entry to array-based resume schema for flexibility
- 2026-04-06: Added multi-provider AI failover (Gemini → OpenRouter → fallback)
Last updated timestamp on every modification.When starting work on a recognized project:
## Tech Stack and ## Active Work sections inline (small, high-value).## Architecture, ## Known Issues, ## Key Decisions — read on demand.## Known Issues has entries relevant to current work, surface them proactively.recent.md via memory-manager, also add it to the project's ## Key Decisions.## Known Issues first — the fix may already be documented.## Active Work from the project memory.Users may switch between projects in a session. When the working directory changes:
recent.md: ### YYYY-MM-DD HH:MM [context] Switched to project <slug>.