Skip to content
Development
Command

/update-codemaps

Analyze the codebase structure and update architecture documentation:

From plugin
claude-forge
80038 skills12 agents38 commands8 hooks
+1
Install
> /plugin marketplace add sangrokjung/claude-forge
> /plugin install claude-forge@claude-forge

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/update-codemaps

Context preview

What this command does when you run it.

Analyze the codebase structure and update architecture documentation:

Command definition

update-codemaps.md

Update Codemaps

Analyze the codebase structure and update architecture documentation:

1. Scan all source files for imports, exports, and dependencies 2. Generate token-lean codemaps in the following format:

  • codemaps/architecture.md - Overall architecture
  • codemaps/backend.md - Backend structure
  • codemaps/frontend.md - Frontend structure
  • codemaps/data.md - Data models and schemas

3. Calculate diff percentage from previous version 4. If changes > 30%, request user approval before updating 5. Add freshness timestamp to each codemap 6. Save reports to .reports/codemap-diff.txt

Use TypeScript/Node.js for analysis. Focus on high-level structure, not implementation details.

Ships withclaude-forge

Supercharge Claude Code with 11 AI agents, 36 commands & 15 skills — the claude-code plugin framework inspired by oh-my-zsh. 6-layer security hooks included. 5-min install.

Get the whole plugin