Suede Ci Gate logo

Suede Ci Gate

Community
JasonColapietro
suede-ci-gate

Suede AI CI Gate Skills. Use when asked to "fix a required check stuck pending" or set up branch protection and path-aware CI, runtime/lockfile pinning and one aggregator gate from the real repository. Returns workflows and settings. NOT FOR: reviewing implementation (suede-code), designing AI evals (suede-ai-eval), or release packaging (suede-launch-packaging).

Overview

PublisherJasonColapietro
Repositorysuede-creator-skills
Skill namesuede-ci-gate
Stars
126
Forks
12
Bundled files
5
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 5 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by JasonColapietro on GitHub. Read the source before you install it.

Installation

Install the Suede Ci Gate AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/JasonColapietro/suede-creator-skills/tree/main/skills/suede-ci-gate
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/JasonColapietro/suede-creator-skills.git /tmp/suede-creator-skills
mkdir -p .claude/skills
cp -r /tmp/suede-creator-skills/skills/suede-ci-gate .claude/skills/suede-ci-gate
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Suede Ci Gate in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Suede Ci Gate on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Suede Ci Gate is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Suede AI CI Gate Skills

Read the worked delivery contract for a concrete input, expected artifact, failure response and validation example.

Compatibility

Requires repository source and workflow access; Git and the project own runtimes for local checks. GitHub Actions/branch-protection read access supports verification; changing protection needs explicit authority.

Gate policy: advisory, not blocking

Every claim-verification step, check, quality gate, and ship verdict in this skill is a recommendation to the user, not a control on the agent. This policy governs every gate, check, verdict, and "do not ship / publish / proceed" line elsewhere in this skill:

  • Run every check and report the results honestly. Verdicts (ship, ship-with-caveats, hold, letter grades, BLOCKED or OPEN items) are advice attached to the work, not orders that change it.
  • Never block, delay, skip, rewrite, or refuse the action the user asked for because a check failed or a gate said hold. Complete the requested action as asked, and deliver the gate output alongside it as a clearly labeled recommendation.
  • A failed gate changes what you report, never what you do.
  • Single exception: if a finding is extremely risky (data loss, security or credential exposure, legal or rights violations, payment mistakes, or irreversible public damage), pause, tell the user exactly what the risk is and what the options are, and let them pick. Their choice is final.

Set up CI and branch protection that actually block a bad merge: in any repo, any stack. The output is a working pipeline plus the exact protection settings, not advice.

Runs only when asked. This skill never auto-fires on a commit, push, or other side effect of unrelated work: invoke it explicitly (set up CI, protect main, fix this hanging check).

Run this in whatever folder you point it at. Detect first, never assume. Nothing here is hardcoded to a specific project, monorepo layout, or package manager.

Step 0: Detect (before writing anything)

