Claude-code-customes update-claude-md
Intelligent command for automatically generating and updating project-specific CLAUDE.md (Serena + Sequential Thinking integration)
install
source · Clone the upstream repo
git clone https://github.com/sc30gsw/claude-code-customes
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/sc30gsw/claude-code-customes "$T" && mkdir -p ~/.claude/skills && cp -r "$T/.claude/skills/update-claude-md" ~/.claude/skills/sc30gsw-claude-code-customes-update-claude-md && rm -rf "$T"
manifest:
.claude/skills/update-claude-md/SKILL.mdsource content
Update CLAUDE.md
Automatically generate and update project-specific CLAUDE.md with intelligent analysis.
Quick Reference
/update-claude-md # Basic update with auto-detection /update-claude-md --auto --backup # Auto-detection + backup /update-claude-md --files README.md COMMANDS.md # Specific files /update-claude-md --preview # Preview only /update-claude-md --template kiro # Use Kiro template
Options
| Option | Short | Description | Default |
|---|---|---|---|
| | Specify files | Auto-detect |
| | Auto-detect MD files | true |
| | Backup existing CLAUDE.md | false |
| | Show preview before update | false |
| | Include docs directory | false |
| | Analyze project structure | false |
| | Specify template | auto |
| | Merge with existing content | false |
| | Output filename | CLAUDE.md |
Tool Priorities
ALWAYS prioritize mcp__serena__ for codebase analysis and mcp__sequential-thinking__ for complex reasoning:
Primary Analysis Engine (Serena MCP)
- Project Structure: Use
mcp__serena__list_dir - File Discovery: Use
mcp__serena__find_file - Content Analysis: Use
mcp__serena__search_for_pattern - Memory Integration: Use
/mcp__serena__write_memoryread_memory
Strategic Thinking Engine (Sequential Thinking MCP)
- Use
for CLAUDE.md structure planningmcp__sequential-thinking__sequentialthinking - Integration strategy for merging document sources
Available Templates
Kiro Template (--template kiro
)
--template kiro- Steering vs Specification explanation
- Phase-based workflow
- Kiro command integration
Standard Template (--template standard
)
--template standard- Project overview and context
- Development guidelines
- Available commands and agents
Minimal Template (--template minimal
)
--template minimal- Basic project information only
- Minimal framework references
Workflow
- Project Analysis: Serena MCP analyzes project structure
- Content Integration: Sequential Thinking plans merge strategy
- CLAUDE.md Generation: Framework integration + project context
- Quality Assurance: Validation of generated content
Generated Structure
# What I want you to do [User-specific instructions] # Framework Components @FLAGS.md @PRINCIPLES.md @RULES.md # MCP Documentation @MCP_Context7.md @MCP_Playwright.md @MCP_Sequential.md @MCP_Serena.md # [Project Name] [Auto-generated project description] ## Project Context [Auto-detected sections] ## Development Guidelines [Project-specific guidelines]
Success Metrics
- ✅ Complete framework integration
- ✅ Accurate project-specific information
- ✅ Information integration from existing documents
- ✅ Adaptability to future updates