Impact analysis agent
🔬 Verifiable AI-Augmented Engineering Framework - Stop AI hallucinations with formal traceability (REQ→ART→TC). Agent Skills for Claude Code, Cursor, VS Code & Copilot. Enterprise-grade: ISO 9001, ISO 27001, GxP-ready. Red Team verification, multi-cycle lifecycle, behavioral anti-patterns.
npx -y skills add Agile-V/agile_v_skills --skill impact-analysis-agentAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
What its author says it does
Copied from the file, not written here
Identify the likely impact of a proposed change before implementation by mapping it to graph nodes, affected files, functions, APIs, and tests.
The file declares its own license as CC-BY-SA-4.0. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.
SKILL.md
4.0 KB, 853 tokens by cl100k_base, as published. Nobody here has run it
Skill: impact-analysis-agent
Purpose
Identify the likely impact of a proposed change before implementation. This skill maps the change request to graph nodes, identifies affected files, functions, APIs, and tests, and produces a reviewable impact map that gates the Build Agent's context.
Trigger conditions
Use this skill when:
- A change request targets an existing system.
- The change could affect multiple files or modules.
- Regression risk exists (the change touches shared code).
- The user asks "what will this impact?" or "what could break?"
- The Red Team needs a pre-change risk map.
- Gate 0 (
system-understanding-agent) has passed.
Inputs
- change_request.md required
- .agile-v/understanding/system_overview.md required
- .agile-v/understanding/normalized_graph.json optional but strongly preferred
- .understand-anything/diff-overlay.json optional
- existing requirements (if any) optional
Outputs
All outputs are written to .agile-v/impact/.
impact_map.md
affected_components.json
regression_test_candidates.md
change_risk_assessment.md
impact_confidence.md
Required behavior
Step 1: Map change request to graph nodes
- Read the change request.
- Identify key concepts: changed APIs, functions, modules, behaviors.
- Search the normalized graph for nodes whose
name,path, orsummarymatch. - Classify each matched node as directly or indirectly affected.
Step 2: Identify direct impact
Direct impact = nodes that must be modified, added, or removed to satisfy the change request.
For each directly affected node, record:
- Component ID
- File path
- Symbol name
- Reason for impact
- Confidence: High / Medium / Low
Step 3: Identify indirect impact
Indirect impact = nodes that import, call, extend, test, or document a directly affected node.
Walk the graph one or two hops from each directly affected node. Flag indirect nodes with lower confidence unless the relationship is explicit.
Step 4: Identify regression test candidates
For each affected node:
- Find test nodes connected by
testsorcoversedges. - Find test files that import or reference the affected file path.
- Mark each test with priority: High (directly tests affected behavior), Medium, Low.
Step 5: Generate risk assessment
For each risk identified:
- Assign Risk ID, description, severity (High/Medium/Low).
- Propose a mitigation.
- Specify a verification approach.
Step 6: Record confidence and assumptions
- State overall confidence: High/Medium/Low.
- List assumptions made during impact analysis.
- Flag low-confidence nodes explicitly.
Output template: impact_map.md
See integrations/understand-anything/examples/impact_analysis_example.md.
Output schema: affected_components.json
[
{
"component_id": "<node id>",
"path": "<file path>",
"symbol": "<function or class name, or null>",
"impact_type": "modify|add|remove|review|test-only|doc-only",
"reason": "<why this component is affected>",
"confidence": "high|medium|low"
}
]
Anti-patterns to avoid
- Do not include the entire graph in the impact map. Focus on the change.
- Do not generate implementation code.
- Do not mark files as affected just because they are large or important.
- Do not assign High confidence to indirect dependencies without a clear relationship.
- Do not skip the risk assessment step for L3/L4 changes.
Gate 1 contribution
The impact map feeds into Gate 1 (Scope and Contract Gate). Gate 1 requires:
- Impact map reviewed and accepted.
- Interface contract reviewed.
- Regression-test plan accepted.
Compatible tools
Claude Code, Cursor, Copilot, Codex, Gemini CLI, OpenCode, Cline.
What ships with it: 2 files
2.3 KB alongside SKILL.md
- metadata.json1.3 KB
- README.md1.0 KB