使用方法
- 复制安装命令,在自己的智能体环境安装前先检查源码包。
- 从原始文档核对所需工具、凭据和支持的宿主。
- 说明输入材料与期望交付物,并对照来源检查输出。
npx skills add https://github.com/jetbrains/context --skill context-research开始前需了解
- 安装不包含模型订阅、API 额度或访问文件的权限。
- 仓库星数和安装量反映活跃情况,不等于独立质量或安全测试。
按源仓库内容呈现,保留标题、案例、代码、表格、链接以及原文引用的演示图片。
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.
jbcontext search "<descriptive query>" [path]
jbcontext search -p <path> "<query>" # <path> must be relative to the project rootQuery 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
- Start broad: Use
jbcontext searchwith general terms to understand the landscape - Narrow down: Add path filters (
-p) once you identify relevant directories - Read the code: Once you find relevant files, read them to understand the details
Example Session
# Find authentication-related code
jbcontext search "user authentication login"
# Narrow to specific directory
jbcontext search -p src/auth "JWT token validation"



