agentsclimarketplace

Ddd guide

Skill drillan/amplifier-skills-plugin/skills/ddd-guide

Document-Driven Development workflow for existing codebases. Provides systematic planning, documentation-first design, and implementation verification.From its SKILL.md

Install
npx -y skills add drillan/amplifier-skills-plugin --skill ddd-guide

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its file declares

Copied from the file, not written here

The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.

SKILL.md

2.3 KB, as published. Nobody here has run it

Document-Driven Development (DDD) Guide

Core Principle

Documentation IS the specification. Code implements what documentation describes.

DDD inverts traditional development: update documentation first, then implement code to match.

Why DDD?

  • Catches design flaws early - Before expensive code changes
  • Prevents documentation drift - Docs and code stay synchronized
  • Enables human review - Humans approve specs, not code
  • AI-friendly - Clear specifications reduce hallucination

Six-Phase Workflow

PhaseNameCommandDeliverable
0-1Planning/ddd 1-planplan.md
2Documentation/ddd 2-docsUpdated docs
3Code Planning/ddd 3-code-plancode_plan.md
4Implementation/ddd 4-codeWorking code
5-6Finalization/ddd 5-finishTested, committed

Core Techniques

Retcon Writing

Document features as if they already exist. No future tense.

  • Bad: "This feature will add..."
  • Good: "This feature provides..."

File Crawling

Process files one at a time to avoid context overflow:

  1. Generate index with [ ] checkboxes
  2. Process one file per iteration
  3. Mark [x] when complete

Context Poisoning Prevention

Eliminate contradictions:

  • One authoritative location per concept
  • Delete duplicates, don't update
  • Resolve conflicts before proceeding

When to Use DDD

Use DDD for:

  • Multi-file changes
  • New features in existing codebases
  • Complex integrations

Skip DDD for:

  • Typo fixes
  • Single-file changes
  • Emergency hotfixes

References

See @skills/ddd-guide/references/ for detailed documentation:

  • core-concepts/ - Techniques and methodologies
  • phases/ - Step-by-step phase guides
  • philosophy/ - Underlying principles

Remember

Documentation first. If it's not documented, it doesn't exist.

Retcon, don't predict. Write as if the feature already exists.

One source of truth. Delete duplicates, don't update them.

Keep looking

Skills are one crate of 627,801. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.