Build doctrine

From ryanthedev/code-foundations · View interactive version

Build doctrine is an AI agent skill from the GitHub repository ryanthedev/code-foundations. 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.

How to use this skill

Skill file

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:
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.