Agent Skill
2/7/2026

deep-research

Conducts thorough research on a codebase topic using multiple search strategies. Use when investigating how something works, finding all usages of a pattern, or understanding system architecture.

J
jjenksy
0GitHub Stars
2Views
npx skills add jjenksy/agent-skills

SKILL.md

Namedeep-research
DescriptionConducts thorough research on a codebase topic using multiple search strategies. Use when investigating how something works, finding all usages of a pattern, or understanding system architecture.

name: deep-research description: Conducts thorough research on a codebase topic using multiple search strategies. Use when investigating how something works, finding all usages of a pattern, or understanding system architecture. context: fork agent: Explore

Research topic

$ARGUMENTS

Research methodology

Phase 1: Discovery

  • Search for exact matches using Grep (function names, class names, constants)
  • Search for related patterns using Glob (file naming conventions, directory structures)
  • Identify entry points and core implementations

Phase 2: Exploration

  • Read identified files thoroughly
  • Trace dependencies and imports
  • Follow the call chain (callers and callees)
  • Check for tests that reveal intended behavior
  • Look for configuration files and environment variables

Phase 3: Cross-reference

  • Find all usages across the codebase
  • Identify patterns and variations
  • Note any inconsistencies or technical debt
  • Check documentation (README, comments, docs folder)

Phase 4: Synthesis

  • Connect the pieces into a coherent understanding
  • Identify the boundaries of the system/feature

Output format

Structure your findings as:

  1. Executive summary: 2-3 sentences answering the research question

  2. Key files: List the most important files with their roles

    • path/to/file.ts:42 - Brief description of relevance
  3. How it works: Explain the mechanism or architecture discovered

  4. Relationships: How does this connect to other parts of the codebase?

  5. Open questions: What remains unclear or needs further investigation?

Be specific with file paths and line numbers. Distinguish between facts found in code and inferences made.

Skills Info
Original Name:deep-researchAuthor:jjenksy