workflow-automation — Claude Code command: what it does, install
workflow-automation integrates multi-agent swarms with GitHub Actions pipelines to generate CI configurations, select tests, and inspect build failures.
no license ★ 850 updated 2026-10-26
.claude/commands/workflow-automation.mdWhat workflow-automation does
This command connects swarm orchestration to GitHub Actions using the npx ruv-swarm actions CLI. It scans repository files to detect tech stacks, create test matrices, and configure automated workflows tailored to the project.
Pipelines can analyze failed runs, assess security problems, and spot performance regressions between branches. Tasks like reading workflow run logs or logging issues rely on the official gh CLI tool.
Execution requires Node.js on the runner for npx commands alongside an authenticated GitHub CLI instance to manage issues.
What it helps with
- Build dynamic test matrices based on modified files
- Diagnose failed GitHub Actions runs and report issues
- Generate continuous integration workflows for polyglot repositories
- Detect bottlenecks and redundant jobs in workflow files
Example prompts for the agent
- Generate a GitHub Actions workflow for this repository with ruv-swarm
- Analyze the failed CI run and suggest automated fixes
- Optimize .github/workflows/ci.yml to parallelize test execution
How to install workflow-automation
Manually: put the files in place
.claude/commands/workflow-automation.mdCall it with /workflow-automation. For all projects use ~/.claude/commands/
Manually: put the files in place
~/.codex/prompts/workflow-automation.mdCall it with /prompts:workflow-automation. Codex marks this format deprecated in favour of skills
Manually: put the files in place
.github/prompts/workflow-automation.prompt.mdManually: put the files in place
.gemini/commands/workflow-automation.tomlGemini stores commands as TOML: the prompt text goes into the prompt field
Questions about workflow-automation
How do I install workflow-automation in Claude Code?
Save the definition file to .claude/commands/workflow-automation.md. Claude Code will pick up the command automatically.
What does workflow-automation do?
It connects agent swarms to GitHub Actions pipelines to generate CI workflows, prune redundant jobs, and analyze build errors.
Which external tools are required in CI?
Your runners need Node.js to execute npx ruv-swarm actions and the gh CLI utility to inspect workflow runs and submit issues.