Documentation
¶
Overview ¶
Command prompts-demo is the Phase 28 worked example for the Dockyard prompts API (D-151).
It registers three MCP Prompts via runtime/server.AddPrompt:
- summarize_for_review — a careful summary primer (system + user)
- code_review — review a diff against a rubric (4 messages)
- explain_error — explain a runtime error in plain language
And one tool (`summarize_text`) so the manifest is valid and the example also showcases the tool / prompt distinction side by side.
Click to show internal directories.
Click to hide internal directories.