Agent skill

devbooks-impact-analysis

devbooks-impact-analysis:跨模块/跨文件/对外契约变更前做影响分析,产出可直接写入 proposal.md 的 Impact 部分(Scope/Impacts/Risks/Minimal Diff/Open Questions)。用户说"做影响分析/改动面控制/引用查找/受影响模块/兼容性风险"等时使用。

majiayu000github.com/majiayu000GitHub ↗
claude-codecan modify filesMIT
Install
npx skills add majiayu000/claude-skill-registry --skill devbooks-impact-analysis --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 3 KB
Bundled scripts: none
Allowed tools: -Glob-Grep-Read-Bash
Path: skills/analysis/devbooks-impact-analysis/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# DevBooks:影响分析(Impact Analysis) ## 渐进披露 ### 基础层(必读) 目标:明确本 Skill 的核心产出与使用范围。 输入:用户目标、现有文档、变更包上下文或项目路径。 输出:可执行产物、下一步指引或记录路径。 边界:不替代其他角色职责,不触碰 tests/。 证据:引用产出物路径或执行记录。 ### 进阶层(可选) 适用:需要细化策略、边界或风险提示时补充。 ### 扩展层(可选) 适用:需要与外部系统或可选工具协同时补充。 ## 推荐 MCP 能力类型 - 代码检索(code-search) - 引用追踪(reference-tracking) - 影响分析(impact-analysis) ## 前置:配置发现(协议无关) - `<truth-root>`:当前真理目录根 - `<change-root>`:变更包目录根 执行前**必须**按以下顺序查找配置(找到后停止): 1. `.devbooks/config.yaml`(如存在)→ 解析并使用其中的映射 2. `dev-playbooks/project.md`(如存在)→ Dev-Playbooks 协议,使用默认映射 3. `project.md`(如存在)→ template 协议,使用默认映射 4. 若仍无法确定 → **停止并询问用户** **关键约束**: - 如果配置中指定了 `agents_doc`(规则文档),**必须先阅读该文档**再执行任何操作 - 禁止猜测目录根 - 禁止跳过规则文档阅读 ## 产物落点 - **必须**写入:`<change-root>/<change-id>/proposal.md` 的 Impact 部分 - 备选:独立 `impact-analysis.md` 文件(后续回填到 proposal.md) ## 输出行为(关键约束) > **黄金法则**:**直接写入文档,禁止输出到对话窗口** ### 必须遵守 1. **直接写入**:使用 `Edit` 或 `Write` 工具将分析结果直接写入目标文档 2. **禁止回显**:不要在对话中显示完整的分析内容 3. **简短通知**:完成后只需告知用户"影响分析已写入 `<文件路径>`" ### 正确行为 vs 错误行为 | 场景 | ❌ 错误行为 | ✅ 正确行为 | |------|------------|------------| | 分析完成 | 在对话中输出完整 Impact 表格 | 使用 Edit 工具写入 proposal.md | | 通知用户 | 复述分析内容 | "影响分析已写入 `changes/xxx/proposal.md`" | | 大量结果 | 分页输出到对话 | 全部写入文件,告知文件位置 | ### 示例对话 ``` 用户

What's inside
Steps it walks through
  1. 渐进披露
  2. 基础层(必读)
  3. 进阶层(可选)
  4. 扩展层(可选)
  5. 推荐 MCP 能力类型
  6. 前置:配置发现(协议无关)
  7. 产物落点
  8. 输出行为(关键约束)
  9. 必须遵守
  10. 正确行为 vs 错误行为
  11. 示例对话
  12. 执行方式
  13. 输出格式
  14. 上下文感知
Ships with 1 file
  • metadata.json
More from claude-skill-registry
All skills →
About this skill
What does the devbooks-impact-analysis skill do?

devbooks-impact-analysis:跨模块/跨文件/对外契约变更前做影响分析,产出可直接写入 proposal.md 的 Impact 部分(Scope/Impacts/Risks/Minimal Diff/Open Questions)。用户说"做影响分析/改动面控制/引用查找/受影响模块/兼容性风险"等时使用。

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill devbooks-impact-analysis --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going