Skip to content

Claude Code plugin for authoring, validating (via gh aw compile), and improving GitHub Agentic Workflow (gh-aw) markdown files. Interactive guided creation, one-shot generation, deep analysis agent, and 8 embedded reference files covering the full gh-aw spec.

License

Notifications You must be signed in to change notification settings

zircote/github-agentic-workflows

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

aw-author

License: MIT Claude Code Plugin gh-aw Version GitHub Stars

aw-author: GitHub Agentic Workflow Authoring Plugin

A Claude Code plugin for authoring, validating, and improving GitHub Agentic Workflow (gh-aw) markdown files.

gh-aw workflows are markdown files with YAML frontmatter that define agentic automation, compiled into GitHub Actions via gh aw compile. This plugin provides guided tooling to create, validate, improve, and debug those workflow files directly from Claude Code.

Features

  • Interactive authoring — step-by-step guided workflow creation with prompts for triggers, engines, tools, safe-outputs, security, and prose body
  • One-shot generation — describe what you need and get a complete workflow file
  • Validation — run gh aw compile for structural validation, then deep-check intent-level issues (permission scoping, safe-output coverage, prose-frontmatter alignment)
  • Improvement analysis — gap analysis, pattern matching against orchestration patterns, and quality scoring across completeness, security, clarity, and robustness
  • Debug assistance — reproduce with gh aw compile, then diagnose runtime failures and behavioral issues
  • Spec queries — answer questions about gh-aw capabilities, syntax, and best practices
  • Deep analysis agent — delegate thorough multi-file reviews, security audits, and cross-workflow analysis to the aw-analyst agent
aw-author workflow: Describe → Author → Validate → Compile

Installation

Add the plugin to your Claude Code configuration:

claude plugin add /path/to/github-agentic-workflows

Or clone and register:

git clone https://github.com/zircote/github-agentic-workflows.git
claude plugin add ./github-agentic-workflows

Usage

Slash Command

/aw-author                    # Auto-detect mode or prompt for selection
/aw-author new                # Interactive guided workflow creation
/aw-author generate           # One-shot generation from a description
/aw-author validate           # Validate an existing workflow file
/aw-author improve            # Analyze and suggest improvements
/aw-author debug              # Debug a failing workflow
/aw-author <question>         # Ask about gh-aw capabilities

Examples

/aw-author new
/aw-author generate an issue triage workflow for a public Go repo
/aw-author validate ./workflows/triage.md
/aw-author improve ./workflows/daily-report.md
/aw-author debug "workflow times out after 5 minutes"
/aw-author what engines are available?
/aw-author how do safe-outputs work?
/aw-author show me a ChatOps workflow example

Plugin Structure

.claude-plugin/
  plugin.json           # Plugin manifest
agents/
  aw-analyst.md         # Deep analysis agent for multi-file review and audits
commands/
  aw-author.md          # /aw-author slash command entry point
skills/
  aw-author/
    SKILL.md            # Core skill with mode detection and guided workflows
    references/
      frontmatter-schema.md   # Complete YAML frontmatter field reference
      tools-reference.md      # All tool types and configuration
      safe-outputs.md         # Full safe-output catalog and constraints
      markdown-body.md        # Prose body best practices
      orchestration.md        # Workflow orchestration patterns
      validation.md           # Validation checklist and common failures
      examples.md             # Annotated example workflows
      llms-resources.md       # Links to canonical gh-aw documentation

Modes

Mode Purpose Trigger Phrases
Interactive Guided step-by-step workflow creation "new", "create", "write", "build"
Generate One-shot workflow from a description "generate", "one-shot", "quick"
Validate Check a workflow against the spec "validate", "check", "verify", "lint"
Improve Suggest improvements for a workflow "improve", "optimize", "refine", "review"
Debug Diagnose a failing workflow "debug", "fix", "broken", "failing", "error"
Query Answer questions about gh-aw Any question about capabilities or syntax

Reference Spec

The plugin embeds a curated subset of the gh-aw specification. For the full authoritative spec, the plugin can fetch from:

License

MIT

About

Claude Code plugin for authoring, validating (via gh aw compile), and improving GitHub Agentic Workflow (gh-aw) markdown files. Interactive guided creation, one-shot generation, deep analysis agent, and 8 embedded reference files covering the full gh-aw spec.

Topics

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published