gitnexus-impact-analysis_skill

This skill helps you assess blast radius and safety before code changes by mapping dependencies, executions, and risks.
  • Shell

2

GitHub Stars

1

Bundled Files

2 months ago

Catalog Refreshed

3 months ago

First Indexed

Readme & install

Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.

Installation

Preview and clipboard use veilstrat where the catalogue uses aiagentskills.

npx veilstrat add skill adibfirman/dotfiles --skill gitnexus-impact-analysis

  • SKILL.md2.9 KB

Overview

This skill performs pre-change safety and blast-radius analysis so you know what will break before editing code. It maps symbol dependencies, execution processes, and current git diffs to produce a concise risk assessment and prioritized list of affected callers. Use it to make informed, low-risk edits and to prepare tests or rollback plans.

How this skill works

The skill queries a dependency index to find upstream dependents of a target symbol and classifies them by depth (d=1 WILL BREAK, d=2 LIKELY AFFECTED, d=3 MAY NEED TESTING). It can also read process manifests to locate affected runtime flows and run a git-diff based detector to map current staged or working changes to impacted symbols. Results are summarized as a risk level with counts and concrete file:line callers.

When to use it

  • Before changing a function, API, or config to check impact
  • Prior to committing non-trivial code edits
  • When you need to know who or what uses a symbol
  • To estimate test and rollout scope for a change
  • To prioritize fixes when multiple areas are affected

Best practices

  • Run impact analysis with direction='upstream' to find callers first
  • Review d=1 items immediately — these are direct breakage risks
  • Set minConfidence to filter noisy transitive links (e.g., 0.8)
  • Combine gitnexus_detect_changes() with staged diffs for pre-commit checks
  • Inspect process manifests to understand runtime/critical-path effects

Example use cases

  • Is it safe to change validateUser? — find direct callers, affected flows, and risk level
  • What will break if I rename this exported symbol? — list d=1 callers and files to update
  • Pre-commit safety check — map staged changes to processes and get a MEDIUM/HIGH risk flag
  • Assess blast radius for a config change in auth or payments — identify critical-path processes

FAQ

d=1 means direct callers/importers and represents WILL BREAK. d=2 are indirect dependents that are LIKELY AFFECTED. d=3 are transitive links that MAY NEED TESTING.

What if the index is stale?

Rebuild the index (e.g., run the repository analyzer) before running impact queries to ensure results reflect the latest code.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational
gitnexus-impact-analysis skill by adibfirman/dotfiles | VeilStrat