microsoft/wiki-onboarding
Generates four audience-tailored onboarding guides in an onboarding/ folder — Contributor, Staff Engineer, Executive, and Product Manager. Use when the user wants onboarding documentation for a codebase.
npx skills add https://github.com/microsoft/skills --skill wiki-onboarding
Generate four audience-tailored onboarding documents in an onboarding/ folder, each giving a different stakeholder exactly the understanding they need.
Before generating any guides, you MUST determine the source repository context:
git remote get-url origin to detect if a remote existsREPO_URL, use linked citations: file:line(file_path:line_number)git rev-parse --abbrev-ref HEAD/deep-wiki:onboard commandGenerate an onboarding/ folder with these files:
onboarding/
├── index.md # Onboarding hub — links to all 4 guides with audience descriptions
├── contributor-guide.md # For new contributors (assumes Python or JS background)
├── staff-engineer-guide.md # For staff/principal engineers
├── executive-guide.md # For VP/director-level engineering leaders
└── product-manager-guide.md # For product managers and non-engineering stakeholders
index.md — Onboarding HubA landing page with:
| Guide | Audience | What You'll Learn | Time |
|-------|----------|-------------------|------|
| Contributor Guide | New contributors with Python/JS experience | Setup, first PR, codebase patterns | ~30 min |
| Staff Engineer Guide | Staff/principal engineers | Architecture, design decisions, system boundaries | ~45 min |
| Executive Guide | VP/directors of engineering | Capabilities, risks, team topology, investment thesis | ~20 min |
| Product Manager Guide | Product managers | Features, user journeys, constraints, data model | ~20 min |
Scan the repository for build files to determine the primary language for code examples:
package.json / tsconfig.json → TypeScript/JavaScript*.csproj / *.sln → C# / .NETCargo.toml → Rustpyproject.toml / setup.py / requirements.txt → Pythongo.mod → Gopom.xml / build.gradle → JavaFile: onboarding/contributor-guide.md
Audience: Engineers joining the project. Assumes proficiency in Python or JavaScript and general software engineering experience.
Length: 1000–2500 lines. Progressive — each section builds on the last.
Part I: Foundations (skip if repo uses Python or JS)
Part II: This Codebase
graph TB architecture overview.erDiagram for data model.sequenceDiagram (with autonumber) tracing a typical request end-to-end.Part III: Getting Productive
10. Development Workflow — Branch strategy, commit conventions, PR process. Use flowchart diagram.
11. Running Tests — All tests, single file, single test, coverage commands
12. Debugging Guide — Common issues table: Symptom, Cause, Fix
13. Common Pitfalls — Mistakes every new contributor makes and how to avoid them
Appendices
<!-- Sources: ... --> comment block after eachFile: onboarding/staff-engineer-guide.md
Audience: Staff/principal engineers who need the "why" behind every decision. Deep systems experience, may not know this repo's language.
Length: 800–1200 lines. Dense, opinionated, architectural.
graph TB diagram. Call out the "heart" of the system.erDiagram of core entities. Data invariants table: Entity, Invariant, Enforced By, Source.classDiagram showing load-bearing abstractions.sequenceDiagram (with autonumber) showing typical request from entry to response.stateDiagram-v2 for entities with meaningful lifecycle states.10. Data Flow & State — How data moves through the system. Storage comparison table.
11. Failure Modes & Error Handling — flowchart for error propagation paths.
12. Performance Characteristics — Bottlenecks, scaling limits, hot paths.
13. Security Model — Auth, authorization, trust boundaries, data sensitivity.
14. Testing Strategy — What's tested, what isn't, testing philosophy.
15. Known Technical Debt — Table: Issue, Risk Level, Affected Files, Source.
16. Where to Go Deep — Recommended reading order of source files, links to wiki sections.
Task<T> = Awaitable[T])<!-- Sources: ... --> comment blockFile: onboarding/executive-guide.md
Audience: VP/director of engineering. Needs capability overview, risk assessment, and investment context — NOT code-level details.
Length: 400–800 lines. Strategic, concise, decision-oriented.
graph LR diagram. Services, data stores, external integrations — NO internal code details. Focus on deployment units and team boundaries.graph TB showing critical external dependencies. Table: Dependency, Type (Service/Library/Platform), Risk if Unavailable.10. Roadmap Alignment — Engineering workstreams mapped to business priorities. What's in progress, what's planned, what's blocked.
11. Technical Debt Summary — Top 5 debt items with business impact. Table: Issue, Business Impact, Effort to Fix, Priority.
12. Recommendations — 3-5 actionable recommendations for the next quarter, prioritized by impact.
File: onboarding/product-manager-guide.md
Audience: Product managers and non-engineering stakeholders. Needs to understand what the system does, what's possible, and where the boundaries are — NOT how it's built.
Length: 400–800 lines. User-centric, feature-focused, constraint-aware.
graph LR or journey diagram showing primary user flows through the systemerDiagram showing entities users interact with. Explain in business terms (e.g., "A Project has many Documents" not "FK relationship").10. Glossary — Domain terms explained in plain language (not engineering jargon)
11. FAQ — 10+ common questions a PM would ask, answered concisely
ALL diagrams must use dark-mode colors:
#2d333b, borders: #6d5dfc, text: #e6edf3#161b22, borders: #30363d#8b949estyle directives, use dark fills with ,color:#e6edf3<br/> in Mermaid labels (use <br> or line breaks)After generating each guide, verify:
List<T>) outside code fences — wrap in backticksTake microsoft/wiki-onboarding from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.