---
name: analyzing-code-dependencies-and-symbol-impact
description: "Traces code symbol dependencies and call chains to map the blast radius of a refactor. Use when a request involves changing code in a large repository and you need affected modules and architectural risks."
license: CC-BY-4.0
compatibility: "Needs access to: Chat, GitHub, Terminal."
metadata:
  author: "BotBento Editorial"
  version: "2026-10-16"
  source: "https://botbento.com/usecases/analyzing-code-dependencies-and-symbol-impact/"
  kind: skill
  hermes:
    tags: ["coding", "refactoring", "dependencies", "architecture"]
    category: coding
    requires_toolsets: ["terminal"]
---
# Analyzing code dependencies and symbol impact

Map symbol relationships and check architectural blast radius across repositories

## When to use

Search semantic symbols, trace call graphs, and evaluate downstream impact before modifying code in large repositories. The bot queries indexed code, identifies affected modules, and outlines potential architectural risks.

## Inputs

- `change_request`: The feature request or refactor scenario whose impact should be analyzed
- `repository_context`: Repository or indexed codebase where symbols and call chains should be searched
- `target_symbols` (optional): Specific symbols, functions, or classes to trace; leave empty to let the bot infer them from the change request

## Steps

1. When you ask: User requests refactor impact (A person asks in chat for the impact of a feature request or refactor)
2. Trace code symbol dependencies
3. List affected modules and risks

## Instructions

When investigating a feature request or refactor, query the repository index to inspect relevant symbols, call chains, and schema definitions. Present a structured summary of every component in the blast radius, highlighting potential breaking changes across dependent files. If the task involves modifying code or updating files, draft the suggested changes and wait for user approval before applying any edits or pushing commits.

## Approvals

- Applying suggested code edits to files must wait for user approval
- Pushing commits to the repository must wait for user approval

## Output

Structured summary of affected modules, dependent files, and potential architectural risks (format: markdown)

## Source

Summarized in our own words from [SocratiCode: Enterprise-grade (40m+ LOC) codebase intelligence, zero-setup, local & private Plugin/Skill/Extension or MCP: hybrid semantic s](https://github.com/giancarloerra/SocratiCode) (GitHub, checked 2026-10-16). Any results described there are the authors’ own.

From the BotBento use-case directory: https://botbento.com/usecases/analyzing-code-dependencies-and-symbol-impact/. Licence: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/).
