Skip to content
Skill

Ci gates

Adds GitHub Actions workflows that run FFFlow quality gates on pull requests

Ci gates is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
6
Last commit
License
Apache-2.0
Listing updated

Similar skills

About Ci gates

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.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 1 file (19 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

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

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

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

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.

Claude Code docs on skills

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

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.

Codex docs on skills

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

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.

Cursor docs on skills

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

gemini skills install https://github.com/zerotechdebt/ffflow.git --path plugin/skills/ci-gates

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

Gemini CLI docs on skills

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

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.

VS Code docs on skills

Get the folder:

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.

The SKILL.md format

What it does

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

Ci gates 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.

More from zerotechdebt/ffflow

  1. Onboards a project onto FFFlow: config, stack setup, then a phased roadmap

    • Open source
    • 6 GitHub stars
    • Developer tools
  2. Runs keep-honest audits on a project and reports drift, stale docs and tech debt

    • Open source
    • 6 GitHub stars
    • Developer tools
  3. Runs another interactive skill unattended, making routine choices from project context

    • Open source
    • 6 GitHub stars
    • Developer tools
  4. Lists and validates the adapter cartridges that FFFlow ports load in a project

    • Open source
    • 6 GitHub stars
    • Developer tools
  5. Extracts a behavioral spec from an unspecified codebase and plans characterization tests

    • Open source
    • 6 GitHub stars
    • Developer tools
  6. Guides agents to build UI components in isolation, with stories and tokens before wiring

    • Open source
    • 6 GitHub stars
    • Developer tools