Individual skill

impact-trace

For a change point (function / type / endpoint / SQL column), enumerate its real blast radius across six dimensions with a grep citation per row, then derive the regression test scope. Every impact-table row must trace to a real search hit — never a self-asserted claim.

sdk/apc/skills/impact-trace/SKILL.md

Read pinned source

Source commit f83b859a173802a73d978197e92328ab2bf57a6e

What was checked

Matches the observed repository HEAD
Yes
Scanner rules are current
Yes
Repository scan complete
No
Skill scan complete
No
Observed behavior
Network or broad shell
Last checked
Nov 9, 2026

These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.

Install this skill

Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.

An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.

Repository context

Repository stars (not skill ratings)
1,364
Repository last updated
Oct 22, 2026
License
MIT

Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.

Files and excerpt

File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.

Browse files
Read excerpt

# impact-trace

给定一个**改动点**(函数 / 类型 / endpoint / SQL 列),产出它的**真实影响面**(受影响的调用方 / 契约消费者 / 持久化写入 / 双 Prisma schema / daemon-SDK 镜像 / skill-role 引用)+ 由此推导的**回归测试范围**(`apc/05` §2 S2 · `apc/12` impact-trace 行)。

**什么时候用**:一个 bugfix / feature 改完,进 review 前需要知道"改这一处会波及哪些地方、要回归哪些层";或评审要判断改动的 blast radius。

铁律:**影响表的每一行都必须有 grep/search 证据(path+line)**。凭记忆或推理写"这里应该会用到"是开卷考试——本 skill 的产出只认真实搜索命中。你自己不是 ground truth,`rg` 的命中集才是。

## 工具契约(签名以此为准,先核后用)

| 命令 | 作用 | 备注 |
| --- | --- | --- |
| `rg <pattern> [path] -n` | 主力搜索:直接调用方 / 契约消费者 / 引用点 | `-n` 出行号(证据必须带行号);`-l` 只列文件;`-t ts` 限类型 |
| `rg -c <pattern>` | 命中计数(核对"没漏"用) | 计数对不上就是漏搜 |
Back to top