# GitHub ci

> GitHub ci is an open-source agent skill for developer tools. Guides an agent through writing and reviewing secure GitHub Actions CI and release. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/sorah/config/tree/master/claude/marketplace/plugins/sorah-guides/skills/github-ci
- **Repository:** https://github.com/sorah/config
- **GitHub stars:** 31
- **License:** MIT
- **Skill name:** github-ci
- **Collection:** https://github.com/sorah/config
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-03

## About

This skill gives the agent a standard layout for GitHub Actions projects: thin ci and release entry points that call a shared reusable test workflow, so pull requests, pushes and tagged releases run the same checks. It sets out a security baseline covering least-privilege permissions declared at workflow and job level, full commit SHA pinning for third-party actions, safe handling of expressions in run steps, and OIDC over stored secrets.

The guidance also covers operational hygiene such as job timeouts, fail-fast settings on matrices, concurrency rules, drift checks on generated output, and linting workflows with actionlint and zizmor. Reference files describe test job templates for Ruby gems, Rust crates and protobuf projects, plus release patterns including trusted publishing, draft releases, attestations and container images.

The skill expects a repository that uses GitHub Actions and, where relevant, a project-level lint setup such as hk and mise. Project-specific conventions take priority over its defaults, and it asks the agent to match sibling repositories rather than rewrite older workflows wholesale.

## When your agent uses it

> This skill should be used when writing, editing, or reviewing GitHub Actions workflows (`.github/workflows/*.yml`, composite actions in `.github/actions/`), or when setting up CI, a release pipeline, a Docker image build, or gem/crate publishing for a project. Use it whenever the user mentions "GitHub Actions", "CI", "workflow", "release workflow", "trusted publishing", "pin actions", "zizmor", "actionlint", or asks to "add tests to CI", "publish on tag", or "build a container image in CI", even if they never say "workflow". Provides the standard workflow layout (ci / `_test` / release), least-privilege and SHA-pinning rules, release and publishing patterns, and per-language test jobs. Project-specific conventions always take priority.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/sorah/config/tree/HEAD/claude/marketplace/plugins/sorah-guides/skills/github-ci)
- [License: MIT](https://github.com/sorah/config/tree/HEAD/claude/marketplace/plugins/sorah-guides/skills/github-ci)

## Features

- **Standard workflow layout:** Describes how ci, release and reusable underscore-prefixed workflow files divide the work.
- **Least-privilege permissions:** Sets read-only defaults at the top level and grants write scopes per job.
- **SHA pinning rules:** Explains how to pin third-party actions to commit SHAs and resolve them.
- **Release and publishing patterns:** Covers tag releases, trusted publishing, attestations and container image builds.
- **Per-language test jobs:** Provides test job templates for Ruby gems, Rust crates and protobuf projects.
- **Workflow linting setup:** Shows how to run actionlint and zizmor alongside the repository's lint command.

## Good for

- Write a CI workflow for a Ruby gem with a test matrix
- Set up a tag-triggered release that publishes to RubyGems or crates.io
- Review a workflow for overly broad permissions or unpinned actions
- Add a Docker image build job to an existing pipeline
- Pin GitHub Actions to commit SHAs with version comments

## Install

### Claude Code

This skill ships in the `sorah-guides` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add sorah/config
/plugin install sorah-guides@sorah-marketplace
```

Or copy only this skill to `~/.claude/skills/github-ci`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/sorah/config.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/github-ci &&
cp -R "$tmp/claude/marketplace/plugins/sorah-guides/skills/github-ci" ~/.claude/skills/github-ci &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/github-ci` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/github-ci` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/sorah/config.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/github-ci &&
cp -R "$tmp/claude/marketplace/plugins/sorah-guides/skills/github-ci" ~/.agents/skills/github-ci &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/github-ci` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/github-ci` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/sorah/config.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/github-ci &&
cp -R "$tmp/claude/marketplace/plugins/sorah-guides/skills/github-ci" ~/.cursor/skills/github-ci &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/github-ci` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/sorah/config.git --path claude/marketplace/plugins/sorah-guides/skills/github-ci
```

Or copy the folder to `~/.gemini/skills/github-ci` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/github-ci`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/sorah/config.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/github-ci &&
cp -R "$tmp/claude/marketplace/plugins/sorah-guides/skills/github-ci" ~/.copilot/skills/github-ci &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/github-ci` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/sorah/config.git
```

Then copy `config/claude/marketplace/plugins/sorah-guides/skills/github-ci` into your agent's skills folder as `github-ci`. Agents that support SKILL.md read one folder per skill.

## FAQ

### Which clients does GitHub ci work with?

It is published as a Claude Code plugin marketplace skill, and the SKILL.md format it uses is the shared agent skills format.

### Does GitHub ci override a project's own conventions?

No. The skill states that project-specific conventions, such as CLAUDE.md or local workflow idioms, take priority over its defaults.

### Does GitHub ci rewrite existing workflows?

It asks the agent to match the standard in anything written or touched, but not to mass-rewrite unrelated workflows in older repositories.

### What tools does GitHub ci expect to be available?

It refers to actionlint, zizmor, hk and mise for linting, and the gh CLI for resolving action commit SHAs.

### How do I install GitHub ci in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/github-ci to use it in all your projects, or to .claude/skills/github-ci in one project. Or install the sorah-guides plugin, which includes it: /plugin marketplace add sorah/config, then /plugin install sorah-guides@sorah-marketplace.

### Does GitHub ci run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use GitHub ci?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to GitHub ci?

The closest alternatives to GitHub ci are Go ci, GitHub workflow, Ci cd and automation, Ci cd and automation and Ci cd.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Go ci](https://ai-powered.com/skills/go-ci): Go ci is an open-source agent skill for developer tools.
- [GitHub workflow](https://ai-powered.com/skills/github-workflow): GitHub workflow is an open-source agent skill for developer tools.
- [Ci cd and automation](https://ai-powered.com/skills/ci-cd-and-automation-ajyadav013): Ci cd and automation is an open-source agent skill for developer tools.
- [Ci cd and automation](https://ai-powered.com/skills/ci-cd-and-automation): Ci cd and automation is an open-source agent skill for developer tools.
- [Ci cd](https://ai-powered.com/skills/ci-cd): Ci cd is an open-source agent skill for developer tools.
- [GitHub actions hardening](https://ai-powered.com/skills/github-actions-hardening): GitHub actions hardening is an open-source agent skill for developer tools.
- [Sh kb ci cd](https://ai-powered.com/skills/sh-kb-ci-cd): Sh kb ci cd is an open-source agent skill for developer tools.
- [GitHub actions public ci diagnostics](https://ai-powered.com/skills/github-actions-public-ci-diagnostics): GitHub actions public ci diagnostics is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/github-ci
