🎯

explore-codebase

🎯Skill

from pc-style/pc-skills

VibeIndex|
What it does

Quickly explore and map codebase structure, find files by patterns, and understand project architecture using Opencode's Explore agent.

πŸ“¦

Part of

pc-style/pc-skills(12 items)

explore-codebase

Installation

πŸ“‹ No install commands found in docs. Showing default command. Check GitHub for actual instructions.
Quick InstallInstall with npx
npx skills add pc-style/pc-skills --skill explore-codebase
1Installs
-
AddedFeb 4, 2026

Skill Details

SKILL.md

Fast codebase exploration using Opencode's Explore agent for quick recognition of project structure, file patterns, and code organization. Use when you need to understand a codebase quickly, map out architecture, find files by patterns, or answer questions about code structure. Triggers on requests like "explore this codebase", "understand the project structure", "map out the architecture", or when quick file discovery is needed.

Overview

# Explore Codebase

Use Opencode's built-in Explore agent for fast, read-only codebase exploration.

When to Use

  • Initial codebase discovery and mapping
  • Finding files by patterns (e.g., "find all React components")
  • Understanding project structure and architecture
  • Quick code searches without modifying files
  • Answering questions about "where is X located?"

How to Use

Option 1: Invoke @explore Subagent

When running inside Opencode, invoke the Explore subagent directly:

```

@explore Find all API endpoints in this codebase

```

```

@explore Map out the database models and their relationships

```

```

@explore What authentication patterns are used here?

```

Option 2: CLI with Explore Agent

From the terminal, use the --agent explore flag:

```bash

opencode run --agent explore "Map out the project structure"

```

```bash

opencode run --agent explore "Find all test files"

```

```bash

opencode run --agent explore "What are the main components in src/?"

```

What Explore Agent Does

The Explore agent is:

  • Read-only - Cannot modify files (safe for exploration)
  • Fast - Optimized for quick searches and file discovery
  • Pattern-matching - Great for glob searches and keyword finding
  • Codebase mapping - Efficient at understanding structure

Common Patterns

Map entire codebase:

```

@explore Give me an overview of this project's architecture

```

Find specific files:

```

@explore Find all files related to authentication

```

Understand patterns:

```

@explore What testing framework is used and where are tests located?

```

Quick search:

```

@explore Search for where 'User' type is defined

```

Best Practices

  1. Start broad, then narrow - Ask for overall structure first
  2. Use specific terms - Name files, functions, or patterns explicitly
  3. Chain explorations - Use results to ask follow-up questions
  4. Combine with other agents - After exploring, switch to Build agent to make changes

Integration with Workflow

After exploring, transition to implementation:

```

@explore [your exploration query]

[Review results, then:]

Now let's implement the changes. [Switch to Build agent or continue with main agent]

```

More from this repository10

🎯
blog-post🎯Skill

Generates cybernetic developer blog posts in a dual-author MDX format with custom components and API/CLI publishing methods.

🎯
git-commit🎯Skill

Generates intelligent git commits using Conventional Commits, automatically analyzing code changes and creating semantic, descriptive commit messages.

🎯
git-commit-push🎯Skill

Automates Git workflow by staging changes, creating conventional commits, and pushing to the current branch's origin.

🎯
linear-status-check🎯Skill

Checks and validates the linear status of a project, ensuring sequential progression and identifying potential workflow disruptions.

🎯
code-review🎯Skill

Performs comprehensive code review analysis, identifying potential issues, best practices, and improvement suggestions across various programming languages.

🎯
git-create-branch🎯Skill

Creates a new Git branch with conventional naming, ensuring clear and structured branch management for different types of work.

🎯
load-handoff🎯Skill

Seamlessly loads and continues work from a HANDOFF.md file, reading context and preparing to execute next steps.

🎯
github-create-pr🎯Skill

Creates a GitHub pull request from a specified branch to another, with optional title, body, and assignee configuration.

🎯
create-handoff🎯Skill

Generates a comprehensive HANDOFF.md document to preserve project context, files, progress, and next steps for seamless continuation in a new AI session.

🎯
git-push-origin🎯Skill

Pushes a local Git branch to its remote origin (GitHub) for the first time, setting up upstream tracking.