Analyze git changes to understand impact
Analyzes git changes to understand their ripple effects across the codebase.
/plugin marketplace add noodlbox/noodlbox-claude-plugin/plugin install noodlbox@noodlboxchange_scopeAnalyze uncommitted git changes and understand their ripple effects through the codebase.
noodlbox_detect_impact(repository: "current", change_scope: "$ARGUMENTS")
Change scope options:
| Scope | Git Equivalent | Use Case |
|---|---|---|
unstaged | git diff | Before staging |
staged | git diff --staged | Before commit |
all | git diff HEAD | All uncommitted (default) |
compare | git diff <base> | Compare with branch |
If no argument provided, use "all" for complete uncommitted changes.
Check the summary in the response:
| Metric | Low Impact | High Impact |
|---|---|---|
changed_symbols_count | < 5 | >= 5 |
total_impacted_processes | < 10 | >= 10 |
Analyze inline:
Spawn codebase-analyst agent for deep analysis:
Task: impact_analysis for current changes
Input: Impact detection results
Output: Structured risk assessment
The agent handles detailed tracing and returns prioritized recommendations.
## Impact Summary
- **Changed**: X symbols in Y files
- **Affected**: Z processes
- **Risk**: Low
## Changed Code
| Symbol | File | Type |
|--------|------|------|
| functionName | src/path.ts:42 | Modified |
## Affected Flows
1. **Process Name** - Brief description
- Entry: `entryPoint` → `step2` → `changedSymbol`
- Risk: Low (isolated change)
## Recommendations
- [ ] Test: List specific tests to run
- [ ] Review: Any areas needing attention
Present the agent's structured analysis:
## Impact Summary
- **Risk Level**: Medium/High
- **Changed**: X symbols
- **Affected**: Y processes in Z communities
## Critical Paths
| Process | Why Critical | Action |
|---------|--------------|--------|
| Payment Flow | High centrality, cross-module | Full regression test |
## Cross-Module Impact
| Source | Target | Impact |
|--------|--------|--------|
| Auth | User Management | Session changes propagate |
## Recommendations
### Test Priority
1. Critical path tests first
2. Integration tests for cross-module flows
### Review Focus
- High-centrality symbol changes
- Cross-community boundaries
### Coordination
- Teams/modules to notify
If .noodlbox/labels.json exists:
Confirm analysis with: