Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
aj-geddes avatar

Github Actions Workflow

  • 569 installs
  • 305 repo stars
  • Updated March 4, 2026
  • aj-geddes/useful-ai-prompts

github-actions-workflow is a Claude Code skill that helps developers draft and extend GitHub Actions workflows for CI testing, security scans, and automated deployments from their repository.

About

github-actions-workflow is a Claude Code skill for building comprehensive GitHub Actions workflows covering CI/CD, testing, security scanning, and deployment. The skill teaches workflows, jobs, steps, and conditional execution patterns so agents can automate build, test, security analysis, and release pipelines directly in .github/workflows YAML. Developers reach for github-actions-workflow when bootstrapping repository automation, adding matrix test jobs, wiring dependency updates, or extending deploy stages without memorizing Actions syntax edge cases.

  • Starter CI/CD pipeline with push/PR triggers and multi-version matrix jobs
  • Covers build automation, security scanning, dependency updates, and deployment jobs
  • Documents workflows, jobs, steps, env vars, and conditional execution patterns
  • Points to reference guides for complete CI/CD, security, and release implementations
  • Uses checkout/setup-node and registry env patterns common in solo SaaS repos

Github Actions Workflow by the numbers

  • 569 all-time installs (skills.sh)
  • Ranked #251 of 1,435 DevOps & CI/CD skills by installs in the Skillselion catalog
  • Security screen: LOW risk (skills.sh audit)
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/aj-geddes/useful-ai-prompts --skill github-actions-workflow

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs569
repo stars305
Security audit3 / 3 scanners passed
Last updatedMarch 4, 2026
Repositoryaj-geddes/useful-ai-prompts

How do you write GitHub Actions CI/CD workflows?

Draft or extend GitHub Actions workflows for CI, security scans, and automated deploys from their repo.

Who is it for?

Developers adding or extending GitHub Actions pipelines who need CI, security scans, and deploy jobs drafted from repository context.

Skip if: GitLab CI, CircleCI, or Jenkins pipelines, or application feature code unrelated to workflow YAML.

When should I use this skill?

A developer asks to create, fix, or extend GitHub Actions workflows for CI, testing, security scanning, or deployment.

What you get

.github/workflows YAML files with jobs for testing, security scanning, build automation, and deployment stages.

  • .github/workflows YAML files
  • CI job definitions
  • deploy and security scan workflows

Files

SKILL.mdMarkdownGitHub ↗

GitHub Actions Workflow

Table of Contents

Overview

Create powerful GitHub Actions workflows to automate testing, building, security scanning, and deployment processes directly from your GitHub repository.

When to Use

  • Continuous integration and testing
  • Build automation
  • Security scanning and analysis
  • Dependency updates
  • Automated deployments
  • Release management
  • Code quality checks

Quick Start

Minimal working example:

# .github/workflows/ci.yml
name: CI/CD Pipeline

on:
  push:
    branches: [main, develop]
  pull_request:
    branches: [main, develop]

env:
  REGISTRY: ghcr.io
  IMAGE_NAME: ${{ github.repository }}

jobs:
  test:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        node-version: [16.x, 18.x, 20.x]
    steps:
      - uses: actions/checkout@v3

      - name: Setup Node ${{ matrix.node-version }}
        uses: actions/setup-node@v3
        with:
// ... (see reference guides for full implementation)

Reference Guides

Detailed implementations in the references/ directory:

GuideContents
Complete CI/CD WorkflowComplete CI/CD Workflow
Automated Release WorkflowAutomated Release Workflow
Docker Build and PushDocker Build and Push

Best Practices

✅ DO

  • Use caching for dependencies (npm, pip, Maven)
  • Run tests in parallel with matrix strategy
  • Require status checks on protected branches
  • Use environment secrets and variables
  • Implement conditional jobs with if:
  • Lint and format before testing
  • Set explicit permissions with permissions
  • Use runner labels for specific hardware
  • Cache Docker layers for faster builds

❌ DON'T

  • Store secrets in workflow files
  • Run untrusted code in workflows
  • Use secrets.* with pull requests from forks
  • Hardcode credentials or tokens
  • Miss error handling with continue-on-error
  • Create overly complex workflows
  • Skip testing on pull requests

Related skills

How it compares

Use github-actions-workflow for GitHub-native CI YAML; use a generic DevOps skill when targeting multiple CI providers.

FAQ

What pipeline types does github-actions-workflow cover?

github-actions-workflow covers continuous integration, build automation, security scanning, dependency updates, and deployment workflows. The skill structures jobs, steps, and conditional execution in GitHub Actions YAML.

Where do github-actions-workflow outputs live?

github-actions-workflow produces .github/workflows YAML files inside the repository. Agents draft or extend workflow definitions for testing, security, and deploy stages directly from repo context.

Is Github Actions Workflow safe to install?

skills.sh reports 3 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.

DevOps & CI/CDdevopsintegrationstesting

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.