# Update Codemaps

> Analyze codebase structure and update architecture documentation (codemaps/). Use when documenting architecture, onboarding, or after major refactors.

- Skill: `ihj04982/update-codemaps` (Agent Skill)
- Install (CLI): `npx skillmds@latest add ihj04982/update-codemaps`
- Raw SKILL.md: https://api.skillmd.com/api/skills/ihj04982/update-codemaps/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Docs & Writing
- Author: ihj04982 (https://skillmd.com/u/ihj04982)
- Updated: 2026-09-10
- Page: https://skillmd.com/skills/ihj04982/update-codemaps

---


# 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.

