What problem does it solve?
The messages skill streamlines the multi-step process of introducing new safe-output message types into GitHub Agentic Workflows by ensuring frontmatter, schema, compiler, runtime modules, tests, and documentation stay in sync. It reduces errors and developer friction when exposing configurable templates that workflows render at runtime.
Core Features & Use Cases
- Schema Integration: Guides adding YAML frontmatter fields and JSON Schema entries so messages validate in workflows.
- Compiler and Runtime Wiring: Shows required Go struct and parser updates, JavaScript message module creation, embedding, and barrel exports for runtime use.
- Testing and Documentation: Covers unit tests, typedef updates, bundler registration, and documentation updates to ensure reliable behavior.
- Use Case: Add a custom "close-older-discussion" or "my-new-message" template that workflow authors can configure in frontmatter and render with placeholders during safe-output operations.
Quick Start
Add a new safe-output message named my-new-message by updating the JSON Schema, the Go struct and parser, creating the JavaScript message module and tests, embedding the module, and documenting its placeholders and usage.