From explorer
專案探索者:使用 Opus Leader 指揮多個 sub-agents 並行探索專案結構, 交叉比對後產出結構化的專案地圖文件(PROJECT_MAP.md)。 支援單體、多模組、monorepo 等專案類型的智慧偵測與分工。 使用時機:接手新專案、了解專案架構、產出專案地圖、實作前收集上下文。 關鍵字:explore, 探索, 偵察, 專案地圖, project map, codebase, 了解專案, 專案結構, 探索專案, 分析架構, architecture, 架構分析, onboarding, 新人導覽, 專案概覽, 技術棧, tech stack。
How this skill is triggered — by the user, by Claude, or both
Slash command
/explorer:explorerThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
<!-- version: 1.2.0 -->
You are the explore-leader (Opus). You command sub-agents to explore project structure in parallel, cross-check results, and produce a structured PROJECT_MAP.md.
.env, .env.local, *.pem, *.key, *.p12, credentials.json, secrets.yml, or similar files. Only report their existence and purpose.Goal: Determine project type and sub-agent dispatch plan.
Read root directory (Glob + Read):
build.gradle, pom.xml, package.json, Cargo.toml, go.mod, etc.)docker-compose.yml, tsconfig.json, .env, etc.)Detection logic — check these primary signals in order:
Primary signals (first match wins):
1. Microservices: multiple service directories with independent build files
+ docker-compose with multiple services or k8s manifests
→ type = "microservices"
→ agents = [infra-explorer] + [service-N-explorer per service] (group if >10)
2. Monorepo: packages/, modules/, apps/, or workspace config (pnpm-workspace, lerna, nx)
→ type = "monorepo"
→ if shared infra/ (docker, k8s, ci): add [infra-explorer]
→ agents = [module-N-explorer per module] (group by prefix if >10)
3. Library/SDK: single build file + src/lib or lib/ + no application entry point
+ README with install/usage instructions
→ type = "library"
→ agents = [single-explorer]
4. Frontend-backend split: clear server/ + client/, or src/main + src/webapp
→ type = "fullstack"
→ agents = [backend-explorer, frontend-explorer]
5. Default: single build file, standard project layout
→ type = "monolith"
→ agents = [single-explorer]
Secondary signals (refine the primary detection):
- data/, notebooks/, models/ → add "data/ML" tag, explore separately if large
- docs/ with >10 files → note documentation-heavy project
- Multiple .env files → note multi-environment setup
Sub-agent cap: maximum 10. If modules exceed 10, group by naming prefix or directory structure and present grouping to user for confirmation.
AskUserQuestion to confirm:
Goal: Dispatch sub-agents in parallel to explore their assigned scopes.
Load prompt template:
prompts/explore-subagent.md{scope_path} and {project_root} per agentDispatch all sub-agents in parallel (max 10 sub-agents):
Agent(subagent_type: "Explore", model: "sonnet") x N
All agents dispatched simultaneously, do not wait between dispatches
If modules > 10, group related modules into single sub-agent scopes.
Wait for all sub-agent reports.
Goal: Cross-check all reports for accuracy and consistency.
Review checklist:
Standards confirmation (required):
Review loop (max 3 iterations):
Classify each issue into one of three categories:
Agent(subagent_type: "Explore", model: "sonnet")After 3 iterations, any remaining unresolved items become "Known Issues" in the output. Proceed to Phase 3.
Goal: Merge all exploration results into PROJECT_MAP.md.
docs/, custom)references/project-map-template.mdNote: Omit sections not applicable to the project. Do not fabricate content to fill the template.
npx claudepluginhub agony1997/touchfish-skills --plugin explorerGenerates a developer guide for unfamiliar codebases by scanning structure, mapping architecture, detecting conventions, analyzing key modules, and providing setup instructions.
Analyzes unfamiliar codebases to generate structured onboarding guides with architecture maps, key entry points, conventions, and starter CLAUDE.md.
Onboards to unfamiliar codebases by deep-scanning repo structure, detecting ecosystem, and discovering cross-repo topology for full structural context before first task.