review

Solid

Plan-aware graph-enhanced code review before merge. CRITICAL issues block merge. Use after fix/verify.

Code & Development 22 stars 5 forks Updated 6 days ago MIT

Install

View on GitHub

Quality Score: 84/100

Stars 20%
45
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# /supergraph:review Final gate before merge. Graph-enhanced review with plan awareness. ## Prerequisites - `/supergraph:fix` completed (tests pass, lint clean) ## Usage `/supergraph:review` | `plan auth-login` | `plan auth-login task 2` ## Steps ### 0. Announce "🔍 /supergraph:review — starting graph-enhanced code review..." ### 1. Select Plan Context 0 plans → skip | 1 → use | >1 → ask | `plan <slug>` → match. Parse tasks, scope to `task N` if provided. ### 2. Capture Git Range ```bash BASE_SHA=$(git rev-parse origin/master || git rev-parse origin/main || git rev-parse HEAD~1) HEAD_SHA=$(git rev-parse HEAD) git diff --stat "$BASE_SHA..$HEAD_SHA" && git diff --name-only "$BASE_SHA..$HEAD_SHA" ``` Use plan checkpoint commits as range if available. No changed files → check plan for incomplete tasks. ### 3. Graph Analysis (tiered) Reindex first for `CBM_PROJECT` (see `references/codebase-memory-contract.md#Lifecycle`): `index_status`; if stale/degraded → `index_repository` (skip if `BASE_SHA` unchanged and `.supergraph-env` fresh). Then `codebase-memory-mcp` `detect_changes`, `trace_path`, `get_graph_schema`. Tiered recipes (pick by blast radius): - Micro (≤2 files, <20 lines, no hub/bridge): `cycles` + `test-gaps` only (0.04s) - Standard (≤5 files, no cross-boundary): `cycles`/`hubs`/`test-gaps` + optional `cross-boundary` - Full (>5 files or hub/bridge/cross-boundary): all `cycles, hubs, bridges, test-gaps, complexity, cross-boundary` (0.12s). Per file: `query_grap...

Details

Author
datit309
Repository
datit309/supergraph
Created
4 months ago
Last Updated
6 days ago
Language
Shell
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category