skills/impact-analysis-agent/SKILL.md
# 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 c
npx skillsauth add agile-v/agile_v_skills skills/impact-analysis-agentInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
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.
Use this skill when:
system-understanding-agent) has passed.- 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
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
name, path, or summary match.Direct impact = nodes that must be modified, added, or removed to satisfy the change request.
For each directly affected node, record:
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.
For each affected node:
tests or covers edges.For each risk identified:
See integrations/understand-anything/examples/impact_analysis_example.md.
[
{
"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"
}
]
The impact map feeds into Gate 1 (Scope and Contract Gate). Gate 1 requires:
Claude Code, Cursor, Copilot, Codex, Gemini CLI, OpenCode, Cline.
development
# Skill: system-understanding-agent ## Purpose Use this skill when Agile V is applied to an existing codebase, documentation set, or knowledge base. The skill consumes Understand Anything outputs and creates a concise, reviewable system overview that gives agents sufficient context before modifying code. This is **Gate 0** of the integrated Agile V lifecycle. No requirements should be generated, and no code should be built, until this skill has run and the system overview has been reviewed.
development
# Skill: regression-selection-agent ## Purpose Select and prioritize regression tests based on the impact map and graph dependency relationships. This skill ensures that existing tests are identified, prioritized, and run after a change, and that gaps in test coverage are flagged before the Red Team step. --- ## Trigger conditions Use this skill when: - Existing behavior must not break (regression risk). - An impact map is available. - The change affects shared modules, services, or APIs.
testing
# Skill: graph-traceability-agent ## Purpose Create traceability from Agile V requirements to Understand Anything graph nodes, changed files, and tests. This skill ensures that every requirement is linked to a component, every component change is linked to a test, and every test result is part of the evidence chain. --- ## Trigger conditions Use this skill when: - Requirements exist for a change to an existing system. - A knowledge graph is available. - The evidence bundle needs component-
development
# Skill: diff-evidence-agent ## Purpose Create evidence explaining the actual implementation diff and its relationship to the predicted impact. This skill closes the loop between the pre-change impact prediction and the post-change reality, and is a key input for the Red Team's evidence quality check. --- ## Trigger conditions Use this skill after implementation and before final validation. Specifically: - After the Build Agent has made changes. - After tests have been run. - Before Red Te