← Teams and process guides

How to use SpecDD for onboarding

How-To Teams and process Beginner 1171002HOWTO-1171002

HOWTO-1171002Teams and processBeginner

This guide shows you how to use spec-driven development for onboarding new contributors, including developers, technical leads, and agents.

Onboarding works better when new contributors can learn the area they are touching without reading every historical ticket, chat thread, and architecture conversation. SpecDD makes that possible by keeping intent and boundaries near the work.

Short answer

Use SpecDD onboarding around one real first change. Start with the root project spec, then read the local spec for the target area. Explain what the area owns, what it may modify, what it may read, what it must do, what it must not do, and what Done when means. Then implement a small task and review the diff against the spec.

When to use this guide

Use this guide when:

Steps

1. Start with the root context

Show the new contributor the root spec first:

travel-planner.sdd

The root spec should explain the big picture: purpose, major structure, global constraints, and project-level non-goals. Keep this introduction short. The goal is orientation, not full system mastery.

2. Choose one first change

Pick a small task in one local area:

Add missing-place validation to Itinerary.

Avoid first tasks that span multiple modules, migrations, security-sensitive behavior, or unclear ownership.

3. Read the local spec

For a target like:

src/trips/itinerary.js

use:

src/trips/itinerary.sdd

Walk through:

This is the local contract for the first change.

4. Explain boundaries and tasks

Ask the contributor to summarize:

This helps them learn the project through the same lens reviewers will use.

5. Pair on one spec-driven change

Use a task-focused prompt or human work packet:

Implement the Itinerary validation task.

Keep the first change small. The goal is to learn the loop: spec, implementation, checks, task status, review.

6. Use review as reinforcement

In review, compare the diff to the spec:

This teaches the review process and the codebase at the same time.

Example onboarding path

Day 1:
- Read travel-planner.sdd.
- Read src/trips/itinerary.sdd.
- Explain Itinerary ownership and boundaries.
- Plan the missing-place validation task.

Day 2:
- Implement the task.
- Run checks.
- Review the diff against the spec.

Common mistakes

How to verify the result

Onboarding with SpecDD worked when the new contributor can:

← Teams and process guides