gitnexus-impact-analysis

Analyze upstream dependencies to reveal breakage from symbol changes.

92|8|Updated May 15, 2026
One-click install
npx skills add https://github.com/LonelyHerbivore/Trellis-Herbivore --skill gitnexus-impact-analysis-lonelyherbivore
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gitnexus-impact-analysis
Source: https://github.com/LonelyHerbivore/Trellis-Herbivore/tree/main/.claude/skills/gitnexus/gitnexus-impact-analysis
Command: npx skills add https://github.com/LonelyHerbivore/Trellis-Herbivore --skill gitnexus-impact-analysis-lonelyherbivore

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you understand the downstream impact of modifying code by identifying which symbols and execution flows will break or be affected, so you can make safer changes with confidence.

Core Features & Use Cases

  • Upstream dependency impact mapping: Determines direct callers/importers (d=1) and transitive effects (d=2–d=3) for a target symbol.
  • Git-change blast radius detection: Maps staged or current diffs to likely affected flows using a git-diff based analysis approach.
  • Risk assessment and prioritization: Classifies impact into LOW, MEDIUM, HIGH, or CRITICAL and highlights what should be checked first.
  • Use case: Before refactoring a core function, run impact analysis to see which routes, middleware, or flows rely on it, then decide what tests/reviews to run.

Quick Start

Use gitnexus-impact-analysis to analyze how changing target symbol X will affect upstream dependencies and execution flows before you edit or commit.

Frequently Asked Questions about gitnexus-impact-analysis

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

FAQPage Schema
What is code blast radius analysis and when do I need it?

Code blast radius analysis identifies which downstream symbols and execution flows will break before you modify a target symbol. You need it for refactors, bugfixes, and pre-commit validation to ensure dependency depth and confidence levels are assessed safely.

How do I check the impact of refactoring a core function before committing?

To check the impact of refactoring a core function, analyze upstream dependencies to map direct callers and transitive effects. This pre-commit validation reports depth-based risk categories from LOW to CRITICAL, highlighting affected execution flows to review.

Can I detect the blast radius of staged git diffs for pre-commit validation?

Yes, you can detect the blast radius of staged git diffs by running diff-scoped detection. This maps your current changes to likely affected flows and symbols, helping you validate code safety and prioritize tests before committing.

How does dependency depth affect risk assessment for code changes?

Dependency depth affects risk assessment by classifying transitive effects into categories like LOW, MEDIUM, HIGH, or CRITICAL. Direct callers represent a lower risk, while deeper transitive dependencies across execution flows indicate a higher blast radius and require checking first.

Does impact analysis work for both bugfixes and major refactoring tasks?

Yes, impact analysis works for both bugfixes and major refactoring tasks by evaluating the blast radius of any modified code symbol. It applies to both targeted changes and broader refactors, reporting confidence levels and affected flows regardless of scope.