Claude-code-customes update-codemaps

Analyzes codebase structure and updates architecture documentation with diff tracking

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-codemaps" ~/.claude/skills/sc30gsw-claude-code-customes-update-codemaps && rm -rf "$T"
manifest: .claude/skills/update-codemaps/SKILL.md
source content

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.