| name | a2ui-author |
| description | Generate, validate, and interpret static A2UI v0.8 JSON for interactive UI surfaces. Use when an agent needs to call publish_a2ui, author A2UI messages, check whether generated A2UI JSON is valid, or handle normalized userAction replies from interactive UI callbacks. |
A2UI Author
Use this skill to work with the static A2UI v0.8 subset supported by the
current renderer.
Workflow
- Author A2UI server messages, not raw channel card JSON.
- Read references/protocol.md for message structure,
supported components, bindings, and current renderer adaptations.
- Use references/examples.md for compact examples.
- Validate generated JSON with the bundled script. Resolve
<skill-dir> to
this skill directory before running the command:
node <skill-dir>/scripts/validate-a2ui.js --version v0_8 path/to/a2ui.messages.json
- For user replies, reason from A2UI
userAction events. Do not expose raw
channel callback payloads to application logic or an LLM.
Static Content Rule
Generate only static A2UI server messages: dataModelUpdate, surfaceUpdate,
beginRendering, and deleteSurface. Do not emit messages or components
outside the supported static subset documented in this skill.