From the repo root, inventory:

  • Apps: every top-level dir with a manifest: package.json, requirements.txt / pyproject.toml, go.mod, Cargo.toml, Gemfile. A repo may hold one app or many; build for what's actually there.
  • Package manager per app: which lockfile is present: package-lock.json (npm), pnpm-lock.yaml (pnpm), yarn.lock (yarn), bun.lock or the older binary bun.lockb (bun). Two lockfiles in one app is a bug to fix first (Lane 3).
  • Existing CI: read .github/workflows/*. Do not duplicate a job that already exists: extend or reconcile it.
  • Runtime versions: .nvmrc, package.json engines, .python-version, pytest.ini/pyproject. Pin CI to these; never hardcode a guess.
  • Deploy platform: vercel.json / .vercel, netlify.toml, a Dockerfile. If the platform skips non-prod builds (e.g. Vercel ignoreCommand kills previews), CI is the only pre-merge build signal: so a build job is mandatory.
  • Real scripts: read each app's scripts / test config and use the real ones (test, test:run, lint, build). Don't invent commands.

Do not write a single workflow line until this inventory is complete.

The gate (the part everyone gets wrong)

Path-filtered jobs skip when their paths aren't touched. A skipped job that is a required status check leaves the PR pending forever. So never require the path-filtered jobs directly. Instead add one aggregator that depends on all of them:

yaml
  ci-success:
    if: always()
    needs: [<every app job>]
    runs-on: ubuntu-latest
    steps:
      - name: Gate on all jobs
        run: |
          for r in ${{ join(needs.*.result, ' ') }}; do
            [ "$r" = "success" ] || [ "$r" = "skipped" ] || { echo "blocked by: $r"; exit 1; }
          done

In branch protection, require only ci-success: never the individual jobs. This is the single thing that makes "protect main" work with change-based CI.

Lanes

  1. Path-aware jobs: one job per app, gated by a changes job (dorny/paths-filter or native paths:). Add an escape hatch so edits to the workflow file itself run everything.
  2. Aggregator gate: as above. The only required check is ci-success.
  3. Lockfile hygiene: exactly one lockfile per app, and the install command must match it (npm ci, pnpm i --frozen-lockfile, yarn --immutable, bun install --frozen-lockfile). Two lockfiles means CI can install a different tree than ships: resolve before wiring CI.
  4. Pin runtimes from the repo: Node/Python/etc. read from .nvmrc / engines / .python-version, falling back to the platform default. Never a hardcoded guess that drifts from prod.
  5. Don't duplicate existing CI: if a workflow already covers an app (e.g. a backend test workflow), extend it; never stack a second, weaker job on top.
  6. Least privilege: permissions: contents: read unless a job genuinely needs more.
  7. Build is a gate when previews are off: if the deploy platform skips non-prod builds, the CI build is your only pre-merge proof the app compiles. Keep it.
  8. Branch protection: output the exact settings: require ci-success, require branches up to date before merge, optional required PR review, block force-push and deletion, optionally include administrators. GitHub offers two mechanisms: classic branch protection and repository rulesets (Settings → Rules → Rulesets), which can target many branches and stack. Match whichever the repo already uses; for a new setup on GitHub, prefer a ruleset with ci-success as the required status check.

Instant-fail patterns (CI that looks green but isn't)

  • A required check that is a path-filtered job → deadlocks every unrelated PR. Use the aggregator.
  • npm ci with no committed lockfile, or a lockfile for a different manager → fails or installs the wrong tree.
  • A second job duplicating an existing workflow → wasted minutes and conflicting signal.
  • Hardcoded node-version / python-version that doesn't match the app → green in CI, broken in prod.
  • A job whose paths: never match → always skipped → a "green" check that tested nothing.

Red flags: stop

The excuses that precede a broken gate:

  • "Just require each job directly": a skipped path-filtered job deadlocks every unrelated PR. The aggregator is the only required check.
  • "CI is green": green because it ran, or green because everything skipped? Name what actually executed.
  • "One big workflow that builds everything is simpler": it also builds the world on a README typo. Path-filter it.
  • "We'll protect main after launch": the riskiest merges happen before launch.
  • "The deploy platform builds it anyway": if previews are off, CI is the only pre-merge proof the app compiles.

Output

  1. The workflow file(s) under .github/workflows/.
  2. The exact branch-protection settings to apply (and the gh api calls, if asked).
  3. A short report: apps detected, package manager per app, what each job runs, what is required, and anything to fix first (dual lockfiles, duplicate workflows, runtime mismatches).
  4. Readback, once the settings have been applied (the user applies them, this skill does not): verify rather than assume. gh api repos/:owner/:repo/branches/main/protection --jq '.required_status_checks.contexts' must return exactly ["ci-success"] (any path-filtered job in that list is the deadlock above); for a ruleset, gh api repos/:owner/:repo/rules/branches/main must show a required_status_checks rule naming only ci-success; and gh run list --branch <pr-branch> must show ci-success actually ran, not skipped. If the settings are not applied yet or the token lacks admin scope, report the gate as unverified; never claim protection is live from the settings you emitted.

End with a Simple explanation (plain, for a 10-year-old): one short paragraph, no jargon, saying what the gate now does and what it blocks: e.g. "Before anyone's changes join the main project, a robot builds and tests them. If the robot fails, the merge button locks."

Worked Example

A full pass on one repository (from a pipeline that looks green but gates nothing to a merge that cannot land broken) is in references/worked-example.md. Read it when wiring a repo whose existing CI shape you do not recognize.

Post-Deploy Verification

The after-deploy checks (live URL, critical-path smoke test, regression sweep, rollback readiness, and the verified/watch/rollback verdict) are in references/post-deploy-verification.md. Read it only when a production deploy has already landed; this skill's own job ends at the merge gate.

Boundaries

Generate; don't enforce. This skill writes workflow files and tells you the protection settings: it does not push, flip branch protection, or change repo access on its own. Verify the detected stack before applying. Works in any repo: it detects rather than assumes Suede or any specific project.

Routing

  • The gate is failing on real defects → suede-code to review and grade the change (--findings-only when the caller wants no letter grade)
  • The repo ships an MCP server → add a job that runs a full stdio session (initialize, notifications/initialized, then list and call) and wire it into the aggregator
  • AI features need eval jobs in the pipeline → suede-ai-eval to design the cases, then wire them in here
  • Rollout needs flags, staged lanes, or a rollback tree → suede-agent-teams
  • Gate holds and the release goes public → suede-launch-packaging

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Suede Ci Gate AI skill do?

Suede AI CI Gate Skills. Use when asked to "fix a required check stuck pending" or set up branch protection and path-aware CI, runtime/lockfile pinning and one aggregator gate from the real repository. Returns workflows and settings. NOT FOR: reviewing implementation (suede-code), designing AI evals (suede-ai-eval), or release packaging (suede-launch-packaging).

Why use Suede Ci Gate on TypingMind?

Because you install it once and use it with any model. Suede Ci Gate is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Suede Ci Gate in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/JasonColapietro/suede-creator-skills/tree/main/skills/suede-ci-gate. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Suede Ci Gate?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Suede Ci Gate?

As many as you like. As long as a model supports skills, you can use Suede Ci Gate with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Suede Ci Gate AI skill free?

Yes. It is published on GitHub by JasonColapietro under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