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
3.5 KiB
topic, source_keys
| topic | source_keys | ||||||
|---|---|---|---|---|---|---|---|
| overview |
|
Verdict
No vendor-neutral, versioned open standard for prompt files exists in the way agentskills.io exists for skills. What exists is a set of overlapping, vendor-owned formats that differ in file extension, frontmatter and templating, plus one protocol primitive that sits at a different layer. The one list that tries to index agent standards names no prompt-file standard with a neutral steward. The neutral foundation it does record covers AGENTS.md (project context), and SKILL.md is tied to the agentskills.io spec; neither is a prompt format.
The candidates
| Format | Extension and location | Owner | Open spec? | Who consumes it |
|---|---|---|---|---|
| Copilot / VS Code prompt files | .prompt.md, .github/prompts/ |
Microsoft (VS Code, GitHub Copilot) | Documented feature, no separate spec | VS Code local sessions, Copilot; apm treats it as the native form |
| Claude Code command files | .md, .claude/commands/ |
Anthropic | Documented feature; being folded into skills | Claude Code |
| Prompty | .prompty |
Microsoft, MIT licence | Published spec with fixtures, no standards body, no tagged spec version found | Microsoft runtimes and a VS Code extension; no coding-agent consumers found |
| Dotprompt | .prompt |
Google / Firebase, Apache-2.0 | Repo-hosted spec, no standards body | Genkit (reference consumer); several language implementations |
| MCP prompts | none, JSON-RPC prompts/list and prompts/get |
MCP project | Normative protocol spec | Any MCP client; surfaced as slash commands in some |
Generic .prompt |
informal | none | No | Promptfoo parses it natively |
Why none of these is the agentskills.io equivalent
agentskills.io defines one directory-and-frontmatter format that many agent tools implement identically. For prompts the formats do not converge. Copilot and Claude Code both use Markdown with YAML frontmatter, but the field sets diverge (agent, tools and name on one side; allowed-tools, arguments and disable-model-invocation on the other) and the variable syntax differs (${input:x} versus $x, $ARGUMENTS and $0). Prompty and Dotprompt are execution formats that carry model configuration, typed input and output schemas and templating, which makes them a different kind of artifact from an instruction-only slash command. MCP prompts are a delivery protocol with no on-disk format.
What this means for apm and prompt-author
apm's .prompt.md is the only cross-target authoring surface in play, and it adopts the Copilot file form as the source and transforms it per target. That makes apm's own docs, not an external standard, the authoritative contract for a prompt-author skill. The skill should not cite an open standard for prompts. It can cite Copilot's format as the native source form and Claude Code's command format as the main transform target. Where the Claude Code docs now steer new work towards skills, the skill should say a prompt is the right primitive when the user invokes the workflow on demand and a skill is the right one when the agent should discover it.
Maturity signals worth tracking
Prompty and Dotprompt are active but single-vendor. If a neutral body adopts a prompt format, the likely routes are the Agentic AI Foundation, which now stewards AGENTS.md, or the agentskills.io community extending its spec. Neither has been observed doing so.