onboard
Analyze brownfield codebase and create initial continuity ledger
它会碰到什么
扫了多少1 个文本文件,2 KB
它会碰到什么不碰外部(只输出文字)
命中总数0 处
命中统计严重 0 · 高 0 · 中 0 · 低 0
这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。
技能内容
Onboard - Project Discovery & Ledger Creation
Analyze a brownfield codebase and create an initial continuity ledger.
When to Use
- First time working in an existing project
- User says "onboard", "analyze this project", "get familiar with codebase"
How to Use
Spawn the onboard agent:
Use the Task tool with subagent_type: "onboard" and this prompt:
Onboard me to this project at $CLAUDE_PROJECT_DIR.
1. Create required directories if they don't exist:
mkdir -p thoughts/shared/handoffs/<project-name> .claude
2. Explore the codebase using available tools:
- Try: tldr tree . && tldr structure .
- Fallback: find . -type f -name "*.py" -o -name "*.ts" -o -name "*.js" | head -50
3. Detect tech stack (look for package.json, requirements.txt, Cargo.toml, go.mod, etc.)
4. Ask the user about their goals using AskUserQuestion
5. Create a YAML handoff at thoughts/shared/handoffs/<project-name>/onboard-<date>.yaml:
---
date: <ISO date>
type: onboard
status: active
---
goal: <user's stated goal>
now: Start working on <first priority>
tech_stack: [list of detected technologies]
key_files:
- path: <important file>
purpose: <what it does>
architecture: <brief description>
next:
- <suggested first action>
Why an Agent?
The onboard process:
- Requires multiple exploration steps
- Should not pollute main context with codebase dumps
- Returns a clean summary + creates the handoff
Output
- Directories created:
thoughts/shared/handoffs/<project>/,.claude/ - YAML handoff created (loaded automatically on session start)
- User has clear starting context
- Ready to begin work with full project awareness
Notes
- This skill is for BROWNFIELD projects (existing code)
- For greenfield, use
/create_planinstead - Handoff can be updated anytime with
/create_handoff
想直接用这个技能?
本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。