ix-impact
Change risk analysis — blast radius, affected systems, and what to test. Depth scales with risk level; low-risk targets stop early.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Change risk analysis — blast radius, affected systems, and what to test. Depth scales with risk level; low-risk targets stop early.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Analyze system design — structure, coupling, code smells, and high-risk hotspots. Purely graph-based, no code reads.
Root cause analysis — trace execution path to a failure, narrow candidates, read minimal source only at suspected failure points.
Generate narrative-first, importance-weighted documentation for a repo, system, or subsystem with a selective reference layer. Use --full for deeper module/class/method coverage.
Deep dive into a symbol, feature, or bug. Graph-first, minimal code reads, early stopping when sufficient evidence found.
Generate a risk-ordered implementation plan for a set of targets. Assesses blast radius per target, finds data flows between them, and produces a safe change sequence.
Build a detailed architectural mental model of a system, subsystem, or the whole repo. Graph-first, source reads only when needed for data flow or key patterns.
| name | ix-impact |
| description | Change risk analysis — blast radius, affected systems, and what to test. Depth scales with risk level; low-risk targets stop early. |
| argument-hint | <symbol or file path to assess change risk for> [--save [path]] |
Check command -v ix first. If unavailable, use Grep to find all usages and estimate impact manually.
Strip --save and any following path token from $ARGUMENTS before resolving the target.
--save <path> is present, set SAVE_PATH to that path.--save is present without a path, auto-generate ix-impact-<target-slug>.md in cwd (target slug = the target with spaces and slashes replaced by -).--save is absent, SAVE_PATH is empty — do not write a file.Run once at the start:
ix briefing --format json 2>&1
If it returns JSON with a revision field, Pro is available. Extract openBugs for use in Pro steps below. If it errors, skip all [Pro] labeled steps.
Answer: what breaks if this changes, and is it safe to proceed? Stop as early as the risk level allows.
Run in parallel:
ix impact $ARGUMENTS --format llm
ix explain $ARGUMENTS --format llm
God-module check: If fan_out > 20 AND fan_in < 2 in the ix explain result:
⚠ This symbol has high fan_out and low fan_in — it reaches out to many dependents but has few callers. Standard blast-radius metrics may understate risk. Check callers of its key dependencies, not just direct dependents.
This caveat applies regardless of the ix impact risk classification.
Immediately classify:
| Risk level | Action |
|---|---|
low + < 3 dependents | STOP — safe to proceed. Report and suggest verification targets. |
medium OR 3–10 dependents | Go to Phase 2 |
high or critical OR > 10 dependents | Go to Phase 2 + 3 |
Run in parallel:
ix callers $ARGUMENTS --limit 15 --format llm
ix depends $ARGUMENTS --depth 2 --format llm
Extract: direct callers by name and subsystem, transitive count.
Stop here if risk is medium: report callers, suggest verification, done.
ix imported-by $ARGUMENTS --format llm
Cross-reference callers + dependents + importers to identify:
## Impact: [target]
**Risk level:** <critical | high | medium | low>
**Verdict:** <SAFE TO PROCEED | REVIEW CALLERS FIRST | NEEDS CHANGE PLAN>
**Blast radius:**
- Direct dependents: N
- Transitive (depth 2): M
- Subsystems affected: [list — only if phase 3 ran]
**Key callers:** [top 5, with subsystem label]
**At-risk behaviors:** [from the ix impact behavior lines]
**Recommended action:**
- low: proceed, verify [specific callers]
- medium: test [caller list] after change
- high/critical: run `/ix-plan $ARGUMENTS` before editing
**Known bugs in blast radius:** [Pro only — list open bugs touching callers/dependents, or omit section if none/Pro unavailable]
If Pro is available and openBugs from the briefing is non-empty, check for bugs affecting this target:
ix bugs --format json
Cross-reference open bugs against the direct callers and dependents identified in Phase 2. Any open bug touching the blast radius escalates the risk verdict — flag it explicitly in the output.
Never read source code in this skill. Risk analysis is purely graph-based.
Save step (only if SAVE_PATH is non-empty):
SAVE_PATH using the Write tool.Saved to <SAVE_PATH>.--save was not passed.