# Ci gates

> Ci gates is an open-source agent skill for developer tools. Adds GitHub Actions workflows that run FFFlow quality gates on pull requests. 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/zerotechdebt/ffflow/tree/main/plugin/skills/ci-gates
- **Repository:** https://github.com/zerotechdebt/ffflow
- **GitHub stars:** 6
- **License:** Apache-2.0
- **Skill name:** ci-gates
- **Collection:** https://github.com/zerotechdebt/ffflow
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-04

## About

This skill produces GitHub Actions workflow templates for projects built with FFFlow. The generated PR workflow runs level-appropriate gates such as formatting, linting, typechecking, unit tests and coverage, and each gate calls the same justfile recipe that the local git hooks use, so CI and hooks fail for the same reasons.

The workflows are level-aware: more checks switch on at higher levels, and optional test tiers add separate merge and nightly workflows so the full test suite still runs somewhere. When compliance scanning is enabled, a merge and promotion workflow runs vulnerability, licence, secret and SBOM scans and uploads the reports as evidence.

The skill expects a .ffflow/config.yaml and an optional .ffflow/stack.yaml, and it reads the project's justfile to see which optional recipes exist. Setup steps are provided for TypeScript, Python, Java and Rust projects. Judgement-based audits are not run in CI yet, and branch protection is left for the user to apply manually.

## When your agent uses it

> GitHub Actions workflow templates for FFFlow projects — runs level-appropriate quality gates as PR checks by calling the same justfile recipes as the git hooks. Branch triggers follow the branch model; test tiers add merge and nightly workflows; compliance scans upload evidence on merge and promotion.

## What it can access

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

- [Instructions only, no scripts](https://github.com/zerotechdebt/ffflow/tree/HEAD/plugin/skills/ci-gates)
- [License: Apache-2.0](https://github.com/zerotechdebt/ffflow/tree/HEAD/plugin/skills/ci-gates)

## Features

- **Level-aware PR gates:** Quality gates for structure, correctness, coverage and maintainability switch on according to the project's FFFlow level.
- **Recipe-based CI steps:** Each gate runs a just recipe shared with the git hooks, keeping CI and local checks consistent.
- **Test tier workflows:** Optional merge and nightly workflows run the test tiers that the PR workflow skips.
- **Compliance scan evidence:** Merge and promotion workflows run vulnerability, licence, secret and SBOM scans and upload the reports.
- **Branch model triggers:** Workflow triggers and promotion rules are read from the project's branch configuration instead of fixed branch names.
- **Multi-stack setup steps:** Setup blocks are given for TypeScript, Python, Java and Rust, while gate steps stay identical.

## Good for

- Set up CI checks that run on every pull request in an FFFlow project
- Add nightly test runs for a slower test tier
- Add a merge workflow that records security scan evidence
- Update an existing GitHub Actions workflow to the current FFFlow template
- Configure a Python project's CI to run its just recipes

## Install

### Claude Code

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

```sh
/plugin marketplace add zerotechdebt/ffflow
/plugin install fff@ffflow
```

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

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

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

### Codex

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

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

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

### Cursor

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

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

For one project only, put the folder in `.cursor/skills/ci-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/zerotechdebt/ffflow.git --path plugin/skills/ci-gates
```

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

### VS Code

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

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

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

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/zerotechdebt/ffflow.git
```

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

## FAQ

### What does the skill need from the project?

It reads .ffflow/config.yaml for the level, stack and optional branch and test tier settings, and checks the project's justfile for optional recipes such as check-architecture and check-docs.

### Does the generated CI run the audit skill?

No. The judgement-based /fff:audit is a Claude Code skill with no headless entry point yet, so its gate is a stub that passes. Deterministic checks such as spec-audit and lint-check do run.

### Does Ci gates change branch protection settings?

No. It tells the user which required checks to set, either in the GitHub UI or with a gh api command, and does not run that command automatically.

### Do the compliance reports satisfy SOC 2?

No. The uploaded evidence records what the scanners found for a commit but does not by itself satisfy SOC 2 or any other framework.

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

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

### Does Ci gates 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 Ci 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 gates?

The closest alternatives to Ci gates are Justfile, GitHub ci, Stack assess, Init ffflow and Ci cd and automation.

## Where this comes from

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

## Alternatives

- [Justfile](https://ai-powered.com/skills/justfile): Justfile 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.
- [Stack assess](https://ai-powered.com/skills/stack-assess): Stack assess is an open-source agent skill for developer tools.
- [Init ffflow](https://ai-powered.com/skills/init-ffflow): Init ffflow 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 pipeline and gates](https://ai-powered.com/skills/ci-pipeline-and-gates): Ci pipeline and gates 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.

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