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.6 KiB
topic, source_keys
| topic | source_keys | |
|---|---|---|
| prompty |
|
What it is
Prompty is a Markdown file format for LLM prompts: YAML frontmatter plus a Markdown body in a single .prompty file. It is an execution-oriented format with a Render, Parse, Execute, Process pipeline and a v2 agentic turn runtime. Version 1 and version 2 documentation both exist, so check which a source describes.
Frontmatter
Top-level fields include name, displayName, description, metadata, model (id, provider, apiType, connection, options), inputs and outputs (typed properties), tools (function, MCP, OpenAPI or custom) and template (format defaulting to jinja2). Unknown top-level properties must not raise an error. Frontmatter strings support ${env:VAR} and ${file:path} references, with path traversal and symlink escapes rejected by default. Body role markers are system:, user: and assistant:.
Governance and adoption
MIT licence, Microsoft-sponsored, roughly 1.3k stars, with runtimes in Python, TypeScript, C#, Rust, Java, Go and Swift. The schema is authored in TypeSpec and the spec treats its test fixtures as normative. No standards body, no multi-vendor governance and no tagged spec version were found. The awesome-agent-standards list claims use by Promptflow, LangChain and Semantic Kernel; that is unverified here. No coding agent was found consuming .prompty files.
Relevance
Prompty carries model configuration, typed I/O and tools, which a .prompt.md slash command does not. It is not interchangeable with apm prompts and apm has no target for it.