Maps file dependencies, flags shared imports, groups files for safe parallel editing before code changes. Use when planning a refactoring, analyzing change impact, or understanding which files a modification will affect.
69
85%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
Generate file impact map before code changes to identify affected files, relationships, cascades — improves agent file partitions for parallel work.
| Use | Skip |
|---|---|
| Feature implementation (Phase 1) | Isolated bug fixes ≤2 files |
| Refactoring (Phase 1 Scope) | |
| Schema changes cascading through queries/components | |
Any task touching libs/ |
Identify files that MUST change from task description.
Find consumers of entry-point exports:
grep_search("import.*from.*places", isRegexp=true) # find importers
vscode_listCodeUsages("PlaceCard") # find component consumers
grep_search("places.*route|/places", isRegexp=true) # find route referencesFind what entry points depend on:
grep_search("from.*libs/", includePattern="src/places/**") # shared lib deps
grep_search("from.*config", includePattern="src/places/**") # config depsProduce a compact map for Team Lead and downstream agents:
Context Map — Feature: Add priceRange
- Entry points:
- src/lib/place/schema.ts
- src/components/PriceRangeFilter/PriceRangeFilter.tsx
- Dependents (trace outward):
- src/pages/places/page.tsx
- src/components/PlacesList/PlaceCard.tsx
- Sources (trace inward):
- src/lib/filters.ts
- src/shared/types/place.ts
- Unaffected (optional):
- src/components/Account/**Validation checkpoint: every grep_search / vscode_listCodeUsages hit lands in the map; all listed files open without errors (CI: pnpm typecheck). Full template, depth levels, partition derivation, Team Lead integration: see REFERENCE.md.
grep_search / list_code_usagesfa0c341
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.