review-delta

Solid

Review only changes since last commit using impact analysis. Token-efficient delta review with automatic blast-radius detection.

Code & Development 66 stars 9 forks Updated 3 days ago MIT

Install

View on GitHub

Quality Score: 86/100

Stars 20%
61
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
95
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Review Delta Perform a focused, token-efficient code review of only the changed code and its blast radius. **Token optimization:** Before starting, call `help(topic="graph")` for the full actions reference. Use ONLY changed nodes + 2-hop neighbors in context. ## Steps 1. **Ensure the graph is current** by calling `graph(action="update")`. 2. **Get review context** by calling `review()`. This returns: - Changed files (auto-detected from git diff) - Impacted nodes and files (blast radius) - Source code snippets for changed areas - Review guidance (test coverage gaps, wide impact warnings, inheritance concerns) 3. **Analyze the blast radius** by reviewing the `impacted_nodes` and `impacted_files` in the context. Focus on: - Functions whose callers changed (may need signature/behavior verification) - Classes with inheritance changes (Liskov substitution concerns) - Files with many dependents (high-risk changes) 4. **Perform the review** using the context. For each changed file: - Review the source snippet for correctness, style, and potential bugs - Check if impacted callers/dependents need updates - Verify test coverage using `query(action="query", pattern="tests_for", target=<function_name>)` - Flag any untested changed functions 5. **Report findings** in a structured format: - **Summary**: One-line overview of the changes - **Risk level**: Low / Medium / High (based on blast radius) - **Issues found**: Bugs, style issues, mis...

Details

Author
n24q02m
Repository
n24q02m/better-code-review-graph
Created
4 months ago
Last Updated
3 days ago
Language
Python
License
MIT

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category