review-delta
Review only changes since last commit using impact analysis. Token-efficient delta review with automatic blast-radius detection.
来源信息
- 仓库
- tirth8205/code-review-graph
- 最近来源活动
- 2026年9月13日 23:59
- 检测到的 SKILL.md 语言
- 英语
- 星标
- 32,179
- 分支
- 2,954
安装方式
默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。
检查来源文件
决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。
正在显示 SKILL.md
SKILL.md
来源说明 · 只读预览- name
- review-delta
- description
- Review only changes since last commit using impact analysis. Token-efficient delta review with automatic blast-radius detection.
- argument-hint
- [file or function name]
# Review Delta
Review only the changed code and its blast radius.
## Steps
1. Call `get_minimal_context_tool(task="review changes")`. If it returns `status: not_ready`, call `build_or_update_graph_tool()` and continue.
2. Call `detect_changes_tool(detail_level="minimal")` for risk-scored changed functions, test gaps and affected flows. Changes come from `git diff` against `HEAD~1`; if the argument names a file, pass it in `changed_files`.
3. Call `get_review_context_tool(detail_level="minimal")` when you need source snippets for the changed areas and `review_guidance` (untested functions, wide blast radius, inheritance changes).
4. For each untested high-risk function, confirm with `query_graph_tool(pattern="tests_for", target="<function>")`.
5. Use `detail_level="standard"` only for a high-risk item the minimal output leaves unclear. Do not load whole files unless a snippet is not enough.
## Report
- Summary: one line
- Risk: low, medium or high, from the blast radius
- Issues: bugs, missing tests, style
- Blast radius: impacted files and functions
- Recommendations
在 GitHub 查看