From Onboarding Generator
Generate a structured ONBOARDING.md for the current repository. Runs an inventory script to build a language-aware structural map (languages, frameworks, entry points, scripts, docs, infrastructure, monorepo layout), reads only the files the inventory surfaces, then writes prose that reads like a knowledgeable teammate over coffee - not generated documentation. Always regenerates from scratch; no diffing against the previous file. Triggers: onboarding doc, write ONBOARDING.md, generate project onboarding, new engineer guide, fresh session primer.
How this skill is triggered — by the user, by Claude, or both
Slash command
/onboarding:onboardingThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Produce a single file at the repo root: `ONBOARDING.md`. The file is the deliverable. The skill does not modify any other documentation.
Produce a single file at the repo root: ONBOARDING.md. The file is the deliverable. The skill does not modify any other documentation.
README.md alone no longer answers "how do I ship a change here today?"Do NOT run for:
Always start with the inventory script. It is cheap and the writer depends on its output.
node ~/.claude/scripts/inventory.mjs "$PWD" --pretty
If the command errors or returns a shallow inventory (no languages, no frameworks, no scripts), STOP and ask the user what kind of repo this is. Do not guess. A wrong onboarding doc is worse than no onboarding doc.
The inventory JSON contains:
name, description, languages, frameworks, packageManagermonorepo (isMonorepo, tool, workspaces)entryPoints (web, node-main, bin, ext-background, ext-content, python, go, rust)scripts (package.json scripts plus Makefile targets)docs (README, CLAUDE.md, docs/*, ARCHITECTURE.md, etc.)infrastructure (docker, cloudflare-workers, github-actions, husky, ...)testRunners, envExample, topLevelDirs, notesRead the specific files the inventory points at:
docs[] (they often already contain the answer; link, do not duplicate).package.json (or equivalent manifest) for the scripts and dependency context.CLAUDE.md and/or AGENTS.md at the repo root (the tone and project conventions live there).Do NOT glob-read every source file. Do NOT read lockfiles. Do NOT read generated build output.
If the inventory lists a monorepo, pick the two or three workspace packages that look like the primary entry points (by scripts, entry points, or dependency surface) and sketch them. Do not enumerate every package.
Always regenerate from scratch. Never diff against a prior ONBOARDING.md - regeneration keeps the voice consistent and avoids fossilized claims. If a prior ONBOARDING.md exists, overwrite it.
The output has six sections in this exact order:
.env.example - never paste values), first-run command.postinstall, prepare, lint:fix unless meaningful). If a command has an obvious gotcha, note it in one clause.clone, workspace, agent-id go here when the repo uses them.Link to files with relative paths. Use file.ts:42 when pointing at a specific line.
These are non-negotiable. The output should read like a knowledgeable teammate explaining the repo over coffee.
npm run dev" not "You can run npm run dev to start the development server."req.user from the JWT in Authorization" not "Authentication is handled by the middleware layer."CLAUDE.md is terse and jokey, match it. If it is formal, match that. Read the existing tone before writing..env.example and move on.docs/architecture.md, point there. The goal is orientation, not a second copy of the docs.# Onboarding (or # {name} Onboarding) and goes straight to the Overview. No "Welcome!" No "This document will help you..."Refuse to produce output in these shapes, even if the user asks. Say what you are doing differently and continue.
.env values. Ever. Link to the example file.After writing, re-read the file once before finalizing:
docs[] / entryPoints[]).Then write to ONBOARDING.md at the repo root. Report file path and line count. Done.
--dry-run to the containing command - the skill prints the draft to stdout and skips the write.npx claudepluginhub lucasmccomb/ccgm --plugin onboardingGuides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.