HDD Propagate

Propagate source code changes to design documents via modules field.

2|Updated Apr 1, 2026
One-click install
npx skills add https://github.com/gaebalai/hdd-dev --skill hdd-propagate
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: HDD Propagate
Source: https://github.com/gaebalai/hdd-dev/tree/main/skills/hdd-propagate
Command: npx skills add https://github.com/gaebalai/hdd-dev --skill hdd-propagate

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

HDD Propagate automates the reverse propagation of source code changes to design documents, ensuring docs stay aligned with code and reducing manual review overhead.

Core Features & Use Cases

  • Reverse propagation: maps changed code to affected design docs using the modules field.
  • AI-assisted updates: optionally updates affected docs while preserving frontmatter.
  • Guarded workflow: provides HITL gates and troubleshooting steps to avoid unintended edits.

Quick Start

Run hdd propagate --path . to reverse-propagate your latest code changes into design documents.

Frequently Asked Questions about HDD Propagate

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

FAQPage Schema
How do I automatically update design docs when source code changes?

Code-to-doc reverse propagation works by analyzing modified source files and mapping them to affected design documents using the modules frontmatter field. It optionally applies AI-assisted updates to the docs while preserving existing frontmatter and providing human-in-the-loop review gates.

What is the best way to keep design documents aligned with code without manual review?

The best way to keep design docs aligned is an automated reverse propagation workflow with guardrails. It maps source code changes to affected design docs using the modules field and provides human-in-the-loop gates to review AI-assisted updates, preventing unintended edits and reducing manual review overhead.

How do I run code-to-doc propagation in an HDD-driven workflow?

To run code-to-doc propagation in an HDD-driven workflow, execute the command 'hdd propagate --path .' from your root hdd project directory. This analyzes your latest modified source files and reverse-propagates the changes into affected design documents.

Do I need frontmatter in my design docs to use code-to-doc propagation?

Yes, code-to-doc propagation requires a modules field in your design docs frontmatter. You need a root hdd project setup where design documents contain this modules frontmatter to map changed source code files to their corresponding affected documents.

Can AI update design docs while preserving frontmatter formatting?

Yes, AI-assisted updates can optionally update affected design docs while strictly preserving existing frontmatter formatting. The workflow includes guardrails and human-in-the-loop gates to ensure formatting remains intact and unintended edits are avoided during the reverse propagation process.

What are the limitations of using AI-assisted reverse propagation for design docs?

The main limitation of AI-assisted reverse propagation is the strict prerequisite for a root hdd project and modules frontmatter. While guardrails and human-in-the-loop gates prevent unintended edits, users must still manually review AI-assisted updates to ensure documentation accuracy during troubleshooting.