codebase-onboarding
alirezarezvani/claude-skills
コードベースを分析し、エンジニア、テクニカルリード、および契約社員向けのオンボーディング資料を作成します。迅速な情報収集と再現性のある成果物を提供します。
...すべて拡張しますコードベースの導入
ティア:POWERFUL
カテゴリ:エンジニアリング
分野:ドキュメント / 開発者体験
概要
コードベースを分析し、エンジニア、テクニカルリード、および契約社員向けのオンボーディングドキュメントを生成します。このスキルは、迅速な情報収集と再現性のあるオンボーディング成果物の生成に最適化されています。
中核機能
- リポジトリのシグナルに基づくアーキテクチャおよびスタックの特定
- 新規コントリビューター向けの主要ファイルおよび設定情報のリストアップ
- ローカル環境のセットアップおよび一般的なタスクに関するガイダンスの生成
- 対象者に応じたドキュメント構成の策定
- デバッグおよび貢献チェックリストの骨組み作成
使用すべき場面
- 新しいチームメンバーや契約社員の受け入れ時
- 大規模なリファクタリング後の、古くなったプロジェクトドキュメントの再構築時
- 社内での引き継ぎドキュメントの作成
- サービス向けの標準化されたオンボーディング資料の作成
クイックスタート
# 1) コードベースの情報を収集する
python3 scripts/codebase_analyzer.py /path/to/repo
# 2) 機械可読形式の出力をエクスポートする
python3 scripts/codebase_analyzer.py /path/to/repo --json
# 3) テンプレートを使用してオンボーディングドキュメントの草案を作成する
# references/onboarding-template.md を参照
推奨ワークフロー
- 対象のリポジトリに対して
scripts/codebase_analyzer.pyを実行します。 - 重要な情報を把握します:ファイル数、検出された言語、設定ファイル、トップレベルの構造。
references/onboarding-template.mdにあるオンボーディング用テンプレートに情報を記入します。- 対象者に応じて出力の詳細度を調整する:
- ジュニア:セットアップ+基本ガイドライン
- シニア:アーキテクチャ + 運用上の課題
- 契約社員:範囲を定めた責任範囲+統合作業の境界
オンボーディング文書テンプレート
詳細なテンプレートと各セクションの例はこちら:
references/onboarding-template.mdreferences/output-format-templates.md
よくある落とし穴
- クリーンな環境でセットアップコマンドの検証を行わずにドキュメントを作成してしまうこと
- アーキテクチャの詳細解説と、外部委託者向けのドキュメントを混在させること
- トラブルシューティングや検証手順の省略
- オンボーディングドキュメントの内容が現在のリポジトリの状態から乖離してしまう
ベストプラクティス
- セットアップ手順は実行可能かつ所要時間が明確なものにする。
- 重要なアーキテクチャ上の決定について、「その理由」を文書化する。
- 動作の変更と同じプルリクエストでドキュメントを更新する。
- オンボーディングドキュメントを、一度きりの成果物ではなく、常に更新される運用資産として扱う。
---
name: codebase-onboarding
description: Analyze a codebase and generate onboarding documentation for engineers, tech leads, and contractors, with fast fact-gathering and repeatable outputs.
---
# Codebase Onboarding
**Tier:** POWERFUL
**Category:** Engineering
**Domain:** Documentation / Developer Experience
---
## Overview
Analyze a codebase and generate onboarding documentation for engineers, tech leads, and contractors. This skill is optimized for fast fact-gathering and repeatable onboarding outputs.
## Core Capabilities
- Architecture and stack discovery from repository signals
- Key file and config inventory for new contributors
- Local setup and common-task guidance generation
- Audience-aware documentation framing
- Debugging and contribution checklist scaffolding
---
## When to Use
- Onboarding a new team member or contractor
- Rebuilding stale project docs after large refactors
- Preparing internal handoff documentation
- Creating a standardized onboarding packet for services
---
## Quick Start
```bash
# 1) Gather codebase facts
python3 scripts/codebase_analyzer.py /path/to/repo
# 2) Export machine-readable output
python3 scripts/codebase_analyzer.py /path/to/repo --json
# 3) Use the template to draft onboarding docs
# See references/onboarding-template.md
```
---
## Recommended Workflow
1. Run `scripts/codebase_analyzer.py` against the target repository.
2. Capture key signals: file counts, detected languages, config files, top-level structure.
3. Fill the onboarding template in `references/onboarding-template.md`.
4. Tailor output depth by audience:
- Junior: setup + guardrails
- Senior: architecture + operational concerns
- Contractor: scoped ownership + integration boundaries
---
## Onboarding Document Template
Detailed template and section examples live in:
- `references/onboarding-template.md`
- `references/output-format-templates.md`
---
## Common Pitfalls
- Writing docs without validating setup commands on a clean environment
- Mixing architecture deep-dives into contractor-oriented docs
- Omitting troubleshooting and verification steps
- Letting onboarding docs drift from current repo state
## Best Practices
1. Keep setup instructions executable and time-bounded.
2. Document the "why" for key architectural decisions.
3. Update docs in the same PR as behavior changes.
4. Treat onboarding docs as living operational assets, not one-time deliverables.
すべてのファイル
0件のファイルcodebase-onboardingをインストール
スキルファイルをダウンロードし、.claude/skills/ ディレクトリに解凍してください。
ZIPをダウンロードリポジトリをクローンし、スキルファイルをプロジェクトにコピーしてください。
git clone https://github.com/alirezarezvani/claude-skills/tree/main/engineering/skills/codebase-onboarding # Copy SKILL.md to your .claude/skills/ directory
コピー





家
