在 Manus 中运行任何 Skill
一键导入
一键导入
一键在 Manus 中运行任何 Skill
开始使用explore-code
星标2
分支0
更新时间2026年3月12日 14:31
Methodical codebase exploration and understanding
安装
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
SKILL.md
readonly菜单
Methodical codebase exploration and understanding
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | explore-code |
| description | Methodical codebase exploration and understanding |
| argument-hint | ["what to explore"] |
| context | fork |
| agent | Explore |
Classify the exploration request into one of these categories:
| Query Type | Examples | Primary Tools |
|---|---|---|
| File search | "where is the auth module?", "find all controllers" | Glob |
| Flow trace | "how does login work?", "what happens when a user signs up?" | Read, Grep |
| Pattern search | "where do we use Redis?", "find all API endpoints" | Grep |
| Dependency map | "what depends on UserService?", "what does this module import?" | Grep, Read |
| Architecture overview | "how is the project structured?", "explain the folder layout" | Glob, Read |
src/**/*{keyword}*src/src/**/* to see folder structurepackage.json, config files, main entry pointStart broad, then narrow down:
Round 1: Wide search → identify relevant areas
Round 2: Focused reads → understand specific files
Round 3: Cross-references → trace connections between files
Stop criteria:
Depth limits:
### Files Found: {query}
| # | File | Purpose | Last Modified |
|---|------|---------|---------------|
| 1 | `{path}` | {brief description} | {date} |
| 2 | `{path}` | {brief description} | {date} |
**Key file**: `{path}:{line}` — {why this is the main one}
### Flow: {description}
**Entry point**: `{file}:{line}`
{step1} → {step2} → {step3} → {step4}
#### Step-by-step
1. **{layer}** — `{file}:{line}`: {what happens}
2. **{layer}** — `{file}:{line}`: {what happens}
3. **{layer}** — `{file}:{line}`: {what happens}
#### Data transformations
- Input: `{type/shape}`
- Processing: `{key transformations}`
- Output: `{type/shape}`
#### Error handling
- `{file}:{line}`: {what errors are caught and how}
### Pattern: {query}
**Total matches**: {N} across {M} files
| # | File | Line | Match Context |
|---|------|------|---------------|
| 1 | `{path}` | {line} | `{matched code snippet}` |
#### Grouped by module
- **{module}**: {N} occurrences — {pattern description}
### Dependencies: {module}
#### Upstream (uses {module})
| File | How it's used |
|------|---------------|
| `{path}:{line}` | {import/usage description} |
#### Downstream ({module} depends on)
| Dependency | Purpose |
|-----------|---------|
| `{module}` | {why it's needed} |
#### Dependency diagram
{module A} ──→ **{target}** ──→ {module B}
↑ ↓
{module C} {module D}
file:line references for every findingFinish feature with tests, commit, and session closure
Start feature with branch and session tracking
Interactive wizard to configure the project
System-wide code audit with 8 modules
Environment-aware deployment with pre/post checks
Bug fix workflow with 3-hypothesis debugging protocol