Agent skill

github-workflow-automation

Advanced GitHub Actions workflow automation with AI swarm coordination

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/github-workflow-automation

SKILL.md

GitHub Workflow Automation

Behavioral Classification

Type: Autonomous Execution

This skill executes GitHub Actions workflows and CI/CD pipelines automatically with minimal user intervention. It handles complex multi-step automation tasks independently.

Autonomous Behaviors:

  • Generates optimized workflows from codebase analysis
  • Detects languages and creates appropriate build pipelines
  • Analyzes failures and suggests automatic fixes
  • Coordinates multi-agent validation on PRs

Quick Start

Initialize Workflow Automation

bash
# Generate optimized workflow from codebase analysis
npx ruv-swarm actions generate-workflow \
  --analyze-codebase \
  --detect-languages \
  --create-optimal-pipeline

Common Commands

bash
# Optimize existing workflow
npx ruv-swarm actions optimize \
  --workflow ".github/workflows/ci.yml" \
  --suggest-parallelization

# Analyze failed runs
gh run view <run-id> --json jobs,conclusion | \
  npx ruv-swarm actions analyze-failure \
    --suggest-fixes

Sub-Documentation

Document Contents
modes.md 8 GitHub integration modes (coordinator, pr-manager, etc.)
templates.md Production-ready workflow templates
advanced.md Dynamic testing, predictive analysis, custom actions
integration.md Claude-Flow swarm coordination patterns
best-practices.md Security, performance, organization
troubleshooting.md Debugging, examples, command reference

Core Capabilities

Swarm-Powered GitHub Modes

8 specialized modes for different GitHub workflows. See modes.md for details.

Mode Purpose
gh-coordinator Multi-repo workflow orchestration
pr-manager Pull request management and review
issue-tracker Issue management and project coordination
release-manager Release coordination and deployment
repo-architect Repository structure optimization
code-reviewer Automated code review and QA
ci-orchestrator CI/CD pipeline coordination
security-guardian Security and compliance management

Workflow Templates

Production-ready templates for common scenarios. See templates.md.

  • Intelligent CI with swarms
  • Multi-language detection
  • Adaptive security scanning
  • Self-healing pipeline
  • Progressive deployment
  • Performance regression detection
  • PR validation swarm
  • Intelligent release

Integration Checklist

bash
# Quick setup verification
gh auth status                    # GitHub CLI authenticated
node --version                    # Node.js v16+
npx claude-flow@alpha --version   # claude-flow available
ls .github/workflows/             # Workflows directory exists

Setup Script

bash
#!/bin/bash
# Install dependencies
npm install -g claude-flow@alpha

# Verify GitHub CLI
gh auth status || gh auth login

# Create workflow directory
mkdir -p .github/workflows

# Generate initial workflow
npx ruv-swarm actions generate-workflow \
  --analyze-codebase \
  --create-optimal-pipeline > .github/workflows/ci.yml

echo "✅ GitHub workflow automation setup complete"

Related Skills

  • github-release-management - Release orchestration
  • github-code-review - Code review automation
  • github-project-management - Project coordination

Support & Documentation


Changelog

v1.1.0 (2026-01-24)

  • Decomposed into sub-files for progressive disclosure
  • Added behavioral classification (ADR-025)
  • Reduced SKILL.md from 1065 to ~150 lines

v1.0.0 (2025-01-19)

  • Initial skill consolidation
  • Merged workflow-automation.md and github-modes.md
  • Added swarm coordination patterns

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results