github-workflow-automation

Automates GitHub PR reviews, issue triage, CI/CD pipelines, and Git operations with AI-assisted workflows.

1|Updated May 10, 2026
One-click install
npx skills add https://github.com/Tgoldi/claude-skills --skill github-workflow-automation-tgoldi
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github-workflow-automation
Source: https://github.com/Tgoldi/claude-skills/tree/main/github-workflow-automation
Command: npx skills add https://github.com/Tgoldi/claude-skills --skill github-workflow-automation-tgoldi

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Manually reviewing pull requests, triaging issues, and maintaining CI/CD pipelines consumes significant engineering time. This Skill provides ready-to-use GitHub Actions workflow patterns that automate these repetitive repository maintenance tasks with AI assistance. ## Core Features & Use Cases - Automated PR Review: GitHub Actions workflows that send PR diffs to an AI model and post structured review comments covering bugs, security concerns, and improvement suggestions. - Issue Triage & Labeling: Automatically classify new issues by type, severity, and area, apply labels, and request reproduction steps from reporters. - CI/CD & Git Automation: Smart test selection based on changed files, AI deployment risk assessment, rollback workflows, auto-rebase commands, and stale branch cleanup. - Use Case: A team lead wants every pull request to receive an initial AI review before human reviewers look at it. They copy the ai-review.yml workflow into their repository, add an Anthropic API key to GitHub Secrets, and every new PR gets an automated structured review comment. ## Quick Start Set up an automated AI code review workflow for my GitHub repository that comments on every new pull request.

Frequently Asked Questions about github-workflow-automation

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up automated AI code review on GitHub pull requests?

Add a GitHub Actions workflow triggered on pull_request events that extracts the diff and sends it to the Anthropic API via github-script. The workflow posts the AI response as a PR review comment using the GitHub REST API, requiring an ANTHROPIC_API_KEY secret.

How to automatically label and triage GitHub issues with AI?

Create a workflow triggered on issue creation that sends the title and body to an AI model with a classification prompt returning JSON. Parse the type, severity, and area fields, then apply matching labels and post follow-up comments requesting reproduction steps for bugs.

Can GitHub Actions run only tests affected by changed files?

Yes, smart test selection works by diffing changed files against the base branch and mapping path prefixes to test suites. The workflow outputs a matrix of suites so only relevant tests run, falling back to the full suite when nothing specific matches.

What permissions do GitHub Actions workflows need for PR automation?

PR review workflows need contents: read and pull-requests: write permissions, while issue triage needs issues: write. Store API keys in GitHub Secrets and follow the principle of minimal permissions for each workflow job.

How do I auto-rebase a pull request with a comment command?

Trigger a workflow on issue_comment events, check that the comment contains /rebase and the issue is a PR, then check out the PR branch, rebase onto main, and force-push with --force-with-lease. The workflow confirms success with a comment.