impact-flow

Analyze Python and TypeScript codebases to map dependencies, blast radius, health, and execution flow.

2|Updated Jan 24, 2026
One-click install
npx skills add https://github.com/swannysec/robot-tools --skill impact-flow
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: impact-flow
Source: https://github.com/swannysec/robot-tools/tree/main/code-analysis-toolkit/skills/impact-flow
Command: npx skills add https://github.com/swannysec/robot-tools --skill impact-flow

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Codebases often become hard to evolve due to hidden dependencies, change impact uncertainty, and tangled health metrics. Impact Flow provides a structured way to understand how modules depend on each other, how changes propagate, and where technical debt lurks.

Core Features & Use Cases

  • Dependency Graph: visualize imports and module relationships across a project.
  • Blast Radius: estimate the ripple effects of a change and identify high-risk areas.
  • Health Score: compute a unified view of code health with actionable metrics.
  • Flow Tracing: trace execution paths to reveal data flow and call chains.
  • Dead Code Detection: surface exports that are unused or risky to modify.
  • Comprehensive Analysis: run integrated checks to generate a full report.
  • Use Case: Before refactoring the auth module, run impact-flow to map dependencies and identify affected tests.

Quick Start

Run health analysis at the repository root: impact-flow health . Then generate a dependency graph: impact-flow dependencies . Finally review a flow trace: impact-flow trace <entry-point-function>

Frequently Asked Questions about impact-flow

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I visualize code dependencies and estimate blast radius before refactoring?

To visualize code dependencies and estimate blast radius, you can analyze your codebase to map module relationships and ripple effects. This generates visual graphs and risk metrics to identify high-risk areas affected by changes.

Can I trace execution flow and data call chains in Python and TypeScript projects?

Yes, you can trace execution flow and data call chains in Python and TypeScript projects. The analysis targets single files, directories, or entire projects to reveal execution paths and structured flow reports.

What is the best way to detect dead code and unused exports in a codebase?

The best way to detect dead code and unused exports is to analyze the codebase for modules that are unused or risky to modify. This surfaces unused exports and provides actionable recommendations for safe removal.

How do I calculate a code health score to identify technical debt?

You calculate a code health score by running an integrated analysis on your repository root. This computes a unified view of code health metrics, helping you identify where technical debt lurks.

Does dependency graph analysis work on single files or only entire project directories?

Dependency graph analysis works on single files, specific directories, and entire project directories. It maps imports and module relationships across varying scopes to produce visual diagrams.