Generate a self-paced onboarding course for a new hire
When to use: Friday after offer accepted: you want a real onboarding artifact instead of 'go read the code'.
Prerequisites
- Skill installed — git clone https://github.com/zarazhangrui/codebase-to-course ~/.claude/skills/codebase-to-course
- Repo checked out — Standard git clone
Flow
-
Scan repocodebase-to-course: scan ./our-app. Output the proposed course structure first — section list — before writing.✓ Copied→ Concrete TOC: architecture, modules, request flows
-
Generate courseLooks good. Generate the full HTML to /onboarding/course.html. Target audience: new full-stack hire who knows React + Node but not our domain.✓ Copied→ HTML file generated; opens in browser
-
Verify accuracySpot-check: does the 'auth flow' walkthrough match what's actually in src/auth/? Quote the real code.✓ Copied→ Walkthrough cites real file paths and current code
Outcome: A real onboarding artifact that saves the team 2 weeks of explaining.
Pitfalls
- Course is too long to actually read — Specify max sections; quality over completeness
- Code excerpts go stale — Regenerate after major refactors; the skill is fast