gitnexus-impact-analysis

Analyze code changes to identify breakage risks with dependency queries and git-diff mapping.

Updated Mar 19, 2026
One-click install
npx skills add https://github.com/shysssthanhtri/AI-tools --skill gitnexus-impact-analysis-shysssthanhtri
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gitnexus-impact-analysis
Source: https://github.com/shysssthanhtri/AI-tools/tree/main/skills/gitnexus-impact-analysis
Command: npx skills add https://github.com/shysssthanhtri/AI-tools --skill gitnexus-impact-analysis-shysssthanhtri

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Helps developers and reviewers understand what will break when code is changed by identifying direct callers, transitive dependencies, affected processes, and an overall risk level so changes can be planned, mitigated, or blocked before they are committed.

Core Features & Use Cases

  • Impact queries using gitnexus_impact to enumerate dependents by depth with confidence scores (d=1 WILL BREAK, d=2 LIKELY AFFECTED, d=3 MAY NEED TESTING).
  • Change detection using gitnexus_detect_changes to map staged or current diffs to flows and processes for pre-commit safety checks.
  • Process inspection via READ gitnexus://repo/{name}/processes to correlate code symbols with runtime execution flows and critical paths.
  • Use cases: pre-commit risk assessment, code review blast-radius reporting, refactor planning, and identifying critical-path changes (auth, payments).

Quick Start

Ask what will break if I change validateUser in src/auth/validate.ts and request direct callers, affected processes, confidence scores, and an overall risk level.

Frequently Asked Questions about gitnexus-impact-analysis

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

FAQPage Schema
How do I analyze the blast radius of code changes before committing?

Impact analysis identifies what will break by mapping git diffs to direct callers, transitive dependencies, and affected processes. It provides caller depth, confidence scores, and a summarized risk level to help plan changes or block unsafe commits before they happen.

How does dependency analysis determine which functions will break when I modify a file?

Dependency analysis determines breakage by querying upstream and downstream dependencies to enumerate dependents by depth. It assigns confidence scores where depth one means will break, depth two means likely affected, and depth three means may need testing.

Do I need a specific repository indexing setup to perform pre-commit impact analysis?

Pre-commit impact analysis requires repositories with gitnexus indexing and gitnexus:// process documents. This enables upstream and downstream dependency queries alongside git-diff based change mapping to identify affected execution flows.

Can I map code changes to critical runtime processes like authentication or payments?

You can map code changes to critical runtime processes by inspecting process documents via gitnexus. This correlates modified code symbols with runtime execution flows and critical paths like authentication or payments to assess change risk.

What is the best way to assess refactor risk and identify affected processes before pushing code?

The best way to assess refactor risk is running impact queries to enumerate dependents by depth with confidence scores, then inspecting process documents. This identifies affected execution flows and generates an overall risk level for change planning.

What do the confidence scores mean when checking dependency depth for code safety?

Confidence scores indicate severity: depth one means will break, depth two means likely affected, and depth three means may need testing. These scores help prioritize mitigation efforts during pre-commit risk assessment.