AGENT SKILL

explore

Explores unfamiliar codebases, diagnoses problems, and provides contextual insights. Analyzes project structure, traces code logic, identifies issues, and generates actionable recommendations. Should be used when the user needs to explore or investigate a codebase — understanding project structure, diagnosing bugs, tracing feature implementation, or assessing code quality. Distinguished from context-learning which focuses on tracing specific code references, this skill focuses on project-wide exploration and diagnosis.

License 许可
MIT
最近更新
2026-04-18
Stars
★ 0
Forks
0

01 前言 Front Matter

name
explore
boundary
{ "vs_context-learning": "context-learning focuses on tracing specific code references within files, this skill focuses on project-wide exploration and diagnosis" }
category
coding
description
Explores unfamiliar codebases, diagnoses problems, and provides contextual insights. Analyzes project structure, traces code logic, identifies issues, and generates actionable recommendations. Should be used when the user needs to explore or investigate a codebase — understanding project structure, diagnosing bugs, tracing feature implementation, or assessing code quality. Distinguished from context-learning which focuses on tracing specific code references, this skill focuses on project-wide exploration and diagnosis.

02 资源文件 5

03 SKILL.md 正文

Code Exploration & Analysis

Core Capabilities

  • Codebase exploration — Analyze project structure, tech stack, dependency relationships
  • Problem diagnosis — Identify code issues, performance bottlenecks, potential bugs
  • Context research — Map code logic, call chains, module responsibilities
  • Solution recommendations — Provide fix suggestions, optimization approaches, best practices

When to Use

  • Exploring an unfamiliar codebase or project
  • Investigating a bug or unexpected behavior
  • Understanding how a feature is implemented
  • Assessing code quality or architectural health

When NOT to Use

  • Simple, single-file reads — just read the file directly
  • When you already know exactly which function to look at — use a targeted search instead
  • When you need a structured context analysis report — use context-learning instead

Workflow

Phase 1: Scope the Exploration

Before diving in, clarify:

  1. What's the question? — A specific bug? Architecture overview? Feature tracing?
  2. What's the scope? — A single file, a module, or the whole project?
  3. What's the context? — What does the user already know?

If the user's request is vague, ask one clarifying question rather than exploring blindly.

Phase 2: Structural Scan

Get the lay of the land before reading code in depth:

  • Directory structure — List directories to understand project organization
  • Tech stack — Check package.json, config files for frameworks and tools
  • Key files — Identify entry points, route definitions, state management setup

The goal is to form a mental map: where are things, and what are the main modules?

Phase 3: Targeted Deep Dive

Based on Phase 2, narrow down and read the relevant files:

  • Use semantic search for queries like "where is user authentication handled?"
  • Use text search for precise lookups (function names, variable definitions)
  • Use file reading for reading specific files in detail

For each file you read, extract:

  • What it does (purpose)
  • What it depends on (imports)
  • What depends on it (who calls it)

Phase 4: Synthesize & Report

Form conclusions from the evidence:

  1. Answer the original question directly
  2. Provide evidence — cite specific files and line numbers
  3. Give actionable recommendations — not just "this is bad" but "here's how to fix it"

Output Format

Reports should include:

  1. Problem statement — Brief description of what was explored and why
  2. Findings — What was discovered, with file references and line numbers
  3. Conclusions — Clear, direct answers to the original question
  4. Recommendations — Specific, actionable next steps

Keep reports concise. Don't paste large code blocks — summarize key points and reference file paths.


Quality Standards

  • All conclusions must be backed by code evidence
  • Recommendations must be specific and actionable
  • Analysis must be transparent and reproducible
  • Respect existing code style and architecture

Reference Files

04 同仓库更多 Skills

ImaginerLabs
ImaginerLabs/skill-manager

meeting-minutes

Generate concise, actionable meeting minutes for internal meetings. Includes metadata, attendees, agenda, decisions, action items (owner + due date), and follow-up steps.

★ 0
ImaginerLabs
ImaginerLabs/skill-manager

documentation-writer

Diátaxis Documentation Expert. An expert technical writer specializing in creating high-quality software documentation, guided by the principles and structure of the Diátaxis technical documentation authoring framework.

★ 0
ImaginerLabs
ImaginerLabs/skill-manager

doc-coauthoring

Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision docs, or similar structured content. This workflow helps users efficiently transfer context, refine content through iteration, and verify the doc works for readers. Trigger when user mentions writing docs, creating proposals, drafting specs, or similar documentation tasks.

★ 0
ImaginerLabs
ImaginerLabs/skill-manager

code-review-workflow

Executes comprehensive 4-phase code review: basic review, quality check, bundle analysis, and test coverage. Should be used when the user mentions comprehensive code review, checking code quality, or reviewing staged changes with multi-phase analysis. This is the comprehensive review workflow, distinct from focused skills like frontend-code-review, staged-code-review, or code-change-test-designer.

★ 0
ImaginerLabs
ImaginerLabs/skill-manager

code-change-test-designer

Analyzes code changes and designs comprehensive test cases. Reads diffs, summarizes capability changes, and designs test cases covering main flows and edge cases. Should be used when the user mentions test coverage, designing tests for code changes, or analyzing diff/commit for testing purposes. Distinguished from code-review-workflow which provides comprehensive review, this skill focuses on test case design for code changes.

★ 0
ImaginerLabs
ImaginerLabs/skill-manager

skill-creator

Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.

★ 0