Add prompt-target-mapping and prompt-gotchas for the apm .prompt.md primitive from the published apm docs, correct the preserved-key set in prompt-primitive-schema, and add prompt-standards research covering Copilot/VS Code prompt files, Claude Code commands, Prompty, Dotprompt and MCP prompts. No vendor-neutral prompt-file standard was found. Refs: #149 Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_012CqgnwEGtmfsjcoG9QwByN
1.3 KiB
topic, source_keys
| topic | source_keys | |
|---|---|---|
| dotprompt |
|
What it is
Dotprompt is Google's executable prompt template format: a .prompt file with YAML frontmatter and a Handlebars body extended with generative-AI helpers. The Firebase Genkit library is the reference consumer, loading prompts from a prompts directory by base name. There is another unrelated project that also uses the name, so confirm which one a source means.
Confirmed schema
Only a few fields were confirmed from the getting-started example: model, input.schema, output.format and output.schema, with schemas written in a compact Picoschema-style syntax. The helpers, partials, variants and config field names were not confirmed because the full spec in the repository was not read. Treat everything beyond that list as unverified.
Governance and adoption
Apache-2.0, maintained by Google and Firebase, with implementations in JavaScript, Python, Go, Rust and Java, editor plugins and a CLI. About 570 stars at fetch time. No standards body and no spec version were found, and Genkit is the only confirmed consumer. The implementors page is a stub marked under construction.
Relevance
A template-and-schema format for application code calling models, not for coding-agent slash commands. Not a candidate to replace .prompt.md.