Impact Analyzer
When to Use
Trigger this skill when the user:
-
Is about to modify code and wants to know the impact
-
Asks what depends on a file or component
-
Wants to understand breaking change risks
-
Asks "what will break if I change X"
-
Asks "is it safe to modify this"
Instructions
-
Identify the file, component, or API the user wants to change
-
Run /sourceatlas:impact "<target>" with the target
-
Returns dependency analysis, risk assessment, and migration checklist
Target Formats
-
File path: /sourceatlas:impact "src/api/users.ts"
-
API endpoint: /sourceatlas:impact "api /api/users/{id}"
-
Component: /sourceatlas:impact "UserService"
-
Model: /sourceatlas:impact "User model"
What User Gets
-
Impact summary (backend, frontend, test files affected)
-
Risk level assessment (red/yellow/green)
-
Breaking change risks
-
Migration checklist
-
Test coverage gaps
Example Triggers
-
"What happens if I change this file?"
-
"What depends on UserService?"
-
"Is it safe to modify the authentication module?"
-
"Impact of changing the User model"