
Description
Use this skill to review code changes using semantic search to understand context and impact
SKILL.md
When to Use
- Before committing changes to understand what you're about to commit
- Reviewing pull requests or branches
- Understanding the impact of changes on the rest of the codebase
Review Workflow
1. Check Current Changes
First, see what's changed:
git status
git diff # Unstaged changes
git diff --staged # Staged changes
git diff main...HEAD # All changes on current branch
2. Understand Changed Code Context
For each significantly changed file, use semantic search to understand:
- Similar patterns: Find similar code elsewhere that might need the same change
- Callers: Find code that calls the modified functions
- Dependencies: Find code that the modified code depends on
# 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>"
3. Review Checklist
For each change, verify:
- The change is consistent with similar patterns in the codebase
- All callers of modified functions will still work correctly
- Related tests exist and cover the changes
- The change doesn't reintroduce previously fixed bugs
Example Session
# 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"
More skills from the context repository
View all 7 skillsblast-radius
analyze blast radius of code changes
Jul 13ArchitectureCode AnalysisEngineeringcontext-install
install and configure jbcontext
Jul 13CLIEngineeringOnboardingcontext-research
research unfamiliar codebases using semantic search
Jul 17Code AnalysisSearchcontext-search
explore codebases using semantic search
Jul 13Code AnalysisEngineeringSearchdependency-search
search dependencies across repositories
Jul 13Code AnalysisEngineeringSearchorg-search
perform org-wide semantic code search
Jul 17Code AnalysisSearch
More from JetBrains
View publishermps-aspect-accessories
configure JetBrains MPS module dependencies
MPS
Jul 17ArchitectureConfigurationEngineeringmps-aspect-actions
define and edit MPS node factories
MPS
Jul 17ArchitectureEngineeringmps-aspect-behavior
define and edit MPS concept behavior
MPS
Jul 13ArchitectureEngineeringmps-aspect-constraints
define JetBrains MPS language constraints
MPS
Jul 23ArchitectureCode Analysismps-aspect-dataflow
define and debug MPS dataflow builders
MPS
Jul 13Data Analysismps-aspect-editor
define MPS editor layouts
MPS
Jul 23DesignUI Components