create-workflow

Create and validate GitHub Agentic Workflows using the gh aw CLI.

Updated Mar 25, 2026
One-click install
npx skills add https://github.com/Tyler-R-Kendrick/copilot-auto-training --skill create-workflow-tyler-r-kendrick
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-workflow
Source: https://github.com/Tyler-R-Kendrick/copilot-auto-training/tree/main/skills/create-workflow
Command: npx skills add https://github.com/Tyler-R-Kendrick/copilot-auto-training --skill create-workflow-tyler-r-kendrick

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve? Authoring GitHub Agentic Workflows requires coordinating markdown instructions, YAML frontmatter, MCP server configuration, safe outputs, and compilation into lock files, which is error-prone without structured guidance. ## Core Features & Use Cases - Workflow Authoring: Drafts .github/workflows/<name>.md files with proper frontmatter, triggers, permissions, and structured markdown instructions. - MCP and Safe Outputs Configuration: Configures stdio, container, HTTP, or registry-based MCP servers and routes GitHub write operations through safe-outputs. - Compile, Validate, and Debug: Runs gh aw compile, gh aw validate --strict, and diagnoses compilation, MCP, and runtime failures. - Use Case: A user wants a scheduled workflow that posts a weekly repository health issue; this skill gathers requirements, authors the markdown workflow, compiles it, and validates the result before commit. ## Quick Start Ask the agent to create a GitHub Agentic Workflow that triages new issues and labels them using safe outputs.

Frequently Asked Questions about create-workflow

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a GitHub Agentic Workflow?

Create a markdown file in .github/workflows with YAML frontmatter defining triggers, permissions, and tools, plus a markdown body with the agent instructions. Then run gh aw compile to generate the lock file and commit both files.

How do I add an MCP server to a GitHub Agentic Workflow?

Configure the server under mcp-servers in the workflow frontmatter using command/args for stdio, container for containerized servers, url with headers for HTTP, or registry for registry-backed servers. Keep the allowed tools list tight and pass credentials through secrets-backed env or headers.

When do I need to recompile a GitHub Agentic Workflow?

Recompile with gh aw compile only after frontmatter changes. Markdown body edits take effect on the next run without recompilation, but the .lock.yml must be regenerated and committed whenever frontmatter changes.

Why does my GitHub Agentic Workflow fail to compile?

Compilation failures usually come from YAML indentation errors, missing required fields like on:, or invalid field names. Run gh aw compile --verbose or gh aw validate --strict to isolate schema, lint, and security issues.

Can a GitHub Agentic Workflow create issues or comments directly?

Workflows should not perform arbitrary GitHub writes directly. Use safe-outputs in the frontmatter to declare which write operations are permitted, such as creating issues, comments, or labels, and keep the scope minimal.