Deeply Understand (codemap) — 持久化代码图谱 + 变更影响分析 + 理解地图。接手遗留项目 Day-1 / PR 影响分析 / 解释陌生代码 / PRD·ADR 前现状理解时用。编排 tools/codemap/ 的 codemap CLI
npx skills add https://github.com/pcliangx/AppGenesisForge --skill agf-code-map
ADR-021 Deeply Understand 代码理解引擎的 AGF 入口。Python 原生(tools/codemap/),SQLite 持久图谱 + tree-sitter 多语言 + 反向 BFS 影响分析 + 静态 HTML dashboard。替换 agf-understand(M8 验证后删 agf-understand.js)。
codemap build + onboard + dashboardcodemap diff(→ code-reviewer 审查清单)codemap explaincodemap understand(接管 agf-understand 的理解地图)uv run codemap <subcmd>)build [path] — 全量建图 → .agf/code-map.dbupdate — 增量(git diff + 双指纹)diff [--base <ref>] [--hop N] — 变更影响分析(反向 import BFS + 风险评分)explain <target> — 节点深度解释(邻居 + 源码片段)onboard — 项目概览 + 复杂度热点 + 高扇入understand [topic] — 理解地图(目录子系统 + 核心依赖 + 风险点)context "<query>" — 相关子图(给 agent 注入)search "<query>" — 检索(默认 FTS5 关键词;跑过 embed 后自动启用 semantic 余弦,三态降级)embed — 生成节点 embedding 存 .agf/code-map.db(需 uv sync --extra semantic;jina-code-v2,首次下载 ~90MB + torch;未装/未跑则 search 自动降级 FTS,功能不中断)dashboard [--out <path>] — 静态 HTML 图(cytoscape,浏览器 open)首发 7 语言:Python / TS / JS / SQL / YAML / JSON / Java(04 设计)。Swift/WXML 诚实缺口(04 §6)。
docs/specs/ / docs/adr/ / docs/design/DESIGN.md / OpenAPI 契约.agf/* gitignored(派生缓存,可重建);消费层报告落 docs/reviews/Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).
Automatically creates user-facing changelogs from git commits by analyzing commit history, categorizing changes, and transforming technical commits into clear, customer-friendly release notes. Turns hours of manual changelog writing into minutes of automated generation.
Use when implementation is complete, all tests pass, and you need to decide how to integrate the work - guides completion of development work by presenting structured options for merge, PR, or cleanup
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).
React Native and Expo best practices for building performant mobile apps. Use when building React Native components, optimizing list performance, implementing animations, or working with native modules. Triggers on tasks involving React Native, Expo, mobile performance, or native platform APIs.
React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.
Next.js best practices - file conventions, RSC boundaries, data patterns, async APIs, metadata, error handling, route handlers, image/font optimization, bundling
Use when starting feature work that needs isolation from current workspace or before executing implementation plans - creates isolated git worktrees with smart directory selection and safety verification
Take pcliangx/agf-code-map from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.