From all-commands
Reviews all CLAUDE.md and CLAUDE.local.md files in the project: verifies content against codebase, removes obsolete/duplicate info, consolidates, and relocates to appropriate hierarchy locations.
How this command is triggered — by the user, by Claude, or both
Slash command
/all-commands:memory-spring-cleaningThe summary Claude sees in its command listing — used to decide when to auto-load this command
# Memory Spring Cleaning
Clean and organize project memory
## Instructions
1. **Get Overview**
- List all CLAUDE.md and CLAUDE.local.md files in the project hierarchy
2. **Iterative Review**
- Process each file systematically, starting with the root `CLAUDE.md` file
- Load the current content
- Compare documented patterns against actual implementation
- Identify outdated, incorrect, or missing information
3. **Update and Refactor**
- For each memory file:
- Verify all technical claims against the current codebase
- Remove obsolete information
- Consolid...Clean and organize project memory
Get Overview
Iterative Review
CLAUDE.md fileUpdate and Refactor
apps/myproject-ui/CLAUDE.mdapps/myproject-api/CLAUDE.mdcdk/CLAUDE.md or infrastructure/CLAUDE.mdFocus on Quality
This command is based on the work of Thomas Landgraf: https://thomaslandgraf.substack.com/p/claude-codes-memory-working-with
npx claudepluginhub davepoon/buildwithclaude --plugin all-commands/memory-spring-cleaningReviews all CLAUDE.md and CLAUDE.local.md files in the project: verifies content against codebase, removes obsolete/duplicate info, consolidates, and relocates to appropriate hierarchy locations.
/memory-bankAnalyzes current session for decisions, problems solved, patterns, commands, and dependencies, then updates project's CLAUDE.md memory bank with categorized, merged entries.
/sync-claude-mdWalks every CLAUDE.md, prunes stale references, enforces 150-line cap by splitting into sub-files, and repairs root↔subdirectory links. Supports --weekly for periodic audit.
/update-claudeUpdates CLAUDE.md or .claude/CLAUDE.md to reflect major codebase changes, covering project overview, structure, architecture, conventions, notes, and workflow.
/calibrateRecalibrates all CLAUDE.md memory files: analyzes tracked source files, updates auto-managed sections while preserving manual content, and reports update summary.
/create-mdAnalyzes project structure and generates CLAUDE.md files in root and key subdirectories with overview, setup/run commands, code styles, workflows, and conventions.