abd-architecture-specification
Installation
SKILL.md
abd-architecture-specification
Purpose
Produce a short, navigable architecture-specification.md that routes a developer or AI to the right per-folder architecture-context.md for any feature they are about to build — and the per-folder context files themselves. Detail lives next to code, not in the central spec.
Output shape
Two kinds of artefact:
src/architecture-context.md— the central document. Short. Lives at the root ofsrc/. Grows through outline → blueprint → specification fidelity in place. Acts as a navigation hub via a## Where to Starttable. Names every mechanism in one line + link, lists every documented package in one line + link (categorised), and shows an annotated source tree.{folder}/architecture-context.md— one per folder that has documentation worth keeping. Three tiers; pick the one that matches the folder:
| Tier | When | Template |
|---|---|---|
| Mechanism | folder hosts a templated pattern other features will copy (e.g. replicated feature modules, shared bootstrap setup) | templates/mechanism-context.md |
| Package | folder is a functional area with real surface area (multiple methods, named consumers) but is not a templated recipe (e.g. a third-party SDK wrapper) | templates/package-context.md |
| Miscellaneous | folder is tiny (one-class singleton) or a grab-bag of unrelated utilities | templates/miscellaneous-context.md |