Skills for Real Engineers. Straight from my .agents directory.
understand-diff
Agent skill fromEgonex-AI/Understand-Anything
Use when you need to analyze git diffs or pull requests to understand what changed, affected components, and risks
How to install understand-diff
npx skills add Egonex-AI/Understand-Anything# or add only this skill to Claude Code: copy the folder
understand-anything-plugin/skills/understand-diff/
# into
~/.claude/skills/understand-diff/ (all projects)
.claude/skills/understand-diff/ (one project)
1# /understand-diff23Analyze the current code changes against the knowledge graph in the project's data directory (`.ua/knowledge-graph.json`, or the legacy `.understand-anything/knowledge-graph.json` when that directory is present).45## Graph Structure Reference67The knowledge graph JSON has this structure:8- `project` — {name, description, languages, frameworks, analyzedAt, gitCommitHash}9- `nodes[]` — each has {id, type, name, filePath?, summary, tags[], complexity, languageNotes?}10 - Code node types: file, function, class, module, concept11 - Non-code node types: config, document, service, table, endpoint, pipeline, schema, resource12 - Domain/knowledge node types: domain, flow, step, article, entity, topic, claim, source13 - IDs use the node type as prefix, e.g. `file:path`, `function:path:name`, `config:path`, `article:path`14- `edges[]` — each has {source, target, type, direction, weight}15 - Key types: imports, contains, calls, depends_on, configures, documents, deploys, triggers, contains_flow, flow_step, related, cites16- `layers[]` — each has {id, name, description, nodeIds[]}17- `tour[]` — each has {order, title, description, nodeIds[]}1819## How to Read Efficiently20211. Use Grep to search within the JSON for relevant entries BEFORE reading the full file222. Only read sections you need — don't dump the entire graph into context233. Node names and summaries are the most useful fields for understanding24…
Excerpt shown under the repository's MIT license.
More skills in Understand-Anything
Similar skill repositories
An agentic skills framework & software development methodology that works.
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
Public repository for Agent Skills
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
An AI skill that provides design intelligence for building professional UI/UX across multiple platforms.
