writing-github-actions

writing-github-actions is a skill for Claude Code from ancoleman/ai-design-components. It costs 50 tokens per session (2,878 once invoked), scanned A, original, MIT.

A guide to GitHub Actions, GitHub’s built-in system for running automated jobs when repository events occur. It covers workflow files, reusable workflows, parallel test matrices, caching, secrets, and deployments.

In plain words
What is it for?
Use it to create CI/CD pipelines for testing, building, deploying, managing artifacts, and automating tasks across GitHub repositories.
Why use it?
It helps automate repetitive repository work and catch problems before code is merged or deployed. It also covers ways to reuse workflows and control concurrent runs.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is uses: ./.github/workflows/reusable-build.yml.

Part of the developer-productivity-skills plugin — 7 skills shipped together

Good fit Use it to create CI/CD pipelines for testing, building, deploying, managing artifacts, and automating tasks across GitHub repositories.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/ancoleman/ai-design-components
agentmods
npx agentmods add skills/ancoleman/ai-design-components/writing-github-actions

Made for: Claude Code.

Or install developer-productivity-skills, the plugin that ships this one along with the rest of its 7 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for writing-github-actions

README.md
[![agentmods](https://agentmods.dev/badge/skills/ancoleman/ai-design-components/writing-github-actions/github.svg)](https://agentmods.dev/skills/ancoleman/ai-design-components/writing-github-actions)
Your own site
<a href="https://agentmods.dev/skills/ancoleman/ai-design-components/writing-github-actions"><img src="https://agentmods.dev/badge/skills/ancoleman/ai-design-components/writing-github-actions/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for writing-github-actions

Your own site · 80×15
<a href="https://agentmods.dev/skills/ancoleman/ai-design-components/writing-github-actions"><img src="https://agentmods.dev/badge/skills/ancoleman/ai-design-components/writing-github-actions.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,878 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00050 $0.02878
Opus 5.5 $0.00020 $0.01151
Sonnet 5.5 $0.00010 $0.00576
Haiku 4.5 $0.00005 $0.00288

Measured 2mo ago against content hash af94116c2cbc, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

writing-github-actions scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/validate-workflow.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/writing-github-actions/SKILL.md · 474 lines

How it starts

The opening of the file, as written. The whole thing — 474 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Writing GitHub Actions

Create GitHub Actions workflows for CI/CD pipelines, automated testing, deployments, and repository automation using YAML-based configuration with native GitHub integration.

Purpose

GitHub Actions is the native CI/CD platform for GitHub repositories. This skill covers workflow syntax, triggers, job orchestration, reusable patterns, optimization techniques, and security practices specific to GitHub Actions.

Core Focus:

  • Workflow YAML syntax and structure
  • Reusable workflows and composite actions
  • Matrix builds and parallel execution
  • Caching and optimization strategies
  • Secrets management and OIDC authentication
  • Concurrency control and artifact management

Not Covered:

  • CI/CD pipeline design strategy → See building-ci-pipelines
  • GitOps deployment patterns → See gitops-workflows
  • Infrastructure as code → See infrastructure-as-code
  • Testing frameworks → See testing-strategies

When to Use This Skill

Trigger this skill when:

  • Creating CI/CD workflows for GitHub repositories
  • Automating tests, builds, and deployments via GitHub Actions
  • Setting up reusable workflows across multiple repositories
  • Optimizing workflow performance with caching and parallelization
  • Implementing security best practices for GitHub Actions
  • Troubleshooting GitHub Actions YAML syntax or behavior

Workflow Fundamentals

Basic Workflow Structure

name: CI
on:
  push:
    branches: [main]
  pull_request:
    branches: [main]

jobs:
  test:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v5
      - uses: actions/setup-node@v4
        with:
          node-version: '20'
          cache: 'npm'
      - run: npm ci
      - run: npm test

Key Components:

  • name: Workflow display name
  • on: Trigger events (push, pull_request, schedule, workflow_dispatch)
  • jobs: Job definitions (run in parallel by default)
  • runs-on: Runner type (ubuntu-latest, windows-latest, macos-latest)
  • steps: Sequential operations (uses actions or run commands)

Read the full file on GitHub · 474 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 474 lines · 50 tokens per session scan A af94116c2cbc

Subscribe to this mod's changes

writing-github-actions is a skill published in the GitHub repository ancoleman/ai-design-components (530 stars, last pushed 11mo ago), licensed MIT. It adds 50 tokens to every session and 2,878 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

writing-github-actions compared with skills from other repositories

writing-github-actions next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
writing-github-actionsancoleman/ai-design-componentsSkill53011mo agoMITA50Claude Code
bitbucket-workflowMindrally/skillsSkill3051mo agoApache-2.0A27Claude Code
gitlab-workflowMindrally/skillsSkill3051mo agoApache-2.0A24Claude Code
runbook-generatorOneWave-AI/claude-skillsSkill42824d agoMITA58Claude Code, Codex
devopsMindrally/skillsSkill3051mo agoApache-2.0A25Claude Code
android-devlingxling/awesome-skills-cnSkill3311mo agoMITA31Claude Code
ci-cd-best-practicesMindrally/skillsSkill3051mo agoApache-2.0B28Claude Code