agentskills.codes
UP

update-codemaps

扫描代码结构并更新架构文档映射

Install

mkdir -p .claude/skills/update-codemaps-chenqin231 && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/13777" && unzip -o skill.zip -d .claude/skills/update-codemaps-chenqin231 && rm skill.zip

Installs to .claude/skills/update-codemaps-chenqin231

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

扫描代码结构并更新架构文档映射
15 charsno explicit “when” trigger

About this skill

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.

Search skills

Search the agent skills registry