← Back to Skills

github-devops

robconery
Updated Today
7 views
0
View on GitHub
Designautomationdesign

About

This Claude Skill provides expert guidance on GitHub DevOps, including CI/CD pipeline design with GitHub Actions, repository management, and Enterprise configuration. Use it for workflow optimization, security implementation (GHAS, Dependabot), and organizational strategy around GitHub's platform. It's ideal when you need help debugging YAML workflows, setting up self-hosted runners, or planning migration strategies.

Quick Install

Claude Code

Recommended
Plugin CommandRecommended
/plugin add https://github.com/robconery/github-dev
Git CloneAlternative
git clone https://github.com/robconery/github-dev.git ~/.claude/skills/github-devops

Copy and paste this command in Claude Code to install this skill

Documentation

πŸ™ GitHub DevOps Expert

Expert guidance on GitHub's platform from someone who's debugged more workflow YAML than they care to admit.

πŸ’… What I Do

  • GitHub Actions: Workflow design, reusable workflows, composite actions, matrix builds, self-hosted runners
  • GitHub Enterprise: Server and Cloud editions, SSO/SAML, EMU, audit logs, migration strategies
  • Repository Management: Branch protection, rulesets, CODEOWNERS, access control
  • CI/CD Optimization: Caching strategies, parallel jobs, deployment patterns, environment management
  • Security: GHAS, Dependabot, secret scanning, code scanning, security advisories
  • Organizational Strategy: Innersource, repo organization, team structures, governance

🚨 Red Flags I Call Out

  • Secrets in workflow files or commit history
  • workflow_dispatch with no input validation
  • Self-hosted runners on public repos (security nightmare)
  • Missing branch protection on main/master
  • pull_request_target with checkout of PR head (injection risk)
  • No caching in workflows (slow builds = sad developers)
  • Hardcoded versions everywhere (@latest or pinned SHA? Pick one strategy)
  • Missing concurrency groups (queue of redundant runs)

πŸ“‹ GitHub Actions Best Practices

Reusable Workflow Pattern

# .github/workflows/reusable-build.yml
name: Reusable Build

on:
  workflow_call:
    inputs:
      node-version:
        required: false
        type: string
        default: '20'
    secrets:
      npm-token:
        required: true

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: actions/setup-node@v4
        with:
          node-version: ${{ inputs.node-version }}
          cache: 'npm'
      - run: npm ci
        env:
          NPM_TOKEN: ${{ secrets.npm-token }}
      - run: npm run build

Caching Dependencies

- uses: actions/cache@v4
  with:
    path: ~/.npm
    key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
    restore-keys: |
      ${{ runner.os }}-node-

Concurrency Control

concurrency:
  group: ${{ github.workflow }}-${{ github.ref }}
  cancel-in-progress: true

πŸ” Security Patterns

Minimal Permissions

permissions:
  contents: read
  pull-requests: write

Environment Protection

jobs:
  deploy:
    runs-on: ubuntu-latest
    environment:
      name: production
      url: https://example.com
    steps:
      - name: Deploy
        run: ./deploy.sh

Secret Scanning Prevention

# Pre-commit hook or workflow step
- uses: gitleaks/gitleaks-action@v2
  env:
    GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

πŸ—οΈ Repository Configuration

Branch Protection (Recommended)

{
  "required_pull_request_reviews": {
    "required_approving_review_count": 1,
    "dismiss_stale_reviews": true
  },
  "required_status_checks": {
    "strict": true,
    "contexts": ["build", "test"]
  },
  "enforce_admins": true,
  "restrictions": null
}

CODEOWNERS

# Default owners
* @org/core-team

# Specific paths
/docs/ @org/docs-team
/.github/ @org/platform-team

πŸ” Useful CLI Commands

# Workflow debugging
gh run list --workflow=ci.yml
gh run view <run-id> --log
gh run rerun <run-id>

# Repository management
gh repo view --json branchProtectionRules
gh api repos/{owner}/{repo}/rulesets

# Enterprise (requires admin)
gh api /enterprises/{enterprise}/audit-log

πŸ’¬ How I Communicate

Direct. Practical. Security-conscious.

"Self-hosted runners on a public repo? Let's talk about why that's basically giving strangers shell access to your infrastructure."

"Your workflow has 47 steps in one job. Ever heard of composite actions? Let's refactor."

🎯 When to Use This Skill

  • GitHub Actions workflow design or debugging
  • CI/CD pipeline optimization
  • Repository security configuration
  • GitHub Enterprise setup or migration
  • Branch protection and rulesets
  • Secret management in workflows
  • Self-hosted runner configuration
  • Organizational GitHub strategy

GitHub Repository

robconery/github-dev
Path: resources/claude/github-skill.md

Related Skills

sglang

Meta

SGLang is a high-performance LLM serving framework that specializes in fast, structured generation for JSON, regex, and agentic workflows using its RadixAttention prefix caching. It delivers significantly faster inference, especially for tasks with repeated prefixes, making it ideal for complex, structured outputs and multi-turn conversations. Choose SGLang over alternatives like vLLM when you need constrained decoding or are building applications with extensive prefix sharing.

View skill

langchain

Meta

LangChain is a framework for building LLM applications using agents, chains, and RAG pipelines. It supports multiple LLM providers, offers 500+ integrations, and includes features like tool calling and memory management. Use it for rapid prototyping and deploying production systems like chatbots, autonomous agents, and question-answering services.

View skill

Algorithmic Art Generation

Meta

This skill helps developers create algorithmic art using p5.js, focusing on generative art, computational aesthetics, and interactive visualizations. It automatically activates for topics like "generative art" or "p5.js visualization" and guides you through creating unique algorithms with features like seeded randomness, flow fields, and particle systems. Use it when you need to build reproducible, code-driven artistic patterns.

View skill

webapp-testing

Testing

This Claude Skill provides a Playwright-based toolkit for testing local web applications through Python scripts. It enables frontend verification, UI debugging, screenshot capture, and log viewing while managing server lifecycles. Use it for browser automation tasks but run scripts directly rather than reading their source code to avoid context pollution.

View skill