
Description
Explore and understand unfamiliar codebases using semantic code search
SKILL.md
Semantic Code Search
Use jbcontext search to find code snippets by meaning, not just keywords.
Use it as a single semantic bootstrap when the relevant file or subsystem is unknown. Do one broad search, open and inspect at least one returned file locally, and inspect nearby code in that same directory or subsystem before any retry. If that still does not identify the needed adjacent area, do a narrowed retry with jbcontext search -p <path> ... using the directory of the best first hit.
Usage
jbcontext search "<detailed and descriptive query>"
jbcontext search "<code snippet>" # find similar snippets
jbcontext search -p <path> "<query>" # <path> must be relative to the project root
Query Tips
- Be descriptive: "function that validates user email addresses" > "email"
- Include context: "error handling middleware for HTTP requests with logging"
- Specify what you're looking for: "React component that renders a modal dialog"
- Make the first query specific to the issue's named feature, class, method, or behavior when available
Examples
# Find authentication-related code
jbcontext search "user authentication login flow"
# Narrow to specific directory
jbcontext search -p src/auth "JWT token validation"
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-review
review code changes with 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