From github
Develops GitHub Actions CI/CD workflows by editing .github/workflows YAML for triggers, jobs, matrices, caching, artifacts. Monitors runs, views logs, debugs failures with gh CLI.
npx claudepluginhub bendrucker/claude --plugin githubThis skill uses the workspace's default tool permissions.
Separate jobs with a double blank line. Annotate non-obvious configuration with inline comments. Omit boilerplate that's clear from context.
Creates isolated Git worktrees for feature branches with prioritized directory selection, gitignore safety checks, auto project setup for Node/Python/Rust/Go, and baseline verification.
Executes implementation plans in current session by dispatching fresh subagents per independent task, with two-stage reviews: spec compliance then code quality.
Dispatches parallel agents to independently tackle 2+ tasks like separate test failures or subsystems without shared state or dependencies.
Separate jobs with a double blank line. Annotate non-obvious configuration with inline comments. Omit boilerplate that's clear from context.
name: CI
on:
push:
branches: [main]
pull_request:
# Cancel redundant runs on the same branch
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
- run: bun install --frozen-lockfile
- run: bun run lint
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
shard: [1, 2, 3]
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
- run: bun install --frozen-lockfile
- run: bun test --shard ${{ matrix.shard }}/3
deploy:
needs: [lint, test]
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
environment: production # requires approval in repo settings
steps:
- uses: actions/checkout@v4
- run: ./deploy.sh
concurrency at workflow level cancels stale runs on the same branchpermissions — always set explicitly, least privilegefail-fast: false — let all matrix jobs finish so you see all failuresneeds — express job dependencies; jobs without needs run in parallelif on jobs — gate deployment on branch, skip expensive work on draft PRsSee references/workflows.md for triggers, caching, artifacts, services, reusable workflows, and outputs.
gh run list --branch $(git branch --show-current) --limit 5 # check CI
gh run watch <run-id> # wait for completion
gh run view <run-id> --log-failed # debug failures
The github:actions-monitor skill automates failure monitoring and log extraction.
See references/cli.md for the full command reference.