prompt-atoms
A typed, versioned, composable library of prompt-engineering primitives — personas, constraints, formats, tool-use templates, refusal patterns, output schemas — replacing closed vendor cookbooks and scattered snippets with an open, machine-readable catalog.
Catalog at v0.1.0
- 50 atoms across 6 types
- 2 compositions
- 2 compatibility rules
Atom types
- constraint — 15 atoms
- format-instruction — 10 atoms
- output-schema — 5 atoms
- persona — 10 atoms
- refusal-pattern — 5 atoms
- tool-use-template — 5 atoms
Civilization-grade properties
Every artifact in this catalog satisfies six properties verified in CI:
- Typed — every atom, composition, and rule validates against a JSON Schema.
- Versioned — every atom has a semver
versionfield; compositions pin by version. - Machine-readable — /exports/catalog.json is the canonical manifest.
- Composable — compositions reference atoms by ID; references resolve in CI.
- Open — Apache-2.0 licensed.
- Durable — no external dependencies in the hot path.