SpecDD Debug

0•

Diagnoses and resolves code failures by validating implementation against active SpecDD specification contracts.

SpecDD Debug is a specialized Claude Code skill designed for projects following Specification-Driven Development (SpecDD) principles. It enables AI agents to systematically identify bugs by resolving the bootstrap chain and mapping observed behavior against explicit 'Must', 'Scenario', and 'Returns' entries in governing specs. By distinguishing between implementation drift and spec ambiguity, the skill ensures that fixes are grounded in the project's formal contracts rather than assumptions, maintaining high architectural integrity throughout the debugging and verification process.

主な機能

01Automated Spec Chain Resolution: Automatically identifies and reads the correct hierarchy of specification files before debugging.
02Contract-First Diagnosis: Compares observed failures directly against Must, Scenario, and Returns clauses in SpecDD files.
03Bootstrap Validation: Ensures the project is correctly configured with .specdd/bootstrap.md before proceeding.
04Drift Identification: Determines if issues stem from implementation bugs, test inaccuracies, or specification ambiguity.
05Authority-Based Editing: Identifies the nearest local spec that grants write authority before making any code modifications.
060 GitHub stars

ユースケース

01Resolving implementation drift where code behavior has diverged from design documents.
02Fixing failing tests by tracing requirements back to the original SpecDD contract.
03Clarifying ambiguous behavior in complex systems by referencing the governing spec chain.