# github-workflow-automation

A skill with ready-made patterns for AI-driven PR reviews, issue triage and CI/CD on GitHub. Useful when you are wiring automation into a repository.

- skill · `type=skill` · Claude Code · 121 installs
- Author: davila7
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/davila7/claude-code-templates/tree/HEAD/cli-tool/components/skills/development/github-workflow-automation
- Updated: 2026-10-24
- HTML: https://affpapa.org/en/nevibecode/skills/github-workflow-automation

## What it does

The skill covers hooking a model into GitHub chores: reviewing pull requests, sorting incoming issues, and handling Git operations like rebase and cherry-pick. What you get are YAML files for `.github/workflows` that fire on `pull_request` and `issues` events.

A review runs like this: the workflow collects the changed file list and the diff, sends both to the model, then posts the answer as a PR comment. That step needs `ANTHROPIC_API_KEY` in repository secrets and the `@anthropic-ai/sdk` package. No key, no review.

For issues, the skill ships a prompt that asks the model to return JSON with the report type, severity, area and whether reproduction steps are present. The workflow turns that into labels and, when steps are missing, leaves a comment asking for them. A separate example handles old issues on a schedule.

## Requirements
- Works with: GitHub

## Install

### Claude Code (native platform)

1. **claude-code-templates**
```bash
npx claude-code-templates@latest --skill development/github-workflow-automation
```

2. **Skills CLI (Vercel)**
```bash
npx skills add davila7/claude-code-templates --skill github-workflow-automation -a claude-code
```

3. **Manually: put the files in place**
- File: `~/.claude/skills/github-workflow-automation/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/github-workflow-automation/

### Codex

**Manually: put the files in place**
- File: `.agents/skills/github-workflow-automation/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

**Manually: put the files in place**
- File: `.cursor/skills/github-workflow-automation/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install davila7/claude-code-templates github-workflow-automation
```

2. **Manually: put the files in place**
- File: `.github/skills/github-workflow-automation/SKILL.md`

### Gemini CLI

**Platform CLI**
```bash
gemini skills install https://github.com/davila7/claude-code-templates --path cli-tool/components/skills/development/github-workflow-automation
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/github-workflow-automation/SKILL.md` — The legacy .windsurf/skills/ path still works

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/davila7/claude-code-templates/tree/HEAD/cli-tool/components/skills/development/github-workflow-automation

## When to use it
- set up automatic pull request reviews through GitHub Actions
- label new issues by type and severity
- ask reporters for reproduction steps when they are missing
- call a model from a CI/CD step
- describe Git operations like rebase and cherry-pick for the agent

## Example prompts
- Set up automatic PR review in this repo using the workflow from the skill
- Create an issue triage workflow that applies bug and enhancement labels
- Add a CI step that sends the diff to the model and comments on the pull request

## Similar
- [github-workflow](https://affpapa.org/en/nevibecode/skills/github-workflow.md) — skill · 780 installs
- [github-actions-hardening](https://affpapa.org/en/nevibecode/skills/github-actions-hardening.md) — skill · 2200 installs
- [github](https://affpapa.org/en/nevibecode/skills/dimillian-github.md) — skill · 870 installs
- [github-actions-generator](https://affpapa.org/en/nevibecode/skills/github-actions-generator.md) — skill · 643 installs
- [github-actions](https://affpapa.org/en/nevibecode/skills/devops-skills-github-actions.md) — skill · 388 installs
- [github-copilot-starter](https://affpapa.org/en/nevibecode/skills/github-copilot-starter.md) — skill · 8900 installs

## Other versions with the same name
- [github-workflow-automation · ruvnet](https://affpapa.org/en/nevibecode/skills/ruvnet-github-workflow-automation.md) — 1300 installs
- [github-workflow-automation · sickn33](https://affpapa.org/en/nevibecode/skills/sickn33-github-workflow-automation.md) — 1500 installs

From the same set: [davila7/claude-code-templates](https://affpapa.org/en/nevibecode/by/davila7/claude-code-templates.md) — 224 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
