abd-architecture-template
Installation
SKILL.md
abd-architecture-template
Purpose
Turn a stable architecture-context.md (mechanism-tier — File Structure, Participants, Class Specification, Rules, Canonical Patterns) into a runnable parameterized reference module on disk. The output is the thing abd-architecture-code resolves as <spec-root> and copies-and-renames per feature — preserving everything the legacy reference applications (catalog-hero, Recipients, hero-vtt, MERN-domain-first) used to give the code skill, but sourced from the new project-distributed specification.
Output shape
A template package at docs/architecture/templates/<slug>/ containing:
| Subdirectory | Content |
|---|---|
README.md |
What this package instantiates, parameter list, the rename map, runbook for the example. |
template/ |
The runnable reference module — real source files using placeholder names ({System}, {Feature}, {DomainName}) verbatim from the spec's Canonical Patterns. |
templates/tests/ |
Parameterized test files, one per tier defined by the test-helpers package-tier architecture-context.md. |
example/ |
One concrete instantiation of the template (e.g. PartnerA for Partner Integrations) — compiles, tests pass. |
rules/ |
Mechanism-specific code-shape rules lifted verbatim from the source architecture-context.md § Rules. |
parameters.json |
Declarative list of placeholders the template defines, with binding hints. |