From kitty
Impact analysis and refactoring planning with Cartographing Kittens' dependency graph. Use when the user asks "what depends on X", "what breaks if I change Y", "blast radius", "impact analysis", "who imports this", "who calls this", "what does X depend on", "dependency tree", or is planning a refactor, rename, or deletion. Use find_dependents for blast radius and find_dependencies for understanding what a symbol needs.
How this skill is triggered — by the user, by Claude, or both
Slash command
/kitty:kitty-impactThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Assess the blast radius of changes and understand dependency chains using
Assess the blast radius of changes and understand dependency chains using Cartographing Kittens' transitive graph traversal.
The orchestrator pre-computes the full impact context, then dispatches the
librarian-kitten-impact agent with the assembled subgraph context. Agents CANNOT
call MCP tools — the orchestrator gathers all data.
index_codebase(full=false) to ensure the graph is freshannotation_status() — check coverage percentage
kitty:annotate first."Identify the target — Call query_node(name="TargetSymbol") to confirm the right
node and capture its metadata, neighbors, and edge kinds.
Assess blast radius — Call find_dependents(name="TargetSymbol", max_depth=4) for
the transitive blast radius. Pay attention to:
depth: 1 = direct dependents (most affected)Understand upstream constraints — Call find_dependencies(name="TargetSymbol", max_depth=3)
to see what the target relies on.
Rank by importance — Call rank_nodes(scope=dependent_files) to weight which
dependents are most structurally important (highest-ranked dependents deserve the
most attention).
Structural health check — Call validate_graph(scope=target_files) to detect
any existing structural issues (cycles, orphans, missing edges) in the affected area.
Filter by relationship type — use edge_kinds to focus:
["calls"] — who calls this function?["imports"] — who imports this module?["inherits"] — what subclasses this class?Assemble the collected data into a structured text block:
## Subgraph Context
### Annotation Status
- Total nodes: N, Annotated: M (X%)
### Target Symbol
- `qualified::name` — kind, role, tags, summary
- Neighbors: [callers, callees, imports, inherits]
### Blast Radius (find_dependents, max_depth=4)
| Qualified Name | Depth | Kind | Summary | Role | Importance |
|---|---|---|---|---|---|
| consumer::symbol | 1 | function | "..." | handler | 0.85 |
### Upstream Dependencies (find_dependencies, max_depth=3)
| Qualified Name | Kind | Summary | Role |
|---|---|---|---|
| dep::symbol | class | "..." | model |
### Importance Ranking (rank_nodes)
| Qualified Name | Score | Kind | Role |
|---|---|---|---|
| critical::symbol | 0.95 | class | core |
### Structural Health (validate_graph)
- Issues: [list any cycles, orphans, or missing edges]
Dispatch librarian-kitten-impact with the full subgraph context, the target
symbol name, and the user's question/intent.
Relay the agent's findings to the user, including:
| Tool | Use for |
|---|---|
index_codebase | Ensure the graph is up to date |
annotation_status | Check annotation coverage |
query_node | Understand a symbol before analyzing it |
find_dependents | What depends on X (blast radius) |
find_dependencies | What X depends on (upstream constraints) |
rank_nodes | Importance scoring for affected symbols |
validate_graph | Structural health checks (cycles, orphans) |
edge_kinds — filter to imports, calls, inherits, contains, or depends_onmax_depth — default 5, reduce for focused analysis or increase for deep treesfind_dependents before renaming or deleting public symbolsmax_depth=1 for a quick direct-impact checkrank_nodes to focus attention on the most important dependentsvalidate_graph catches pre-existing structural issues that a change might worsenreferences/tool-reference.md for full parameter detailsnpx claudepluginhub kakise/cartographing-kitties-plugin --plugin kittyProvides behavioral guidelines to reduce common LLM coding mistakes, focusing on simplicity, surgical changes, assumption surfacing, and verifiable success criteria.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.