Onboard

parcadei/continuous-claude-v3/.claude/skills/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 从公开仓库中收录这些内容。

举报或申请下架