← Work with SpecDD skills guides

How to explain a spec (specdd-explain)

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

HOWTO-1091015Work with SpecDD skillsBeginner

This guide shows you how to explain a spec or target with specdd-explain in a spec-driven development workflow.

specdd-explain is a read-only skill. It resolves the governing contract for a spec, file, or directory and summarizes what the agent found in plain language: purpose, ownership, allowed edits, forbidden edits, active tasks, and completion criteria.

Short answer

Use specdd-explain when you need to understand a spec before planning or implementing. Give the agent a spec name, file, or area. The agent resolves the governing chain, then explains what the contract allows, forbids, owns, and requires. No files are edited.

When to use this guide

Use this guide when:

Principle

Understanding before editing.

specdd-explain puts the contract into words before any code changes. If the explanation is wrong, fix the spec or correct the agent before implementation begins. It is cheaper to catch a misunderstanding in a plain-language summary than in a diff review.

Steps

1. Identify the target to explain

Pick a spec, file, or area you want the agent to explain.

Examples:

Explain the Itinerary spec.
Explain what governs src/trips/itinerary.js.
Explain the validation rules for the Itinerary module.

2. Keep the request read-only

specdd-explain should not plan, implement, or edit. It is for understanding.

Good:

Explain the Itinerary spec without making any changes.

Not an explanation request:

Explain the Itinerary spec and fix the validation task.

Split those into separate prompts.

3. Check the explanation report

A useful specdd-explain report names:

If the report misidentifies ownership, scope, or constraints, update the spec before proceeding.

4. Use the explanation as a checkpoint

After the explanation, decide what to do next:

Common mistakes

How to verify the result

specdd-explain worked when:

← Work with SpecDD skills guides