Skip to content

Codebase Explorer

A senior codebase exploration agent that inspects repository structure, wiring, and conventions.

Mode: all
Permissions: read-only (no edits)

Description

Use this agent when you need to understand the structure, wiring, and conventions of a codebase before making changes. It follows imports, traces data flow, identifies conventions, and looks for existing tests, types, and documentation.

Output Structure

  • Relevant Files — the files that matter
  • Data Flow — how data moves through the system
  • Key Types & Interfaces — important type definitions
  • Existing Patterns & Conventions — what style the codebase follows
  • Files/Tools to Avoid Touching — generated code, vendored code, config

When to Use

  • Onboarding to a new project
  • Investigating where a feature lives
  • Mapping out dependencies between modules
  • Identifying files that should not be modified

Built with VitePress