sdd-promote

Applies a validated spec-delta into the canonical spec directory and closes the development cycle.

1|Updated Jul 26, 2026
One-click install
npx skills add https://github.com/AngeloResplandes/harness-sdd --skill sdd-promote-angeloresplandes
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sdd-promote
Source: https://github.com/AngeloResplandes/harness-sdd/tree/main/sdd-promote
Command: npx skills add https://github.com/AngeloResplandes/harness-sdd --skill sdd-promote-angeloresplandes

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? After a feature is implemented and validated, teams need a controlled way to update the canonical specification so it reflects the system's new true state. This Skill is the only phase of the SDD harness permitted to write inside spec/, and it refuses to run unless validation has passed, preventing false claims from entering trusted documentation. ## Core Features & Use Cases - Guarded promotion: Refuses to run unless validation.md reports pass, spec-delta.md is still proposed, and all prior tasks are checked, naming exactly which precondition failed. - State-based spec writing: Applies the delta by writing the system's new current state rather than a changelog, reconciling sections instead of appending duplicates. - Cycle bookkeeping: Marks the delta promoted, checks off the final task, and appends a metrics row to cycles/index.md for tracking cycle size, scenarios, and validation attempts. - Use Case: After sdd-validate confirms an episodes timeline feature works, run this Skill to merge the proposed spec-delta into spec/, close the cycle folder, and log the cycle in the index. ## Quick Start Say "promove a spec" or "aplica o delta" after validation has passed to apply the proposed spec-delta into the canonical spec and close the cycle.

Frequently Asked Questions about sdd-promote

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I promote a spec delta after validation passes?

Run the promote phase by saying "promove a spec" or "aplica o delta" once validation.md shows result pass and spec-delta.md is still status proposed. The Skill applies each change file by file into spec/, marks the delta promoted, and closes the cycle.

What happens if I try to promote a spec without validation?

The Skill refuses to run and names the failed precondition. If validation.md is missing or says fail, it directs you to run sdd-validate or return to sdd-implement first, since promoting unvalidated work puts false claims into the canonical spec.

Can I re-apply a spec delta that was already promoted?

No. Re-applying is not idempotent because the delta describes a transition from an old state to a new one, and spec/ no longer contains the old state. The Skill detects an already-promoted delta, reports what it applied, and stops.

Why does promotion fail when the delta's current-state text does not match the spec?

A mismatch means the spec changed after the delta was written, possibly by another cycle. Applying a stale delta would silently overwrite that intervening work, so the Skill shows both versions and stops instead of guessing.

Does the promote phase write changelogs into the spec?

No. It writes the system's new current state only, deleting anything the change made untrue. History lives in the frozen cycle folder and in git, so the canonical spec reads as though the feature always existed.