impact
Analyze blast radius of a code change — find all call sites, test mocks, and consumers. Use before modifying shared functions, interfaces, or modules.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Analyze blast radius of a code change — find all call sites, test mocks, and consumers. Use before modifying shared functions, interfaces, or modules.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Create well-structured atomic commits with conventional commit messages. Use when ready to commit working changes.
Write a feature spec from requirements in .claude/input/. Use when starting a new feature, before implementation begins.
Orchestrate the full spec → implement → review → fix → commit pipeline. Use when shipping a complete feature end-to-end.
Break a concept document, draft, or product brief into independent PRDs that each feed into /ship. Use when input contains multiple features or a big-picture vision.
Ship decomposed PRDs in parallel. Analyzes file conflicts, groups into batches, runs /ship in isolated worktrees, merges results. Use after /decompose.
Implement a feature from a spec file in .claude/specs/. Use after a spec is written and approved.
| name | impact |
| description | Analyze blast radius of a code change — find all call sites, test mocks, and consumers. Use before modifying shared functions, interfaces, or modules. |
| disable-model-invocation | true |
| argument-hint | <function, file, class, or method name> |
| allowed-tools | Read, Glob, Grep, Agent |
| effort | medium |
Analyze the blast radius of changing a function, method, class, or file before making the change.
$ARGUMENTS is the target to analyze. Can be:
enqueue_emailsrc/modules/documents/services.pySupplierInvitationTender.cloneResolve the target — find the definition:
Find all call sites — everywhere the target is used:
Find all test mocks — tests that patch or mock the target:
patch("...target_name"), mock_target_name, AsyncMock referencesvi.mock and vi.fn in frontend test files that reference the endpointFind frontend consumers (if the target is a route or service behind a route):
hooks/ and lib/ for the endpoint pathtypes/api.ts that would need updatingFind downstream dependencies — other functions that depend on the target's return value:
Report — print a structured summary:
## Impact Analysis: `<target>`
### Definition
- File: <path>:<line>
- Signature: <current signature>
### Call Sites (<count>)
| File | Line | Passes all params? |
|---|---|---|
| ... | ... | ✅ / ❌ missing: param_x, param_y |
### Test Mocks (<count>)
| Test file | Mock pattern | Needs update? |
|---|---|---|
### Frontend Consumers (<count>)
| File | Hook/Function | Endpoint |
|---|---|---|
### Downstream Dependencies
- <any functions that consume this target's return value>
### Risk Assessment
- **Blast radius**: small (≤3 files) / medium (4-10 files) / large (>10 files)
- **Recommended approach**: <one-line suggestion>
Do NOT make any code changes. This skill is read-only analysis.