davila7 avatar

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-code

Installs 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
1jackjin1997 avatarstudy-habitsjackjin1997/clawforgeBuild effective study habits with spaced repetition, active recall, and session tracking364skills.sh installs
2laravel avatardeploying-laravel-cloudlaravel/agent-skillsDeploys and manages Laravel applications on Laravel Cloud using the `cloud` CLI. Use when the user wants to deploy an app, ship to cloud, create/manage environm364skills.sh installs
3martinholovsky avatardevsecops-expertmartinholovsky/claude-skills-generatorExpert DevSecOps engineer specializing in secure CI/CD pipelines, shift-left security, security automation, and compliance as code. Use when implementing securi364skills.sh installs
4letta-ai avatarletta-api-clientletta-ai/skillsBuild applications with the Letta API — a model-agnostic, stateful API for building persistent agents with memory and long-term learning. Covers SDK patterns fo355skills.sh installs
5davila7 avatartraining-llms-megatrondavila7/claude-code-templatesTrains large language models (2B-462B parameters) using NVIDIA Megatron-Core with advanced parallelism strategies. Use when training models >1B parameters, need350skills.sh installs
6jamditis avatarsocial-media-intelligencejamditis/claude-skills-journalismSocial media monitoring, narrative tracking, and open-source intelligence for journalists. Use when tracking viral content spread, analyzing coordinated campaig348skills.sh installs