How-To Spec-driven workflows 108HOWTO-108

Spec-driven workflows

Workflow guides for using SpecDD as a practical development loop: write or review the spec first, implement one bounded piece of work, keep specs and code aligned, and resolve ambiguity before it turns into code.

← All How-To categories

11 guides Spec-driven workflows
  1. Beginner 6 min read
    How to run the spec-first loop

    Use the SpecDD spec-first loop to turn intent into a reviewed local contract, implement one bounded change, verify it, and update tasks only after the result matches the spec.

    Read guide
  2. Intermediate 5 min read
    How to draft specs automatically with AI, then review

    Use AI-generated SpecDD drafts as a starting point, then review ownership, behavior, assumptions, write authority, and completion criteria.

    Read guide
  3. Beginner 5 min read
    How to implement one spec at a time

    Keep SpecDD implementation focused by selecting one local spec, staying inside its write authority, completing one task or behavior, and reviewing the result before moving on.

    Read guide
  4. Intermediate 5 min read
    How to keep specs in sync with code changes

    Prevent stale SpecDD contracts by deciding when code changes affect the spec, updating the local .sdd file in the same changeset, and reviewing code, tests, and specs together.

    Read guide
  5. Intermediate 5 min read
    How to recover from spec-code drift

    Fix spec-code drift by identifying the disagreement, choosing the intended source of truth, and realigning specs, code, tasks, and checks together.

    Read guide
  6. Beginner 4 min read
    How to configure team rules in bootstrap.project.md

    Use .specdd/bootstrap.project.md for shared project conventions that humans and agents should apply across the repository without mixing them into local .sdd contracts.

    Read guide
  7. Beginner 4 min read
    How to configure personal preferences in bootstrap.local.md

    Use .specdd/bootstrap.local.md for local operator or machine preferences while keeping shared team rules in bootstrap.project.md and durable behavior in .sdd specs.

    Read guide
  8. Intermediate 5 min read
    How to resolve conflicts between specs

    Handle conflicting SpecDD rules by finding the governing chain, preferring stricter constraints, treating tasks as non-authority, and fixing the owning spec.

    Read guide
  9. Intermediate 4 min read
    How to reference another area's spec safely

    Use explicit SpecDD references for outside context without granting edit permission, inheriting sibling specs accidentally, or blurring local ownership boundaries.

    Read guide
  10. Intermediate 5 min read
    How to change a spec safely after code already exists

    Update a SpecDD spec after code exists without codifying bugs, creating drift, or changing write authority accidentally.

    Read guide
  11. Intermediate 5 min read
    How to deprecate behavior with SpecDD

    Use SpecDD to make deprecation explicit with Must, Must not, Tasks, Done when, and Scenarios so old behavior is migrated safely instead of disappearing accidentally.

    Read guide

More How-To categories