spec-kit extension for contextual onboarding and progressive developer growth.
onboard guides developers from their first contact with a project to full autonomy — orienting before action, validating understanding, and suggesting the next step.
/onboard start reads all project artifacts (memory.md, specs, tasks, installed extensions) and generates a guide at .onboard/guide.md tailored to the developer's declared level. junior gets analogies and a full glossary; mid gets practical focus; senior gets dense, decision-oriented context.
Each developer gets an isolated profile at .onboard/profiles/<name>.json. Running /onboard start --dev "Maria" --level mid creates or resumes Maria's profile without touching anyone else's history. Legacy single-profile setups are automatically migrated.
/onboard explain accepts any target — a file path, a feature name, or an SDD concept — and explains it in language calibrated to the developer's level, citing the actual artifacts in the project.
/onboard trail generates a visual Mermaid map of a feature's tasks, blockers, hooks that will fire, and extensions involved. Saved to .onboard/trails/<feature>.md.
/onboard quiz generates 5 questions from the project's real artifacts — no generic definitions, no repeated questions across sessions. Questions are distributed across verifiable facts, simple inferences, and practical consequences. Level-calibrated: multiple choice for juniors, open answers for seniors.
/onboard mentor scores all eligible open tasks using a weighted algorithm (level fit, natural progression, quiz gaps, already-read artifacts) and suggests the single best next task with a full briefing. Integrates with Jira and Azure DevOps when those extensions are installed.
9 badges track meaningful milestones — from first-read to autonomous (completing a full feature without needing /onboard explain). /onboard badge shows earned badges, locked ones, and partial progress toward each.
/onboard team displays an overview of all developer profiles in the project. --report exports a full breakdown to .onboard/team-report.md, including features with no coverage and quiz gap analysis per developer.
✦ onboard — guide generated at .onboard/guide.md
Project: payments-api | Developer: Ana
Open features: 3 | Pending tasks: 11 | Extensions: 4
Recommended next steps:
1. Read .onboard/guide.md for the full context
2. Run /onboard trail auth to see dependencies
3. Run /onboard quiz when you feel ready
Tip: use /onboard explain <file> at any time.
✦ quiz — 5 questions about the project
Question 1/5
─────────────────────────────────────────
According to features/auth/tasks.md, which task must be
completed before T-004 (JWT refresh flow) can start?
(a) T-001 — DB schema migration
(b) T-002 — password hashing setup
(c) T-003 — login endpoint
(d) T-005 — session cleanup hook
Your answer: c
✓ Correct. T-004 lists T-003 in its depends-on field
(features/auth/tasks.md, task T-004).
✦ mentor — suggested next task
T-003 · Login endpoint [features/auth]
──────────────────────────────────────────
What to do: implement the POST /auth/login route — validate
credentials against the users table and return a signed JWT.
Read before starting:
- features/auth/spec.md — acceptance criteria for the login flow
- features/auth/tasks.md — T-003 dependencies and expected output
Watch out for:
- The spec requires returning 401 (not 403) for invalid credentials
- The after-implement hook will trigger cleanup and verify extensions
When done, run: /onboard badge
Would you like me to expand on any aspect before you start?
flowchart TD
A["New developer"] --> B["onboard start<br/>Reads project, generates guide"]
B --> C["onboard explain<br/>Explains any artifact"]
B --> D["onboard trail<br/>Maps dependencies"]
B --> E["onboard quiz<br/>Validates understanding"]
C --> F["onboard badge<br/>Tracks progress + achievements"]
D --> F
E --> F
F --> G["onboard mentor<br/>Suggests next task"]
G -->|after-implement hook| F
specify extension add onboardThat's it. The extension is listed in the spec-kit community catalog and installed via the specify CLI.
specify extension listspecify extension add --from https://github.com/dmux/spec-kit-onboard/archive/refs/tags/v2.1.0.zipspecify extension add --dev /path/to/spec-kit-onboardEntry point. Reads all project artifacts and generates a personalized onboarding guide.
/onboard start
/onboard start --dev "Maria" --level junior
/onboard start --dev "Carlos" --level seniorGenerates .onboard/guide.md with a project summary, feature map, recommended tasks, and a contextual glossary.
Explains any project artifact or SDD concept in plain language, calibrated to the developer's level.
/onboard explain features/auth/spec.md
/onboard explain features/payments
/onboard explain drift
/onboard explain hookGenerates a visual dependency map for a feature — tasks, blockers, hooks that will fire, and extensions involved.
/onboard trail auth
/onboard trail payments --format mermaidSaves the map to .onboard/trails/<feature>.md.
Validates the developer's understanding with 5 questions generated dynamically from the project's real artifacts.
/onboard quiz
/onboard quiz --feature auth
/onboard quiz --topic workflowDisplays the developer's progress as achievements.
/onboard badge
/onboard badge --list
/onboard badge --resetAvailable badges:
| Badge | Criterion |
|---|---|
first-read |
First /onboard explain |
map-reader |
First /onboard trail |
navigator |
Quiz score of 5/5 |
first-task |
First task completed |
clean-pass |
Task completed with no cleanup issues |
spec-aware |
Read all specs of a feature before implementing |
full-trail |
Trail generated for all open features |
mentor-streak |
Followed the mentor's suggestion 3 times in a row |
autonomous |
Completed an entire feature without using /onboard explain |
Suggests the next most suitable task based on the developer's level and history, with enough context to start immediately.
/onboard mentor
/onboard mentor --feature authAll generated files go inside .onboard/ in the user's project (gitignored by default):
.onboard/
├── profile.json — developer profile and progress
├── guide.md — guide generated by /onboard start
└── trails/
└── <feature>.md — maps generated by /onboard trail
| Extension | Integration |
|---|---|
cleanup |
after-implement hook reads the result to calculate the clean-pass badge |
verify / verify-tasks |
/onboard trail lists the hooks that will fire during the feature cycle |
docguard |
/onboard explain displays the spec quality score (v1.1.0) |
learn |
/onboard start mentions /learn guide for post-implementation consolidation |
- spec-kit >= 0.1.0
- No external dependencies