From update-claudemd
Analyzes recent git changes across files, configs, APIs, and DB, then generates updated CLAUDE.md preserving core content while documenting new features and updates.
npx claudepluginhub ccplugins/awesome-claude-code-plugins --plugin update-claudemd# 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 ...
/update-claudemdAnalyzes recent git changes across files, configs, APIs, and DB, then generates updated CLAUDE.md preserving core content while documenting new features and updates.
/update-claudeUpdates CLAUDE.md (or .claude/CLAUDE.md) to reflect major codebase changes like structure, architecture, patterns, conventions, and workflow.
/update-claude-mdUpdates CLAUDE.md files with conventions, gotchas, and team preferences from staged git changes. Auto-detects paths or accepts optional [path].
/syncSyncs CLAUDE.md incrementally with manual file changes detected by git. Filters .claude/ and memory files, writes dirty-files list, spawns memory-updater agent.
/sync-docsSynchronizes documentation files (prompt_plan.md, spec.md, CLAUDE.md, rules/) with recent code changes from git diff analysis. Supports --check-only mode.
/magic-docUpdates a specified or auto-detected documentation file by reading content, verifying claims against codebase with git/grep, rewriting to match current state, and showing diff for approval.
Share bugs, ideas, or general feedback.
@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]