Terminal
Terminal/Skill
Reviews code changes by searching for similar patterns, callers and related tests, so you can judge their impact before committing.
By JetBrains
Works with
npx skills add jetbrains/context --skill context-reviewFirst, see what's changed:
git status
git diff # Unstaged changes
git diff --staged # Staged changes
git diff main...HEAD # All changes on current branch
For each significantly changed file, use semantic search to understand:
# Find similar patterns
jbcontext search "<code chunk that was changed>"
# Find callers of a modified function
jbcontext search "calls to <function name> to understand impact"
# Find related test files in the "test/" directory (path must be relative to the project root)
jbcontext search -p test "tests for <feature being modified>"
For each change, verify:
# See what's changed
git diff --staged
# For a change to auth middleware, find similar patterns
jbcontext search "authentication middleware pattern"
# Find what calls this middleware
jbcontext search "uses auth middleware to protect routes"
# Find related tests
jbcontext search -p test "auth middleware test"