← Work with SpecDD skills guides

How to implement under spec authority (specdd-do)

How-To Work with SpecDD skills Beginner 1091002HOWTO-1091002

HOWTO-1091002Work with SpecDD skillsBeginner

This guide shows you how to use specdd-do for implementation work under active SpecDD authority in a spec-driven development workflow.

Use this skill when the intended change is ready to make: code, tests, docs, task updates, or spec changes that are authorized by the governing spec chain.

Short answer

Use specdd-do after the target work has clear SpecDD authority. The agent should resolve the relevant spec chain, identify the nearest local Can modify or Owns boundary, make the smallest correct change, run relevant checks, update task status only after verification, and report the specs used, files changed, checks, and remaining uncertainty.

When to use this guide

Use this guide when:

Steps

1. Start from a reviewed task

Use a task-focused prompt:

Implement the Itinerary validation task.

If the work is risky or unclear, use planning first:

Plan the Itinerary validation change.

Then implement only after the plan is reviewed.

2. Confirm local write authority

The agent must not edit without clear write authority. In a local spec, that usually comes from:

Can modify:
  ./itinerary.js
  ./itinerary.test.js

or, when Can modify is absent:

Owns:
  ./itinerary.js
  ./itinerary.test.js

Can read and References provide context. They do not grant edit permission.

3. Make the smallest correct change

The implementation should satisfy the requested task without broadening scope.

Good:

Add missing-place validation and its focused check.

Too broad:

Rewrite itinerary storage, destination search, and validation together.

If the requested change would violate Must not, Forbids, write authority, security constraints, destructive behavior, or public contracts, the agent should stop and ask for direction.

4. Run relevant checks

The agent should run the project checks that prove the change when available:

If checks cannot run, the report should say why.

5. Update task status only after verification

Do not mark a task done just because code was edited.

After implementation and checks:

Tasks:
  [x] Add missing-place validation.

Do not complete unrelated tasks opportunistically.

6. Report specs, files, checks, and uncertainty

A useful specdd-do report includes:

This makes review fast because the report connects the change back to the contract.

Common mistakes

How to verify the result

The implementation was handled correctly when:

← Work with SpecDD skills guides