REAL-WORLD-SCHEMAS-09: Prompt-library card for AI agents
What it demonstrates
Section titled “What it demonstrates”A prompt card pinning a model enum and a fenced code block holding the system prompt.
Builds on: REAL-WORLD-SCHEMAS-08: Postmortem: timeline table plus action items
How it’s done
Section titled “How it’s done”The declarative YAML artifact, verbatim — no code required.
frontmatter: fields: model: { enum: [opus, sonnet, haiku] } temperature: { type: number, min: 0, max: 2 }body: sections: - section: System prompt content: code: { lang: md } - section: Example outputSurfaces exercised
Section titled “Surfaces exercised”code content leaf pinned to lang -> content/code/langnumber frontmatter with min/max -> frontmatter/type; an enum field