messages
Adding New Message Types Guide
This guide explains how to add a new message type to the GitHub Agentic Workflows safe-output messages system. Follow these steps to ensure the new message is available in frontmatter, parsed by the compiler, available in JavaScript, and properly bundled.
Overview
The messages system allows workflow authors to customize messages displayed in safe-output operations. Messages flow through:
- Frontmatter (YAML) → 2. JSON Schema → 3. Go Compiler → 4. JavaScript Modules → 5. Bundler
Step 1: Update JSON Schema
Add the new message field to pkg/parser/schemas/main_workflow_schema.json in the messages object:
{
"messages": {
"properties": {
More from github/gh-aw
github-mcp-server
GitHub MCP Server Documentation
43developer
Developer Instructions for GitHub Agentic Workflows
38dictation instructions
Instructions for fixing speech-to-text errors and improving text quality in gh-aw documentation and workflows
33javascript-refactoring
Instructions for refactoring JavaScript code into separate files
32github-pr-query
Query GitHub pull requests efficiently with jq argument support for filtering
31documentation
Documentation Brief description for SEO and navigation
30