From claude-impl-tools
Analyzes blast radius, risk level, direct/indirect dependents, tests, and reviewers before file changes. Use for production code, refactoring, or paths like payment/auth/billing/security.
How this skill is triggered — by the user, by Claude, or both
Slash command
/claude-impl-tools:impactThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
> **Analyzes impact scope, risk level, and related tests before modifying a file to support safe changes.**
Analyzes impact scope, risk level, and related tests before modifying a file to support safe changes.
/impact <file-path>/impact analyze <file-path>Receive /impact <file-path>
|
v
[1] Validate target file
|
v
[2] Risk classification
|
v
[3] Direct dependents analysis
|
v
[4] Indirect dependents analysis
|
v
[5] Identify affected domains
|
v
[6] Locate related tests
|
v
[7] Determine recommended reviewers
|
v
[8] Output impact report
Confirm file existence and type (supported: .py, .js, .ts, .jsx, .tsx, .vue, .svelte)
Classify risk based on file path patterns.
| Risk Level | Pattern | Required Action |
|---|---|---|
| CRITICAL | payment, billing, auth, security, crypto, jwt, password | Full test suite + mandatory review |
| HIGH | services/*, core/, middleware/, shared/ | Run related test suite |
| MEDIUM | api/, routes/, models/, schemas/ | Verify contract compatibility |
| LOW | tests/, utils/, config/, docs/ | Standard review |
Custom configuration: If .claude/risk-areas.yaml exists, it takes priority.
Find all files that import or require the target file.
# Python
grep -rn "from.*<module-name>|import.*<module-name>" --include="*.py" .
# JS/TS
grep -rn "from.*<module-name>|require.*<module-name>" --include="*.ts" --include="*.js" .
If the target file defines API endpoints, find files that call those APIs.
| Type | Description | Discovery Method |
|---|---|---|
| API calls | Clients calling the endpoint | grep for API path strings |
| Event subscriptions | Files publishing/subscribing to events | grep for event names |
Identify affected domains from dependency analysis results.
domains/<domain-name>/, src/<domain-name>/.claude/project-team.yaml take priority if present| Source File | Search Targets |
|---|---|
user_service.py | test_user_service.py, user_service_test.py |
userService.ts | userService.test.ts, userService.spec.ts |
| Risk Level | Recommended Reviewer |
|---|---|
| CRITICAL | QA Manager + Chief Architect |
| HIGH | Part Leader (relevant domain) |
| MEDIUM | Domain Developer |
| LOW | Standard code review |
Cross-domain impact: Add the Part Leader of every affected domain.
See references/output-formats.md for detailed output format.
Hook (pre-edit-impact-check.js) | Skill (/impact) | |
|---|---|---|
| Timing | Auto-runs on Edit | On user request |
| Scope | Single file summary | Detailed analysis + recommendations |
| Purpose | Real-time warning | Pre-change planning |
| Skill | When to Use | Purpose |
|---|---|---|
/deps <domain> | When cross-domain impact is found | Visualize domain dependencies |
/coverage <file> | After reviewing related tests | Detailed test coverage check |
/changelog <domain> | After change is complete | Review change history record |
references/output-formats.md — detailed output formatreferences/examples.md — usage examplesnpx claudepluginhub insightflo/claude-impl-tools --plugin claude-impl-toolsAnalyzes impact of changes to files, APIs, components, or models. Provides dependency analysis, risk assessment, breaking changes, migration checklist, and test coverage gaps before modifications.
Analyzes blast radius of file or function changes by mapping direct and transitive dependents with lenskit_graph or grep on import patterns.
Assesses risk and impact before modifying, refactoring, or deleting files in a Repowise-indexed codebase. Flags hotspots, dependents, co-change patterns, and test gaps.