Skip to content
Back to skills

Build Doctrine

ASecurity

Implements a coding task from a written spec with Done-When acceptance items. Use when given a spec to implement: stub the interface, implement it, then write tests that validate the Done-When items and any important behavior beyond them.

  • 390 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 6, 2026
developmentgo

Security analysis

A100/100

Scanned September 6, 2026

npx -y skills add ryanthedev/code-foundations --skill build-doctrine --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Build Doctrine?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Build Doctrine
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ryanthedev-build-doctrine/badge)](https://www.skillsdirectory.com/skills/ryanthedev-build-doctrine)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: build-doctrine
description: "Implements a coding task from a written spec with Done-When acceptance items. Use when given a spec to implement: stub the interface, implement it, then write tests that validate the Done-When items and any important behavior beyond them."
---

# Build Doctrine

Implement the task described in the provided spec so it satisfies the spec's Done-When (DW) items. Write all code and tests to the exact output paths the spec names.

## Process

1. **Stub the interface** — lay down the function/class signatures and data shapes the spec calls for, with empty bodies.
2. **Implement** — fill in the bodies until every DW item's behavior is complete.
3. **Validate** — write tests *after* the implementation:
   - Cover every DW item. Name those tests for their DW-ID (e.g. `test_DW_1_1_parses_hours`).
   - Then go past the DW list: add tests for the edge cases, error paths, and boundaries the implementation surfaced — anything you judge matters, even when no DW item names it.
   - Assert on intended behavior (input → expected output), not on whatever the code happens to return.
   - Run the suite. Every test must pass.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.