关于 blast-radius
blast-radius 是一项用于追踪代码变更影响范围的技能,并通过运行相关测试、类型检查、构建或命令验证可能的问题。它面向评估接口、数据、依赖项或配置变更影响的开发者。
主要功能
- 01明确列出变更涉及的接口
- 02搜索依赖该接口的代码
- 03按影响可能性分类
- 04运行检查验证潜在问题
- 05报告尚未验证的影响
适用场景
- 01评估函数签名变更的影响
- 02审查数据格式或迁移变更
- 03检查依赖项更新的影响
- 04调查 CLI 标志或默认值变更
安装
复制下面的命令,在终端中运行。
$
npx skills add https:/ / github.com/ yeachan-heo/ oh-my-claudecode --skill blast-radius安装后在 Claude Code 中输入/blast-radius确认已加载。
README 原文English
来自项目 READMEREADME 暂无中文译文,以下为英文原文;中文介绍见上方。
Blast Radius
The diff tells you what changed; it does not tell you what breaks. This skill maps the dependents of a change and proves what it can — by running code, not by reasoning alone.
When to use
- a signature, data shape, or behavior other code calls changed
- a dependency bump, config default flip, or migration
- the user asks "what could this break?"
Workflow
- Name the change surface: exported symbols, persisted formats, CLI flags, API contracts, timing assumptions. List them explicitly.
- Map dependents: grep for each symbol; where available use AST search
(
ast_grep_searchMCP tool) to catch structural uses text search misses; follow re-exports one more hop than feels necessary. - Classify each dependent:
- certain — calls the changed surface directly
- likely — consumes a type or format the change touches
- unlikely — shares a module but not the surface
- Prove what you can: for every certain and likely impact, run the exact check that would catch the break — its test, its typecheck, its build, or a one-off command exercising the path. Report real output. Impacts you cannot execute a check for are listed as unverified, not as safe.
- Report: the surface, the dependent counts by class, per-impact verification with evidence, and the unverified remainder named honestly.
Rules
- "It should be fine" is not a classification; every claim is certain, likely, unlikely, or unverified, with its reason in the same sentence.
- Reasoning reduces the search space; execution settles the verdict.
- The report never edits code; fixes found this way go through
execute.
评论
支持 Markdown