GitHub CLI (gh) and Actions workflow development. Use for gh PRs, issues, releases, API, Actions triggers/jobs/steps, caching, matrix builds, self-hosted runners, setup-node, or browser test caching.
Ships in github. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Comprehensive GitHub development covering the gh CLI for repository operations and GitHub Actions for CI/CD automation, with emphasis on workflow optimization and cost reduction.
.github/copilot-instructions.md authoring, and bridging Copilot config to .claude/skills/.# Auth
gh auth login # Interactive login
gh auth status # Check auth state
gh auth token # Print token
# PRs
gh pr create --fill # Create PR, auto-fill title/body from commits
gh pr list --state open
gh pr checkout 123
gh pr merge 123 --squash
# Issues
gh issue create --title "Bug" --body "Description" --label bug
gh issue list --assignee @me
# Releases
gh release create v1.0.0 --generate-notes
# API
gh api repos/{owner}/{repo}/actions/runs --jq '.workflow_runs[].status'
gh api graphql -f query='{ viewer { login } }'
See gh-cli.md and gh-cli-advanced.md for complete reference.
name: CI
on:
push:
branches: [main]
paths-ignore: ['**.md']
pull_request:
branches: [main]
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
- run: npm ci
- run: npm test
See actions-triggers-jobs.md and actions-steps-expressions.md for full details.
| Technique | Savings |
|---|---|
| Use ubuntu-latest over macos-latest | 10x cheaper |
Shallow clone: fetch-depth: 1 | Faster checkout |
| Cache dependencies via setup-action | 50-80% faster |
| Parallel matrix jobs | Wall-clock time |
timeout-minutes on jobs | Prevent runaways |
concurrency.cancel-in-progress | Kill stale runs |
See optimization-caching.md and optimization-workflows.md for advanced patterns.
env:
ACTIONS_STEP_DEBUG: true
- run: echo '${{ toJSON(github) }}'
- uses: mxschmitt/action-tmate@v3
if: failure()
Local testing: act push, act -j build, act --secret-file .secrets
config.yaml (opens in a new tab)references/actions-jobs-services.md (opens in a new tab)references/actions-steps-expressions.md (opens in a new tab)references/actions-triggers-jobs.md (opens in a new tab)references/gh-cli-advanced.md (opens in a new tab)references/gh-cli.md (opens in a new tab)references/nodejs.md (opens in a new tab)references/optimization-caching.md (opens in a new tab)references/optimization-workflows.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
/github:githubfrom github
npx claudepluginhub kettleofketchup/kettleofskills --plugin github