╦═╗╔═╗╔═╗╔═╗ ╔╗ ╔═╗╔═╗╔╦╗╔═╗╔═╗╔╦╗╔═╗
╠╦╝║╣ ╠═╝║ ║ ╠╩╗║ ║║ ║ ║ ║ ╠═╣║║║╠═╝
╩╚═╚═╝╩ ╚═╝ ╚═╝╚═╝╚═╝ ╩ ╚═╝╩ ╩╩ ╩╩
Turn any GitHub, GitLab, or Bitbucket repository into a Day 1 onboarding kit
Features • Quick Start • How It Uses Copilot SDK • Examples
Table of contents
New developers joining a project waste days or weeks trying to understand: - How do I set up my environment? - What's the architecture? Where do I start reading? - What are safe first contributions? - Who do I ask when I'm stuck?
Most READMEs are outdated. Most wikis are incomplete. Most senior devs are too busy.
Repo Bootcamp uses agentic AI to analyze repositories from GitHub, GitLab, or Bitbucket and generate comprehensive, actionable onboarding documentation in under 60 seconds.
npx repo-bootcamp https://github.com/facebook/react
That's it. You get 14+ interconnected markdown files covering everything a new contributor needs.
https://github.com/Arthur742Ramos/repo-bootcamp/raw/main/media/demo-sonnet.mp4
Generate comprehensive onboarding docs in under 60 seconds
See CLI in action
╦═╗╔═╗╔═╗╔═╗ ╔╗ ╔═╗╔═╗╔╦╗╔═╗╔═╗╔╦╗╔═╗
╠╦╝║╣ ╠═╝║ ║ ╠╩╗║ ║║ ║ ║ ║ ╠═╣║║║╠═╝
╩╚═╚═╝╩ ╚═╝ ╚═╝╚═╝╚═╝ ╩ ╚═╝╩ ╩╩ ╩╩
Turn any repo into a Day 1 onboarding kit
──────────────────────────────────────────────────
Repository: https://github.com/sindresorhus/ky
Branch: default
Focus: all
Audience: backend
Style: OSS (Community-friendly)
──────────────────────────────────────────────────
✔ Cloned sindresorhus/ky (branch: main)
✔ Scanned 45 files (12 key files read)
Detected Stack:
Languages: TypeScript
Frameworks: None
Build: npm
CI: Yes
Docker: No
✔ Analysis complete
Security Score: 85/100 (B)
Onboarding Risk: 18/100 (A) 🟢
╔══════════════════════════════════════════════════════╗
║ ✓ Bootcamp Generated Successfully! ║
╚══════════════════════════════════════════════════════╝
📁 Output: ./bootcamp-ky/
Generated files:
├── BOOTCAMP.md → 1-page overview (start here!)
├── ONBOARDING.md → Full setup guide
├── ARCHITECTURE.md → System design & diagrams
├── CODEMAP.md → Directory tour
├── FIRST_TASKS.md → Starter issues
├── RUNBOOK.md → Operations guide
├── DEPENDENCIES.md → Dependency graph
├── SECURITY.md → Security findings
├── RADAR.md → Tech radar & risk score
├── IMPACT.md → Change impact analysis
├── METRICS.md → Codebase metrics & hotspots
├── HEALTH.md → Onboarding-readiness health check
├── diagrams.mmd → Mermaid diagrams
└── repo_facts.json → Structured data
🚀 Next step: open ./bootcamp-ky/BOOTCAMP.md
| Traditional Approach | Repo Bootcamp |
|---|---|
| Manual documentation takes days | Generated in < 60 seconds |
| Gets outdated immediately | Regenerate anytime |
| Inconsistent quality | Structured, validated output |
| Requires deep knowledge | Works on any public repo |
| Static documents | Interactive Q&A mode |
| No security insights | Built-in security analysis |
| Metric | Value |
|---|---|
| Generated files | 14+ |
| Test suite | 1,270+ tests |
| Source files | 59 TypeScript modules |
| Test files | 102 Vitest files |
| Lines of code | 18,326 TypeScript LOC (src/) |
| Languages supported | 10+ |
| Generation time | < 60 seconds |
Repo Bootcamp is a showcase of the GitHub Copilot SDK's agentic capabilities. Here's how we leverage the SDK:
The SDK enables Claude to autonomously explore repositories using custom tools:
import { CopilotClient } from "@github/copilot-sdk";
const client = new CopilotClient();
// Define tools the agent can use
const tools = [
{
name: "read_file",
description: "Read contents of a file in the repository",
parameters: { path: { type: "string" } }
},
{
name: "list_files",
description: "List files matching a glob pattern",
parameters: { pattern: { type: "string" } }
},
{
name: "search",
description: "Search for text across the codebase",
parameters: { query: { type: "string" } }
}
];
// Agent autonomously decides which files to read
const session = await client.createSession({
model: "claude-opus-4-5",
systemMessage: { content: systemPrompt },
tools,
streaming: true,
});
await session.sendAndWait({ prompt: analysisPrompt });
| Traditional LLM Approach | Copilot SDK Agentic Approach |
|---|---|
| Dump entire codebase into context | Agent selectively reads relevant files |
| Context window limits scalability | Works on repos of any size |
| Static, one-shot analysis | Dynamic, multi-turn exploration |
| No ability to search or drill down | Agent searches, reads, and follows references |
┌─────────────────────────────────────────────────────────────┐
│ GitHub Copilot SDK │
│ ┌─────────────┐ ┌─────────────┐ ┌─────────────────────┐ │
│ │ Claude │ │ Tools │ │ Streaming │ │
│ │ Models │ │ System │ │ Responses │ │
│ └──────┬──────┘ └──────┬──────┘ └──────────┬──────────┘ │
└─────────┼────────────────┼─────────────────────┼────────────┘
│ │ │
▼ ▼ ▼
┌─────────────────────────────────────────────────────────────┐
│ Repo Bootcamp Agent │
│ │
│ "Read package.json" → "Search for test files" → │
│ "Read src/index.ts" → "Find CI workflow" → │
│ "Generate structured onboarding JSON" │
└─────────────────────────────────────────────────────────────┘
The Copilot SDK transforms what would be a simple template-filler into an intelligent agent that understands code structure, identifies patterns, and produces genuinely useful onboarding documentation.
fast-glob traversal while honoring skip directories and file limitsbootcamp docs --check, and auto-fix with --fixbootcamp cache list|prune|clear (with --json listing for scripts)METRICS.md with language breakdown, largest-file hotspots, test-to-source ratio, and an Approachability score (0-100 + grade)HEALTH.md scoring onboarding-readiness across documentation, community, quality, and automation signals (0-100 + grade) with prioritized, actionable recommendationsbootcamp doctor (--json for CI)bootcamp scan reports health, metrics, security, and onboarding risk from a single clone, with a --check CI gate on the lowest scorebootcamp coupling ranks modules by import coupling to reveal the load-bearing core, orchestrator hubs, and possibly-orphaned dead codebootcamp cycles finds circular import groups (Tarjan SCC) on the import graph, with a --check CI gatebootcamp preflight checks your machine against the target repo's declared toolchain (Node, package manager, Python, Go) with a per-row remedybootcamp owners parses CODEOWNERS to answer "who do I ask?" with default owners, per-area maintainers, and top committersbootcamp styles lists the built-in style packs and the doc sections each one enables--compare or analyze pull requests with bootcamp diffBOOTCAMP.md - 1-page overview
# sindresorhus/ky Bootcamp
> Tiny Fetch-based HTTP client with ergonomic helpers, retries, and hooks.
## Quick Facts
| | |
|---|---|
| **Languages** | TypeScript |
| **Frameworks** | None |
| **Build System** | npm |
## Quick Start
1. Install dependencies: npm install
2. Run tests: npm test
3. Build: npm run build
## If You Only Have 30 Minutes
1. Read this document
2. Run `npm install && npm test`
3. Pick a starter task from FIRST_TASKS.md
ARCHITECTURE.md - System design with diagrams
```markdown
```mermaid graph TD A[ky.ts] --> B[Ky Class] B --> C[request] B --> D[retry logic] B --> E[hooks] C -
$ claude mcp add repo-bootcamp \
-- python -m otcore.mcp_server <graph>