What it does
Diagnoses project state
Scans for SDD artifacts, non-SDD documentation, code structure, tests, and infrastructure signals.
Classifies into scenarios
Uses a weighted signal matrix to classify your project into one of 8 predefined scenarios.
Calculates health score
Estimates SDD readiness (0-100) across 7 dimensions including requirements, specs, tests, and traceability.
Generates action plan
Produces a step-by-step plan specifying which SDD skills to run and in what order.
The onboarding skill is read-only. It recommends actions but never modifies files or executes skills. You decide when to start.
Invocation modes
| Mode | Phases Executed | Use Case |
|---|---|---|
| default | All 7 phases | First-time project assessment |
--quick | Phases 1-3, 6-7 (skip deep analysis) | Quick triage, initial estimation |
--reassess | All 7 phases, compares with previous report | Mid-adoption progress check |
Seven phases
The onboarding skill executes seven phases to build a complete picture of your project:Phase 1: Environment check
Establishes project context and boundaries:- Detects project root (
.git/,package.json,Cargo.toml,pyproject.toml, etc.) - Identifies primary languages and frameworks
- Detects package manager and dependency count
- Checks for monorepo structure (workspaces, Lerna, Nx, Turborepo)
- Detects CI/CD configuration (
.github/workflows/,.gitlab-ci.yml,Jenkinsfile) - Records git history stats: commits, contributors, age, last commit date
Phase 2: SDD artifact scan
Determines if the project has existing SDD artifacts:- Scans for
pipeline-state.jsonand reads current stage status - Scans for SDD directories:
requirements/,spec/,audits/,test/,plan/,task/ - Counts files, lines, and checks for key files (
REQUIREMENTS.md,ARCHITECTURE.md) - Verifies internal cross-references (REQ-XXX, UC-XXX patterns)
- Calculates SDD artifact coverage percentage
Phase 3: Non-SDD documentation scan
Finds existing documentation that could be leveraged:- Documentation files:
README.md,CONTRIBUTING.md,docs/directory - API documentation: OpenAPI/Swagger, GraphQL schemas, Postman collections
- External tool exports: Jira exports, CSV/Excel files, Notion exports
- Architecture documents:
ARCHITECTURE.md, ADRs, diagram files - Evaluates documentation quality: freshness, coverage, cross-referencing
Phase 4: Code and test analysis
Assesses codebase size, structure, and test coverage (skipped in--quick mode):
- Counts source files by language and directory
- Identifies architectural layers: routes, services, data access, models, utilities
- Detects design patterns: MVC, CQRS, event sourcing, microservices
- Scans for test frameworks, counts tests by type, calculates test-to-source ratio
- Detects code quality signals: linters, type checking, code comments
- Identifies database/storage: ORMs, migration files, schema definitions
Phase 5: Scenario classification
Classifies the project using the detection matrix:Apply confidence thresholds
HIGH (>75%): Single clear match. MEDIUM (50-75%): Primary with secondary signals. LOW (<50%): Ambiguous.
Phase 6: Health score estimation
Calculates a numeric health score (0-100) representing SDD readiness:| Dimension | Weight | Scoring Criteria |
|---|---|---|
| Requirements coverage | 20 pts | 0=none, 10=informal docs, 20=SDD format |
| Specification coverage | 20 pts | 0=none, 10=partial specs, 20=full spec/ |
| Test coverage | 15 pts | 0=none, 8=some tests, 15=good coverage+plan |
| Architecture documentation | 15 pts | 0=none, 8=README/diagrams, 15=SDD plan/ |
| Traceability | 15 pts | 0=none, 8=partial refs, 15=full chain |
| Code quality signals | 10 pts | 0=none, 5=linter, 10=types+linter+CI |
| Pipeline state | 5 pts | 0=none, 3=partial, 5=complete pipeline-state.json |
- 80-100 (Grade A): SDD compliant — minor gaps only
- 60-79 (Grade B): Partial SDD — clear path to completion
- 40-59 (Grade C): Significant work needed — leverage existing assets
- 20-39 (Grade D): Major effort required — systematic adoption needed
- 0-19 (Grade F): Starting from scratch or near-scratch
Phase 7: Action plan generation
Generates a concrete, step-by-step plan for SDD adoption:- Selects the template matching the classified scenario
- Customizes based on project-specific findings
- Adjusts steps based on detected documentation leverage potential
- Estimates effort per step (S/M/L/XL)
- Calculates projected health score progression after each step
- Identifies risk factors and mitigation suggestions
Eight project scenarios
The onboarding skill classifies projects into eight scenarios:Scenario 1: Greenfield
Scenario 1: Greenfield
Key signal: No code, no docsPrimary action: Standard pipeline from
/sdd:requirements-engineerAction plan:- Run
/sdd:setupto initialize pipeline state - Run
/sdd:requirements-engineerto gather requirements - Follow standard pipeline through to implementation
Scenario 2: Brownfield bare
Scenario 2: Brownfield bare
Key signal: Code exists, no docs, no testsPrimary action:
/sdd:reverse-engineer fullAction plan:- Run
/sdd:reverse-engineerto generate all SDD artifacts from code - Review and validate inferred artifacts
- Run
/sdd:spec-auditorto audit generated specs - Resume pipeline from test planning or task generation as needed
Scenario 3: SDD drift
Scenario 3: SDD drift
Key signal: SDD artifacts + code have divergedPrimary action:
/sdd:reconcileAction plan:- Run
/sdd:reconcileto detect and classify all divergences - Review and approve reconciliation decisions
- Apply updates to SDD artifacts
- Re-run downstream pipeline stages affected by changes
Scenario 4: Partial SDD
Scenario 4: Partial SDD
Key signal: Some SDD artifacts exist, incomplete pipelinePrimary action: Resume pipeline from gapAction plan:
- Run
/sdd:pipeline-statusto identify the gap - Resume from the first incomplete stage
- Complete remaining pipeline stages in order
Scenario 5: Brownfield with docs
Scenario 5: Brownfield with docs
Key signal: Code + non-SDD documentation existPrimary action:
/sdd:import → /sdd:reverse-engineer → /sdd:reconcileAction plan:- Run
/sdd:importon all external documentation (Jira, OpenAPI, Markdown) - Run
/sdd:reverse-engineerto extract specs from code and fill gaps - Run
/sdd:reconcileto align imported docs with code reality - Resume standard pipeline from test planning
Scenario 6: Tests as spec
Scenario 6: Tests as spec
Key signal: Good tests, poor or no documentationPrimary action:
/sdd:reverse-engineer with test-first strategyAction plan:- Run
/sdd:reverse-engineer(extracts behavior from test assertions) - Review test-derived specs for completeness
- Fill documentation gaps for untested features
- Resume pipeline from spec auditing
Scenario 7: Multi-team
Scenario 7: Multi-team
Key signal: Monorepo/microservices, mixed statesPrimary action: Per-module assessment, phased adoptionAction plan:
- Run
/sdd:onboarding --scope=module1for each module - Prioritize modules by: criticality, team readiness, dependencies
- Apply module-specific adoption strategies
- Establish shared conventions for cross-module traceability
Scenario 8: Fork/migration
Scenario 8: Fork/migration
Key signal: Forked from another projectPrimary action: Assess upstream,
/sdd:import//sdd:reverse-engineer deltaAction plan:- Import upstream SDD artifacts if available
- Run
/sdd:reverse-engineeron delta (new/changed code) - Run
/sdd:reconcileto merge upstream and delta artifacts - Document fork rationale as ADRs
Output format
The onboarding skill generates a comprehensive report atonboarding/ONBOARDING-REPORT.md:
Reassessment mode
Use--reassess to check progress after partial adoption:
- Loads the previous
ONBOARDING-REPORT.md - Re-executes all 7 phases with fresh data
- Compares with previous assessment (health score delta, steps completed)
- Generates updated report with a “Progress Since Last Assessment” section
- Adjusts remaining action plan based on current state
Relationship to other skills
Import skill
Onboarding recommends import when external docs are found (scenarios 5, 8).
Reverse engineer skill
Onboarding recommends reverse engineering for brownfield/bare scenarios (2, 5, 6, 8).
Reconcile skill
Onboarding recommends reconcile when drift is detected (scenario 3).
Pipeline status
Onboarding provides deeper analysis than pipeline-status but uses similar data.