← Getting started guides

How to choose your first SpecDD use case

How-To Getting started Beginner 1001006HOWTO-1001006

HOWTO-1001006Getting startedBeginner

Your first SpecDD use case should be small enough to finish and meaningful enough to show the value of a local spec. Do not choose the biggest architectural problem in the repository. Choose a change where missing context already costs time, review attention, or agent correction loops.

This guide helps you pick the first area to specify.

Short answer

Start with a small active change in a high-confusion, high-risk, or high-change area. Good first use cases include a bug fix, a narrow feature, a module with repeated boundary mistakes, an agent workflow that often edits too much, or a documentation or automation area where completion criteria are unclear.

Good first use cases

A bug fix with clear expected behavior

Bug fixes are strong first candidates because the desired behavior is usually concrete.

Use SpecDD to capture:

Example task:

Tasks:
  [ ] Reject empty itinerary place names.

Scenario: missing place name
  Given the place name is empty
  When the person adds the itinerary item
  Then validation fails
  And no itinerary item is stored

A small feature in one module

Choose a feature that mostly belongs in one local area. This makes ownership and verification easier.

Good:

Add trip-day filtering to the itinerary module.

Risky as a first use case:

Rework the whole trip planning experience.

A module with repeated review comments

If reviewers repeatedly say “this does not belong here”, that is a sign the boundary should be written down.

Use sections like:

These help both humans and agents see the architecture boundary before implementation.

A workflow that changes too much

If an agent often edits the wrong files or overbuilds the request, choose the next agent-assisted change as your first SpecDD use case.

The useful spec usually includes:

A documentation or automation area

SpecDD is not only for application code. It can also specify documentation pages, scripts, CI workflows, infrastructure, runbooks, or other file-based technical work.

Choose this when:

Decision checklist

Choose a first use case that answers yes to most of these:

If the answer is mostly no, pick a smaller use case.

Use case scoring

Use this quick scoring table:

2 points: The area changes often.
2 points: Agents or developers often misunderstand it.
2 points: Wrong changes have real cost.
1 point: The behavior is easy to describe.
1 point: The work fits mostly in one directory or module.
1 point: A check or test can prove the outcome.

A score of 5 or more is usually a good first candidate. A score below 3 is probably too trivial or too unclear.

What to avoid first

Avoid these as a first SpecDD use case:

Those can come later. The first use case should teach the loop.

Example first choice

Suppose your team is working in a travel planner app. The agent keeps putting destination search behavior into the itinerary module.

Good first SpecDD use case:

Specify missing-place validation in the Itinerary feature.

Why it works:

The first spec might include:

Must not:
  Manage destination search results.

Done when:
  Missing-place behavior is covered by a check.

Common mistakes

How to verify the choice

You chose a good first SpecDD use case when:

← Getting started guides