Wiki Onboarding Guide Generator
Generate two complementary onboarding documents that together give any engineer — from newcomer to principal — a complete understanding of a codebase.
When to Use
- User asks for onboarding docs or getting-started guides
- User runs
/deep-wiki:onboard command
- User wants to help new team members understand a codebase
Language Detection
Scan the repository for build files to determine the primary language for code examples:
package.json / tsconfig.json → TypeScript/JavaScript
*.csproj / *.sln → C# / .NET
Cargo.toml → Rust
pyproject.toml / setup.py / requirements.txt → Python
go.mod → Go
pom.xml / build.gradle → Java
Guide 1: Principal-Level Onboarding
Audience: Senior/staff+ engineers who need the "why" behind decisions.
Required Sections
- System Philosophy & Design Principles — What invariants does the system maintain? What were the key design choices and why?
- Architecture Overview — Component map with Mermaid diagram. What owns what, communication patterns.
- Key Abstractions & Interfaces — The load-bearing abstractions everything depends on
- Decision Log — Major architectural decisions with context, alternatives considered, trade-offs
- Dependency Rationale — Why each major dependency was chosen, what it replaced
- Data Flow & State — How data moves through the system (traced from actual code, not guessed)
- Failure Modes & Error Handling — What breaks, how errors propagate, recovery patterns
- Performance Characteristics — Bottlenecks, scaling limits, hot paths
- Security Model — Auth, authorization, trust boundaries, data sensitivity
- Testing Strategy — What's tested, what isn't, testing philosophy
- Operational Concerns — Deployment, monitoring, feature flags, configuration
- Known Technical Debt — Honest assessment of shortcuts and their risks
Rules
- Every claim backed by
(file_path:line_number) citation
- Minimum 3 Mermaid diagrams (architecture, data flow, dependency graph)
- All Mermaid diagrams use dark-mode colors (see wiki-vitepress skill)
- Focus on WHY decisions were made, not just WHAT exists
Guide 2: Zero-to-Hero Contributor Guide
Audience: New contributors who need step-by-step practical guidance.
Required Sections
- What This Project Does — 2-3 sentence elevator pitch
- Prerequisites — Tools, versions, accounts needed
- Environment Setup — Step-by-step with exact commands, expected output at each step
- Project Structure — Annotated directory tree (what lives where and why)
- Your First Task — End-to-end walkthrough of adding a simple feature
- Development Workflow — Branch strategy, commit conventions, PR process
- Running Tests — How to run tests, what to test, how to add a test
- Debugging Guide — Common issues and how to diagnose them
- Key Concepts — Domain-specific terminology explained with code examples
- Code Patterns — "If you want to add X, follow this pattern" templates
- Common Pitfalls — Mistakes every new contributor makes and how to avoid them
- Where to Get Help — Communication channels, documentation, key contacts
- Glossary — Terms used in the codebase that aren't obvious
- Quick Reference Card — Cheat sheet of most-used commands and patterns
Rules
- All code examples in the detected primary language
- Every command must be copy-pasteable
- Include expected output for verification steps
- Use Mermaid for workflow diagrams (dark-mode colors)
- Ground all claims in actual code — cite
(file_path:line_number)
When to Use
This skill is applicable to execute the workflow or actions described in the overview.
Limitations
- Use this skill only when the task clearly matches the scope described above.
- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
1---2name: wiki-onboarding3description: Generate two complementary onboarding documents that together give any engineer — from newcomer to principal — a complete understanding of a codebase. Use when user asks for onboarding docs or getting-started guides, user runs /deep-wiki, or user wants to help new team members understand a codebase.4---5
6# Wiki Onboarding Guide Generator
7
8Generate two complementary onboarding documents that together give any engineer — from newcomer to principal — a complete understanding of a codebase.
9
10## When to Use
11- User asks for onboarding docs or getting-started guides
12- User runs `/deep-wiki:onboard` command
13- User wants to help new team members understand a codebase
14
15## Language Detection
16
17Scan the repository for build files to determine the primary language for code examples:
18- `package.json` / `tsconfig.json` → TypeScript/JavaScript
19- `*.csproj` / `*.sln` → C# / .NET
20- `Cargo.toml` → Rust
21- `pyproject.toml` / `setup.py` / `requirements.txt` → Python
22- `go.mod` → Go
23- `pom.xml` / `build.gradle` → Java
24
25## Guide 1: Principal-Level Onboarding
26
27**Audience**: Senior/staff+ engineers who need the "why" behind decisions.
28
29### Required Sections
30
311. **System Philosophy & Design Principles** — What invariants does the system maintain? What were the key design choices and why?
322. **Architecture Overview** — Component map with Mermaid diagram. What owns what, communication patterns.
333. **Key Abstractions & Interfaces** — The load-bearing abstractions everything depends on
344. **Decision Log** — Major architectural decisions with context, alternatives considered, trade-offs
355. **Dependency Rationale** — Why each major dependency was chosen, what it replaced
366. **Data Flow & State** — How data moves through the system (traced from actual code, not guessed)
377. **Failure Modes & Error Handling** — What breaks, how errors propagate, recovery patterns
388. **Performance Characteristics** — Bottlenecks, scaling limits, hot paths
399. **Security Model** — Auth, authorization, trust boundaries, data sensitivity
4010. **Testing Strategy** — What's tested, what isn't, testing philosophy
4111. **Operational Concerns** — Deployment, monitoring, feature flags, configuration
4212. **Known Technical Debt** — Honest assessment of shortcuts and their risks
43
44### Rules
45- Every claim backed by `(file_path:line_number)` citation
46- Minimum 3 Mermaid diagrams (architecture, data flow, dependency graph)
47- All Mermaid diagrams use dark-mode colors (see wiki-vitepress skill)
48- Focus on WHY decisions were made, not just WHAT exists
49
50## Guide 2: Zero-to-Hero Contributor Guide
51
52**Audience**: New contributors who need step-by-step practical guidance.
53
54### Required Sections
55
561. **What This Project Does** — 2-3 sentence elevator pitch
572. **Prerequisites** — Tools, versions, accounts needed
583. **Environment Setup** — Step-by-step with exact commands, expected output at each step
594. **Project Structure** — Annotated directory tree (what lives where and why)
605. **Your First Task** — End-to-end walkthrough of adding a simple feature
616. **Development Workflow** — Branch strategy, commit conventions, PR process
627. **Running Tests** — How to run tests, what to test, how to add a test
638. **Debugging Guide** — Common issues and how to diagnose them
649. **Key Concepts** — Domain-specific terminology explained with code examples
6510. **Code Patterns** — "If you want to add X, follow this pattern" templates
6611. **Common Pitfalls** — Mistakes every new contributor makes and how to avoid them
6712. **Where to Get Help** — Communication channels, documentation, key contacts
6813. **Glossary** — Terms used in the codebase that aren't obvious
6914. **Quick Reference Card** — Cheat sheet of most-used commands and patterns
70
71### Rules
72- All code examples in the detected primary language
73- Every command must be copy-pasteable
74- Include expected output for verification steps
75- Use Mermaid for workflow diagrams (dark-mode colors)
76- Ground all claims in actual code — cite `(file_path:line_number)`
77
78## When to Use
79This skill is applicable to execute the workflow or actions described in the overview.
80
81## Limitations
82- Use this skill only when the task clearly matches the scope described above.
83- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
84- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.