
update-claudemd
Command that refreshes CLAUDE.md from recent code changes so project notes stay current.
- version
- 1.0.0
- GitHub stars
- 689
What it does
- Adds the
/update-claudemdcommand, which rewrites CLAUDE.md based on recent changes to the codebase - Keeps your project's CLAUDE.md aligned with recent code changes without manual editing
Automatically update CLAUDE.md file based on recent code changes
Add marketplace
/plugin marketplace add ananddtyagi/cc-marketplaceRun it inside Claude Code once, then install the plugin below.
Install
/plugin install update-claudemd@cc-marketplaceRun it inside Claude Code after adding the marketplace.
Files
Discovered from sourceUpdate 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 diff --name-status HEAD~10 | grep "^D" | head -10
Modified Core Files
!git diff --name-status HEAD~10 | grep "^M" | grep -E "(package\.json|README|config|main|index|app)" | head -10
Project Structure Changes
!find . -name "*.md" -not -path "./node_modules/*" -not -path "./.git/*" | head -10
Configuration Changes
!git diff HEAD~10 -- package.json tsconfig.json webpack.config.js next.config.js .env* docker* | head -100
API/Route Changes
!git diff HEAD~10 -- "**/routes/**" "**/api/**" "**/controllers/**" | head -150
Database/Model Changes
!git diff HEAD~10 -- "**/models/**" "**/schemas/**" "**/migrations/**" | head -100
Your Task
Based on the current CLAUDE.md content and all the git analysis above, create an updated CLAUDE.md file that:
1. Preserves Important Existing Content
- Keep the core project description and architecture
- Maintain important setup instructions
- Preserve key architectural decisions and patterns
- Keep essential development workflow information
2. Integrates Recent Changes
Analyze the git diff and logs to identify:
- New Features: What new functionality was added?
- API Changes: New endpoints, modified routes, updated parameters
- Configuration Updates: Changes to build tools, dependencies, environment variables
- File Structure Changes: New directories, moved files, deleted components
- Database Changes: New models, schema updates, migrations
- Bug Fixes: Important fixes that affect how the system works
- Refactoring: Significant code reorganization or architectural changes
3. Updates Key Sections
Intelligently update these CLAUDE.md sections:
Project Overview
- Update description if scope changed
- Note new technologies or frameworks added
- Update version information
Architecture
- Document new architectural patterns
- Note significant structural changes
- Update component relationships
Setup Instructions
- Add new environment variables
- Update installation steps if dependencies changed
- Note new configuration requirements
API Documentation
- Add new endpoints discovered in routes
- Update existing endpoint documentation
- Note authentication or parameter changes
Development Workflow
- Update based on new scripts in package.json
- Note new development tools or processes
- Update testing procedures if changed
Recent Changes Section
Add a "Recent Updates" section with:
- Summary of major changes from git analysis
- New features and their impact
- Important bug fixes
- Breaking changes developers should know about
File Structure
- Update directory explanations for new folders
- Note relocated or reorganized files
- Document new important files
4. Smart Content Management
- Don't duplicate: Avoid repeating information already well-documented
- Prioritize relevance: Focus on changes that affect how developers work with the code
- Keep it concise: Summarize rather than listing every small change
- Maintain structure: Follow existing CLAUDE.md organization
- Add timestamps: Note when major updates were made
5. Output Format
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]
From the ananddtyagi/cc-marketplace README
Claude Code Marketplace
Community-driven marketplace for Claude Code commands and plugins.
🚀 Quick Start
Add this marketplace to Claude Code:
/plugin marketplace add ananddtyagi/cc-marketplace
Then browse and install individual plugins (commands or agents):
/plugin
Install a specific command:
/plugin install lyra@cc-marketplace
Install a specific agent:
/plugin install accessibility-expert@cc-marketplace
🌟 Featured Commands
- Documentation Generator - Create comprehensive documentation for code, APIs, and projects. (by Anonymous)
- Lyra - Lyra - a master-level AI prompt optimization specialist. (by @ananddtyagi)
- Analyze Codebase - Generate comprehensive analysis and documentation of entire codebase (by @ananddtyagi)
- Update Claude.md - Automatically update CLAUDE.md file based on recent code changes (by @ananddtyagi)
- Ultrathink - Use /ultrathink <TASK_DESCRIPTION> to launch a Coordinator Agent that directs four specialist sub-agents—Architect, Research, Coder, and Tester—to analyze, design, implement, and validate your coding task. The process breaks the task into clear steps, gathers insights, and synthesizes a cohesive solution with actionable outputs. Relevant files can be referenced ad-hoc using @ filename syntax. (by Jeronim Morina)
- Code Review - Perform a comprehensive code review of recent changes (by @ananddtyagi)
- Refractor - Refactor code following best practices and design patterns (by @ananddtyagi)
- Code Review Assistant - Get comprehensive code reviews with suggestions for improvements, best practices, and potential issues. (by Anonymous)
- Bug Detective - Systematically debug issues with step-by-step troubleshooting approaches. (by Anonymous)
- Audit - Perform security audit on codebase (by @ananddtyagi)
🤖 Featured Agents
- Accessibility Expert - Specialized agent for accessibility reviews and improvements
- AI Engineer - Expert in AI/ML implementation and optimization
- Frontend Developer - React, Vue, Angular expert for UI development
- DevOps Automator - CI/CD and infrastructure automation specialist
- Code Reviewer - Thorough code review and best practices enforcement
💡 Browse & Submit
Visit claudecodecommands.directory to:
- 🔍 Browse all commands and agents with descriptions and examples
- 📤 Submit your own commands and agents
- ⭐ Favorite plugins
- 🏷️ Filter by category and tags
🎯 How It Works
Each plugin in this marketplace is independently installable:
- Commands: Add custom slash commands to your Claude Code workflow (e.g.,
/lyra,/audit,/ultrathink) - Agents: Add specialized AI agents with specific expertise (e.g., accessibility-expert, frontend-developer, devops-automator)
Install only what you need - no bloat, full granular control!
🔄 Auto-Sync
This marketplace is automatically synced from the live database whenever commands are published or updated.
📝 License
Individual commands may have their own licenses. See each command file for details.
🤝 Contributing
Submit commands at claudecodecommands.directory/submit Submit agents at claudecodecommands.directory/submit-agent
Built with ❤️ by the Claude Code community
Details
- Marketplace
- ananddtyagi/cc-marketplace
- Source
- plugins/update-claudemd
- Author
- Anand Tyagi
- Category
- Code Review
- Keywords
- code-review
- Listed since
- Apr 7, 2026
More from ananddtyagi/cc-marketplace
All 119- ux-researcherv1.0.0
- vision-specialistv1.0.0
- visual-storytellerv1.0.0
- web-devv1.0.0
- whimsy-injectorv1.0.0
- workflow-optimizerv1.0.0
- 2-commit-fastv1.0.0
- accessibility-expertv1.0.0
- ai-engineerv1.0.0
- ai-ethics-governance-specialistv1.0.0
- analytics-reporterv1.0.0
- analyze-codebasev1.0.0
- analyze-issuev1.0.0
- angelos-symbov1.0.0
- api-contract-sync-managerv1.0.0
- api-integration-specialistv1.0.0
- api-testerv1.0.0
- app-store-optimizerv1.0.0
- auditv1.0.0
- b2b-project-shipperv1.0.0
- backend-architectv1.0.0
- brand-guardianv1.0.0
- bug-detectivev1.0.0
- bug-fixv1.0.0
Similar to update-claudemd
More Technical Documentation
code-reviewPluginananddtyagi/cc-marketplace689 starsPerform a comprehensive code review of recent changes
claude-md-improverSkillanthropics/claude-plugins-official15K installsAudit and improve CLAUDE.md files by scoring them against quality criteria, then propose targeted updates after approval.
ed3d-hook-claudemd-reminderPlugined3dai/ed3d-plugins253 starsA PostToolUse hook that reminds to invoke project-claude-librarian before committing when git status or git log reveals changes that may warrant CLAUDE.md updat
claude-md-managementPluginanthropics/claude-plugins-official47.9K starsTools to maintain and improve CLAUDE.md files - audit quality, capture session learnings, and keep project memory current.
review-claudemdSkillykdojo/claude-code-tips239 installsStructured review of recent conversation history to improve global and project CLAUDE.md files.
tech-stackPluginNeoLabHQ/context-engineering-kit1.8K starsCommands for setup or update of CLAUDE.md file with best practices for specific language or framework.