# Ci pipeline and gates

> Ci pipeline and gates is an open-source agent skill for developer tools. Sets up GitHub Actions CI for Expo apps with pinned, hardened workflows and device lanes. 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/zakariaf/ReactNative-Skills/tree/main/skills/ci-pipeline-and-gates
- **Repository:** https://github.com/zakariaf/reactnative-skills
- **GitHub stars:** 16
- **License:** MIT
- **Skill name:** ci-pipeline-and-gates
- **Collection:** https://github.com/zakariaf/ReactNative-Skills
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-04

## About

This skill builds a GitHub Actions setup for an Expo app that repeats the local verify gate on every pull request and push to main, runs Android emulator and iOS simulator end-to-end lanes on a nightly schedule, and provides a manual EAS release workflow behind a protected environment. The agent copies workflow and Dependabot templates into the repository, then edits existing workflows to call npm scripts rather than ad-hoc commands.

The guidance centres on pinning: actions are referenced by full commit SHA with a version comment, runners and Node versions are fixed, and Dependabot applies a seven-day cooldown. It also covers least privilege, avoiding untrusted input in privileged contexts, keeping secrets away from caches, and requiring reports to be uploaded even when a step fails. Two bundled checkers verify the workflow files and the device lane coverage, and the agent is directed to fix failures rather than loosen the rules.

The skill expects an Expo project with npm scripts, an .nvmrc file and ideally a quality-gates setup that provides a verify script. Work is done with the GitHub Actions workflow files, the Node and npm toolchain, actionlint, and the EAS CLI for release lanes. Human setup such as repository secrets, protected environments and branch protection stays with the developer.

## When your agent uses it

> Builds GitHub Actions CI for Expo apps - verify on every PR, SHA-pinned actions, pinned runners and Node, device lanes, manual EAS releases. Use when editing .github/workflows or CI fails. Not for local gates (quality-gates).

## What it can access

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

- [Runs JavaScript and TypeScript scripts](https://github.com/zakariaf/ReactNative-Skills/tree/HEAD/skills/ci-pipeline-and-gates)
- [No network calls found in its scripts](https://github.com/zakariaf/ReactNative-Skills/tree/HEAD/skills/ci-pipeline-and-gates)
- [License: MIT](https://github.com/zakariaf/ReactNative-Skills/tree/HEAD/skills/ci-pipeline-and-gates)

## Features

- **Merge gate workflow:** Runs the repository's npm verify script on every pull request and push to main.
- **Nightly device lanes:** Schedules Android emulator and iOS simulator build and end-to-end jobs on suitable runners.
- **Pinned actions and runners:** Pins actions to commit SHAs and runner images and Node versions to exact releases.
- **Manual EAS release:** Starts store builds only by hand, in a protected environment, with a pinned EAS CLI.
- **Workflow hardening rules:** Applies least-privilege permissions, safe checkout settings and protections against script injection.
- **Built-in workflow checkers:** Includes scripts that validate workflow files and device lane coverage against defined rules.

## Good for

- Set up CI for an Expo app so every pull request runs the full verify gate
- Add nightly Android and iOS end-to-end runs to GitHub Actions
- Pin all GitHub Actions to commit SHAs and configure Dependabot updates
- Create a manual EAS build workflow that requires approval before release
- Fix a failing GitHub Actions run without weakening its checks

## Install

### Claude Code

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

```sh
/plugin marketplace add zakariaf/ReactNative-Skills
/plugin install react-native@react-native-skills
```

Or copy only this skill to `~/.claude/skills/ci-pipeline-and-gates`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/zakariaf/ReactNative-Skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/ci-pipeline-and-gates &&
cp -R "$tmp/skills/ci-pipeline-and-gates" ~/.claude/skills/ci-pipeline-and-gates &&
rm -rf "$tmp"
```

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

### Codex

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

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/zakariaf/ReactNative-Skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/ci-pipeline-and-gates &&
cp -R "$tmp/skills/ci-pipeline-and-gates" ~/.agents/skills/ci-pipeline-and-gates &&
rm -rf "$tmp"
```

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

### Cursor

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

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/zakariaf/ReactNative-Skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/ci-pipeline-and-gates &&
cp -R "$tmp/skills/ci-pipeline-and-gates" ~/.cursor/skills/ci-pipeline-and-gates &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/ci-pipeline-and-gates` 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/zakariaf/ReactNative-Skills.git --path skills/ci-pipeline-and-gates
```

Or copy the folder to `~/.gemini/skills/ci-pipeline-and-gates` yourself.

### VS Code

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

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/zakariaf/ReactNative-Skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/ci-pipeline-and-gates &&
cp -R "$tmp/skills/ci-pipeline-and-gates" ~/.copilot/skills/ci-pipeline-and-gates &&
rm -rf "$tmp"
```

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

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/zakariaf/ReactNative-Skills.git
```

Then copy `ReactNative-Skills/skills/ci-pipeline-and-gates` into your agent's skills folder as `ci-pipeline-and-gates`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does the skill need before Ci pipeline and gates can be applied?

It expects an Expo project with an .nvmrc file and a verify npm script; without verify, the skill directs adopting quality-gates first.

### Does Ci pipeline and gates trigger on every workflow edit?

It is meant for editing .github/workflows or when CI fails; local gates are covered by a separate skill.

### Does the skill run device tests on GitHub?

The workflows are written to run device lanes on GitHub's runners, but the skill notes these device jobs were not run on GitHub during its verification.

### How do I install Ci pipeline and gates in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/ci-pipeline-and-gates to use it in all your projects, or to .claude/skills/ci-pipeline-and-gates in one project. Or install the react-native plugin, which includes it: /plugin marketplace add zakariaf/ReactNative-Skills, then /plugin install react-native@react-native-skills.

### Does Ci pipeline and gates run scripts?

Yes. It runs JavaScript and TypeScript scripts. No network calls were found in its 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 Ci pipeline and gates?

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 Ci pipeline and gates?

The closest alternatives to Ci pipeline and gates are Eas build and submit, GitHub ci, Ci cd and automation, Git commits and reporting and Expo SDK upgrade.

## Where this comes from

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

## Alternatives

- [Eas build and submit](https://ai-powered.com/skills/eas-build-and-submit): Eas build and submit is an open-source agent skill for developer tools.
- [GitHub ci](https://ai-powered.com/skills/github-ci): GitHub ci 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.
- [Git commits and reporting](https://ai-powered.com/skills/git-commits-and-reporting): Git commits and reporting is an open-source agent skill for developer tools.
- [Expo SDK upgrade](https://ai-powered.com/skills/expo-sdk-upgrade): Expo SDK upgrade is an open-source agent skill for developer tools.
- [Eas workflows](https://ai-powered.com/skills/eas-workflows): Eas workflows is an open-source agent skill for developer tools.
- [Go ci](https://ai-powered.com/skills/go-ci): Go ci is an open-source agent skill for developer tools.
- [Android release play](https://ai-powered.com/skills/android-release-play): Android release play is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/ci-pipeline-and-gates
