Skip to main content

context-research

Research and understand unfamiliar codebases using semantic search with `jbcontext search`

来源信息

仓库
JetBrains/context
最近来源活动
2026年6月30日 17:13
检测到的 SKILL.md 语言
英语
星标
34
分支
4

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
context-research
context
fork
agent
Explore
argument-hint
query
description
Research and understand unfamiliar codebases using semantic search with `jbcontext search`
You need to gather all context for task $ARGUMENTS thoroughly. ## When to Use - Understanding unfamiliar codebases or locating specific functionality - Finding implementations, definitions, or usage patterns - Identifying code related to specific features or concepts - Before making changes to understand the context and impact ## Tools Available ### `jbcontext search` Semantic code search that finds code by meaning, not just exact keywords. ```bash jbcontext search "<descriptive query>" [path] 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" ## Research Workflow 1. **Start broad**: Use `jbcontext search` with general terms to understand the landscape 2. **Narrow down**: Add path filters (`-p`) once you identify relevant directories 3. **Read the code**: Once you find relevant files, read them to understand the details ## Example Session ```bash # Find authentication-related code jbcontext search "user authentication login" # Narrow to specific directory jbcontext search -p src/auth "JWT token validation" ```
在 GitHub 查看