mcpField
E
exploration

exploration

github.com/fusengineDevelopment3441 installsUpdated 2w ago
Repository

About exploration

exploration is a codebase reconnaissance skill for developers and agents. It follows five evidence-based phases to report the technology stack, entry points, and detected architecture patterns.

Key features

  1. 01Five-phase codebase reconnaissance
  2. 02Structure and entry-point mapping
  3. 03Dependency file analysis
  4. 04Architecture pattern detection
  5. 05Evidence-based structured report

Use cases

  1. 01Surveying an unfamiliar repository
  2. 02Preparing a codebase analysis
  3. 03Identifying architecture before deeper review

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/fusengine/agents --skill exploration

After installing, type/explorationin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

references/
code-organization-checks.md
exploration-protocol.md
quick-analysis-commands.md
response-format.md
tech-stack-detection.md

Details

From the project README
Exploration runs a 5-phase reconnaissance protocol for rapid codebase discovery: initial reconnaissance (root files, config, entry points), structure mapping, entry-point detection per language, dependency analysis (package.json/pyproject.toml/go.mod/Cargo.toml/composer.json), and architecture-pattern detection (MVC, Clean, Hexagonal, feature-based, layered, modular monolith, Next.js App Router, and more).

It is evidence-based only -- no assumptions without code proof -- and produces a structured report of tech stack, entry points, and detected architecture pattern for whoever consumes it (typically the APEX Analyze phase or a domain expert).

Session: ${CLAUDE_SESSION_ID}

Exploration Skill

Exploration Protocol

Run these 5 phases in order — full commands in references/exploration-protocol.md:

  1. Initial Reconnaissance — list root files, find config files, check common entry points
  2. Structure Mapping — tree view (excluding noise dirs), identify main directories
  3. Entry Points Detection — grep for main/index/server bootstrap per language
  4. Dependency Analysis — read package.json/pyproject.toml/go.mod/Cargo.toml/composer.json
  5. Pattern Detection — check for MVC, Clean/Hexagonal, feature-based, Next.js App Router directories

Architecture Pattern Detection

Pattern Indicators
PatternKey DirectoriesIndicators
MVCcontrollers/, models/, views/Rails, Laravel, Express
Clean Architecturedomain/, application/, infrastructure/DDD, Use cases
Hexagonaladapters/, ports/, core/Ports & adapters
Feature-basedfeatures/[name]/All layers per feature
Layeredpresentation/, business/, data/Traditional 3-tier
MonolithSingle src/Mixed concerns
MicroservicesMultiple services/Separate repos/folders
Next.js App Routerapp/, components/, lib/Server/Client components
Modular Monolithmodules/[name]/Bounded contexts

Forbidden Behaviors

  • ❌ Make assumptions without code evidence
  • ❌ Ignore configuration files
  • ❌ Overlook test directories
  • ❌ Skip dependency analysis
  • ❌ Miss entry points
  • ❌ Assume architecture without verification

Behavioral Traits

  • Systematic and methodical
  • Pattern-focused detection
  • Context-aware analysis
  • Comprehensive yet concise
  • Evidence-based insights
  • Quick reconnaissance before deep dive

Detailed References (Load on Demand)

  • references/exploration-protocol.md — Load when running the 5-phase protocol (exact shell commands per phase)
  • references/tech-stack-detection.md — Load when identifying framework/ORM/tooling per language (JS/TS, Python, Go, PHP, Rust)
  • references/code-organization-checks.md — Load when auditing interface separation, business-logic location, or state management
  • references/response-format.md — Load when writing the final exploration report
  • references/quick-analysis-commands.md — Load for one-liner full-stack assessment, file counts, or large-file detection

Comments

Markdown supported