From update-claudemd
Analyzes recent git history and project structure to automatically update a project's CLAUDE.md file, preserving existing context and integrating new features, API changes, and configuration updates.
How this command is triggered — by the user, by Claude, or both
Slash command
/update-claudemd:update-claudemdFiles this command reads when invoked
This command is limited to the following tools:
The summary Claude sees in its command listing — used to decide when to auto-load this command
# Update Claude.md File ## Current Claude.md State @CLAUDE.md ## Git Analysis ### Current Repository Status !`git status --porcelain` ### Recent Changes (Last 10 commits) !`git log --oneline -10` ### Detailed Recent Changes !`git log --since="1 week ago" --pretty=format:"%h - %an, %ar : %s" --stat` ### Recent Diff Analysis !`git diff HEAD~5 --name-only | head -20` ### Detailed Diff of Key Changes !`git diff HEAD~5 -- "*.js" "*.ts" "*.jsx" "*.tsx" "*.py" "*.md" "*.json" | head -200` ### New Files Added !`git diff --name-status HEAD~10 | grep "^A" | head -15` ### Deleted Files !`git ...
@CLAUDE.md
!git status --porcelain
!git log --oneline -10
!git log --since="1 week ago" --pretty=format:"%h - %an, %ar : %s" --stat
!git diff HEAD~5 --name-only | head -20
!git diff HEAD~5 -- "*.js" "*.ts" "*.jsx" "*.tsx" "*.py" "*.md" "*.json" | head -200
!git diff --name-status HEAD~10 | grep "^A" | head -15
!git diff --name-status HEAD~10 | grep "^D" | head -10
!git diff --name-status HEAD~10 | grep "^M" | grep -E "(package\.json|README|config|main|index|app)" | head -10
!find . -name "*.md" -not -path "./node_modules/*" -not -path "./.git/*" | head -10
!git diff HEAD~10 -- package.json tsconfig.json webpack.config.js next.config.js .env* docker* | head -100
!git diff HEAD~10 -- "**/routes/**" "**/api/**" "**/controllers/**" | head -150
!git diff HEAD~10 -- "**/models/**" "**/schemas/**" "**/migrations/**" | head -100
Based on the current CLAUDE.md content and all the git analysis above, create an updated CLAUDE.md file that:
Analyze the git diff and logs to identify:
Intelligently update these CLAUDE.md sections:
Add a "Recent Updates" section with:
Provide the complete updated CLAUDE.md content, organized as:
# Project Name
## Overview
[Updated project description]
## Architecture
[Updated architecture information]
## Setup & Installation
[Updated setup instructions]
## Development Workflow
[Updated development processes]
## API Documentation
[Updated API information]
## File Structure
[Updated directory explanations]
## Recent Updates (Updated: YYYY-MM-DD)
[Summary of recent changes]
## Important Notes
[Key information for developers]
7plugins reuse this command
First indexed Jan 1, 2026
Showing the 6 earliest of 7 plugins
npx claudepluginhub juliusbrussee/awesome-claude-code-plugins --plugin update-claudemd/update-claudemdAnalyzes recent git history and project structure to automatically update a project's CLAUDE.md file, preserving existing context and integrating new features, API changes, and configuration updates.
/update-claudeUpdates CLAUDE.md to reflect major codebase changes — project structure, architecture, conventions, and development workflow.
/update-claude-mdUpdates CLAUDE.md files with conventions, gotchas, and team preferences from staged git changes. Auto-detects paths or accepts optional [path].
/syncDetects files changed outside Claude Code via git and triggers an incremental update of the active memory file (CLAUDE.md) with change summaries.
/revise-claude-mdReflects on the current session, identifies missing context, and updates CLAUDE.md with concise learnings to improve future sessions. Shows proposed changes as diffs and applies with approval.
/update-claudemdAnalyzes recent git history and project structure to automatically update a project's CLAUDE.md file, preserving existing context and integrating new features, API changes, and configuration updates.