Skip to content
Development
Command

/memory-spring-cleaning

Clean and organize project memory

From plugin
claude-command-suite
1.3k199 skills89 agents199 commands
Install
$ npx -y skills add qdhenry/Claude-Command-Suite --agent claude-code

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/memory-spring-cleaning

Context preview

What this command does when you run it.

Clean and organize project memory

Command definition

memory-spring-cleaning.md

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
  • Consolidate duplicate entries
  • Ensure information is in the most appropriate file
  • When information belongs to a specific subcomponent, ensure it's placed correctly:
  • UI-specific patterns → `apps/myproject-ui/CLAUDE.md`
  • API conventions → `apps/myproject-api/CLAUDE.md`
  • Infrastructure details → `cdk/CLAUDE.md` or `infrastructure/CLAUDE.md`

4. **Focus on Quality**

  • Prioritize clarity, accuracy, and relevance
  • Remove any information that no longer serves the project
  • Ensure each piece of information is in its most logical location

Credit

This command is based on the work of Thomas Landgraf: https://thomaslandgraf.substack.com/p/claude-codes-memory-working-with

Ships withclaude-command-suite

A comprehensive development toolkit designed following Anthropic's Claude Code Best Practices for AI-assisted software development.

Get the whole plugin