build-graph
Build or update the code review knowledge graph. Run this first to initialise, or let hooks keep it updated automatically.
Plan and execute safe refactoring using dependency analysis
Claude Code
$ npx -y skills add tirth8205/code-review-graph --skill refactor-safely --agent claude-code
Codex
$ npx skills add tirth8205/code-review-graph --skill refactor-safely -a codex -y
Cursor
$ npx skills add tirth8205/code-review-graph --skill refactor-safely -a cursor -y
Gemini CLI
$ npx skills add tirth8205/code-review-graph --skill refactor-safely -a gemini-cli -y
GitHub Copilot
$ npx skills add tirth8205/code-review-graph --skill refactor-safely -a github-copilot -y
OpenCode
$ npx skills add tirth8205/code-review-graph --skill refactor-safely -a opencode -y
Windsurf
$ npx skills add tirth8205/code-review-graph --skill refactor-safely -a windsurf -y
name: refactor-safely description: Plan and execute safe refactoring using dependency analysis
Plan a refactor from the dependency graph and apply renames from a preview.
1. Call `refactor_tool` with `mode="suggest"` for refactoring candidates, or `mode="dead_code"` for unreferenced code. 2. For a rename, call `refactor_tool` with `mode="rename"`, `old_name` and `new_name`. Check the returned edit list before applying. 3. Call `apply_refactor_tool` with the returned `refactor_id` to apply the rename. 4. Before a large refactor, call `get_impact_radius_tool` and `get_affected_flows_tool` to see the dependents and critical paths involved. 5. Call `find_large_functions_tool` to find functions worth splitting. 6. After the change, call `detect_changes_tool` to confirm the impact matches the plan.
Local-first code intelligence graph for MCP and CLI. Builds a persistent map of your codebase so AI coding tools read only what matters, with benchmarked context reductions on reviews and large-repo workflows.
Build or update the code review knowledge graph. Run this first to initialise, or let hooks keep it updated automatically.
Navigate and understand codebase structure using the knowledge graph
Perform a structured code review using change detection and impact
Review only changes since last commit using impact analysis. Token-efficient delta review with automatic blast-radius detection.
Review a PR or branch diff using the knowledge graph for full structural context. Outputs a structured review with blast-radius…
Performs AI-powered code review on Git changes using the `ocr` CLI from alibaba/open-code-review. Use when the user asks to…
Address all valid review comments on a PR for the current branch in the streamlit/streamlit repo. Covers both inline review…
Maps the `hunkdiff/extension` authoring surface for Hunk, the terminal diff viewer — hiding or reordering reviewed files, docked…