Onboard

作者 parcadeid07ff4b06b62無授權條款3.9K 個星標收錄於 2026年10月8日更新於 2026年10月8日儲存庫8 個月前更新

Analyze brownfield codebase and create initial continuity ledger

僅含說明AI & Agents
AI 產生的概覽

分析既有程式碼庫,並產出一份初始的 YAML 延續性交接文件,概述技術棧、關鍵檔案與目標。

功能
此技能引導對既有(brownfield)專案進行一次入門梳理。它指示代理建立交接目錄與 .claude 目錄,使用 tldr 或 find 等工具探索程式碼庫,依資訊清單檔案辨識技術棧,並向使用者詢問其目標。接著它會寫出一份帶日期的 YAML 交接文件,內含目標、技術棧、關鍵檔案、架構說明與建議的後續動作。
適用情境
首次在既有專案中工作時使用,或當使用者要求入門、分析此專案、熟悉程式碼庫時使用。它適用於已有程式碼的 brownfield 專案,而非新專案。
執行需求
不隨附指令碼,僅為指示。它依賴代理的 Task 工具(subagent_type 為 onboard)、程式碼庫探索工具(優先 tldr,備援為 find),以及建立目錄與寫入 YAML 檔案的能力。它也會透過 AskUserQuestion 步驟蒐集使用者目標。

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_plan instead
  • Handoff can be updated anytime with /create_handoff

來源與署名

來源:parcadei/continuous-claude-v3位於.claude/skills/onboard提交d07ff4b

授權條款: 無授權條款

內容歸原作者所有。SourceWeft 從公開儲存庫中收錄這些內容。

檢舉或申請下架