From commands-team-collaboration
Identifies key learnings from the session (new project info, corrections, code struggles) and updates CLAUDE.md or CLAUDE.local.md files with relevant details.
How this command is triggered — by the user, by Claude, or both
Slash command
/commands-team-collaboration:session-learning-captureThis command is limited to the following tools:
The summary Claude sees in its command listing — used to decide when to auto-load this command
# Session Learning Capture
Capture and document session learnings
## Instructions
1. **Identify Session Learnings**
- Review if during your session:
- You learned something new about the project
- I corrected you on a specific implementation detail
- I corrected source code you generated
- You struggled to find specific information and had to infer details about the project
- You lost track of the project structure and had to look up information in the source code
2. **Determine Appropriate File**
- Choose the right file for the information:
- `CLAUDE...Capture and document session learnings
Identify Session Learnings
Determine Appropriate File
CLAUDE.md for shared context that should be version controlledCLAUDE.local.md for private notes and developer-specific settingsCLAUDE.md for component-specific informationMemory File Types Summary
CLAUDE.md):
CLAUDE.local.md):
CLAUDE.mdCLAUDE.md files in child folders are loaded only when editing files in those subfolders~/.claude/CLAUDE.md):
Update Memory Files
apps/[project]-ui/CLAUDE.mdapps/[project]-api/CLAUDE.mdcdk/CLAUDE.md or infrastructure/CLAUDE.mdThis command is based on the work of Thomas Landgraf: https://thomaslandgraf.substack.com/p/claude-codes-memory-working-with
npx claudepluginhub davepoon/buildwithclaude --plugin commands-team-collaboration/session-learning-captureIdentifies key learnings from the session (new project info, corrections, code struggles) and updates CLAUDE.md or CLAUDE.local.md files with relevant details.
/memory-bankAnalyzes current session for decisions, problems solved, patterns, commands, and dependencies, then updates project's CLAUDE.md memory bank with categorized, merged entries.
/save-session-learningsGathers session learnings from git history and conversation, categorizes into architecture/patterns/gotchas/commands/decisions, checks for duplicates, and appends to CLAUDE.md and AGENTS.md.
/learnReflects on conversation for key project-specific takeaways on a given focus and appends them to the specified output file.
/memorySaves valuable session insights — decisions, patterns, gotchas — to a daily markdown file in `.claude/storage/`. Accepts optional context string.
/revise-claude-mdReflects on session learnings, finds CLAUDE.md files, proposes concise updates as diffs, and applies user-approved changes.