
Github Workflow Automation
This is a practical collection of GitHub Actions workflows and patterns for automating code reviews, issue triage, and CI/CD tasks using Claude. You get ready-to-use YAML configs for PR reviews that analyze diffs and post structured feedback, issue triage that auto-labels based on content analysis, and smart test selection based on code changes. The workflows use github-script actions with the Anthropic SDK to call Claude directly from your CI pipeline. Most useful when you're tired of manually triaging issues or want consistent PR reviews without adding review bottlenecks. The patterns are clearly inspired by modern DevOps tooling and include sensible prompt templates for common scenarios like detecting missing reproduction steps or security concerns.
- skills.sh installs
- 371
- GitHub stars
- 33.2K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add davila7/claude-code-templates --skill github-workflow-automation --agent claude-codeInstalls into .claude/skills of the current project.
Files
🔧 GitHub Workflow Automation
Patterns for automating GitHub workflows with AI assistance, inspired by Gemini CLI and modern DevOps practices.
When to Use This Skill
Use this skill when:
- Automating PR reviews with AI
- Setting up issue triage automation
- Creating GitHub Actions workflows
- Integrating AI into CI/CD pipelines
- Automating Git operations (rebases, cherry-picks)
1. Automated PR Review
1.1 PR Review Action
# .github/workflows/ai-review.yml
name: AI Code Review
on:
pull_request:
types: [opened, synchronize]
jobs:
review:
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Get changed files
id: changed
run: |
files=$(git diff --name-only origin/${{ github.base_ref }}...HEAD)
echo "files<<EOF" >> $GITHUB_OUTPUT
echo "$files" >> $GITHUB_OUTPUT
echo "EOF" >> $GITHUB_OUTPUT
Sponsors
Details
- Repository
- github.com/davila7/claude-code-templates
- Categories
- DevOps & CI/CD, Git & Pull Requests, Code Review & Quality, Automation & Workflows
- First seen
- Jun 3, 2026
More from davila7/claude-code-templates
All 618- Schema Markup371
- Webapp Testing370
- Bun Development369
- Tensorboard369
- Pymatgen368
- Deepspeed367
- Figma Implement Design367
- Copy Editing366
- Codex Review365
- Instructor365
- Notebooklm365
- Behavioral Modes364
- Unsloth364
- Test Driven Development363
- Accessibility362
- Networkx362
- Pymc Bayesian Modeling362
- Analytics Tracking361
- Outlines359
- Python Patterns359
- Biorxiv Database358
- Plan Writing358
- Risk Management Specialist358
- Langsmith Observability357