jetbrains/context

context-research

Research and understand unfamiliar codebases using semantic search with jbcontext search

Quelltext ansehen

Verwendung

  1. Installationsbefehl kopieren und das Quellpaket vor der Installation in der eigenen Agentenumgebung prüfen.
  2. Benötigte Werkzeuge, Zugangsdaten und Hosts im Original prüfen.
  3. Eingabe und gewünschtes Ergebnis beschreiben und die Ausgabe mit den Quellen abgleichen.
npx skills add https://github.com/jetbrains/context --skill context-research

Vor dem Start

  • Die Installation umfasst weder Modellabo noch API-Kontingent oder Dateizugriffsrechte.
  • Sterne und Installationen zeigen Aktivität, keine unabhängige Qualitäts- oder Sicherheitsprüfung.
Originales Skill-Dokument

Aus dem Quell-Repository gerendert; Überschriften, Beispiele, Code, Tabellen, Links und Bilder bleiben erhalten.

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"

Verwandte Aufgaben

aus demselben Repository

Weitere Skills

Alle Skills