mcpField
B
blast-radius

blast-radius

github.com/yeachan-heo其他40.7k8 次安装今天更新
代码仓库

关于 blast-radius

blast-radius 是一项用于追踪代码变更影响范围的技能,并通过运行相关测试、类型检查、构建或命令验证可能的问题。它面向评估接口、数据、依赖项或配置变更影响的开发者。

主要功能

  1. 01明确列出变更涉及的接口
  2. 02搜索依赖该接口的代码
  3. 03按影响可能性分类
  4. 04运行检查验证潜在问题
  5. 05报告尚未验证的影响

适用场景

  1. 01评估函数签名变更的影响
  2. 02审查数据格式或迁移变更
  3. 03检查依赖项更新的影响
  4. 04调查 CLI 标志或默认值变更

安装

复制下面的命令,在终端中运行。

$npx skills add https://github.com/yeachan-heo/oh-my-claudecode --skill blast-radius

安装后在 Claude Code 中输入/blast-radius确认已加载。

README 原文English

来自项目 README

README 暂无中文译文,以下为英文原文;中文介绍见上方。

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

  1. Name the change surface: exported symbols, persisted formats, CLI flags, API contracts, timing assumptions. List them explicitly.
  2. Map dependents: grep for each symbol; where available use AST search (ast_grep_search MCP tool) to catch structural uses text search misses; follow re-exports one more hop than feels necessary.
  3. 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
  4. 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.
  5. 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