dvy1987/agent-loom / .agents/skills/dependency-mapping
dependency-mapping
VerifiedMap symbol dependencies, callers, and blast radius before editing code. Load when the user asks what depends on a symbol, what breaks if they change something, blast radius of a change, reverse dependencies, or which tests cover a function. Also triggers on "who calls this", "impact of changing", "dependency map", "what uses this", "find callers", or before any non-trivial edit when safe-change is not yet active. Pairs with codebase-understanding for broad architecture; this skill is symbol-scoped and edit-gated.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 4.9 KB |
| references/IMPACT-QUERIES.md | markdown | 2.0 KB |
| references/examples.md | markdown | 1.5 KB |
references/examples.md
View on GitHub# Dependency Mapping — Examples
## Ex.1 — Rename a Python function
**Input:** "What breaks if I rename `build_graph` in `scripts/build_graph.py`?"
**Output:**
```markdown
## Impact report — build_graph in scripts/build_graph.py
Capability ladder: text-search
Risk: medium — 5 shell/docs references, 1 test file
| Question | Answer | Evidence |
|----------|--------|----------|
| What depends on this? | CLI entry, Makefile, 2 docs | Makefile:12, README.md:45, harness-engineering SKILL.md:64 |
| What breaks if I change it? | Docs commands, CI graph step | `.github/workflows` none; local scripts call by filename |
| Which tests cover it? | smoke only | NONE direct — behaviorVerified: false |
Affected files: scripts/build_graph.py, Makefile, docs/knowledge-graph/README.md
Recommended verify: python3 -m py_compile scripts/build_graph.py
```
## Ex.2 — Change a TypeScript export signature
**Input:** "Blast radius of changing `UserSchema` in `src/schemas/user.ts`"
**Output:**
```markdown
## Impact report — UserSchema in src/schemas/user.ts
Capability ladder: LSP
Risk: high — 14 importers across API + UI
| Question | Answer | Evidence |
|----------|--------|----------|
| What depends on this? | 14 imports | api/users/route.ts:3, lib/auth.ts:8, ... |
| What breaks if I change it? | Zod parse failures on 3 POST routes | api/users/route.ts:22 [EXTRACTED] |
| Which tests cover it? | 2 unit, 1 e2e | src/schemas/user.test.ts, e2e/signup.spec.ts |
Affected files: [14 paths]
Recommended verify: npm run typecheck && npm test
```
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the work | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixes | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation code | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| skill-creatoranthropics/skillsCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy. | Stars: 197k | Updated | Claude CodeCodex | Verified | Install |