/suede-skills:suede-ci-gatefrom suede-skills
Sets up branch protection, path-aware CI, runtime/lockfile pinning, and a single aggregator gate. Use when asked to fix a stuck required check or configure CI from scratch.
Ships in suede-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Read the worked delivery contract for a concrete input, expected artifact, failure response and validation example.
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.
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:
ship,
ship-with-caveats, hold, letter grades, BLOCKED or OPEN items) are
advice attached to the work, not orders that change it.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.
From the repo root, inventory:
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-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)..github/workflows/*. Do not duplicate a job that already exists: extend or reconcile it..nvmrc, package.json engines, .python-version, pytest.ini/pyproject. Pin CI to these; never hardcode a guess.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.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.
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:
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.
changes job (dorny/paths-filter or native paths:). Add an escape hatch so edits to the workflow file itself run everything.ci-success.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..nvmrc / engines / .python-version, falling back to the platform default. Never a hardcoded guess that drifts from prod.permissions: contents: read unless a job genuinely needs more.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.npm ci with no committed lockfile, or a lockfile for a different manager → fails or installs the wrong tree.node-version / python-version that doesn't match the app → green in CI, broken in prod.paths: never match → always skipped → a "green" check that tested nothing.The excuses that precede a broken gate:
.github/workflows/.gh api calls, if asked).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."
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.
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.
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.
--findings-only when the caller wants no letter grade)initialize, notifications/initialized, then list and call) and wire it into the aggregatorWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub jasoncolapietro/suede-creator-skills --plugin suede-skills79 skills in this plugin
/android-app-factorySuede Android App Factory Skills. Use when asked to "build an Android app" or modernize a Kotlin/Compose product: architecture, policy, privacy, billing, tests and a Play-ready release evidence package. NOT FOR: Play uploads or rollout (suede-play-release), website-to-iOS conversion (site-to-ios-app), review-only work (suede-code), or store listing strategy (suede-aso)./site-to-ios-appSuede Site to iOS App Skills. Use when asked to "turn this site into an iOS app" or convert a PWA: inspect the URL, choose shell or native strategy, then deliver an audit, build plan and release evidence. NOT FOR: Android builds (android-app-factory), Play rollout (suede-play-release), store listing strategy (suede-aso), or a native iOS app with no website./2 plugins in one repository ship this exact skill · first indexed Nov 26, 2026
Other plugins' skills for the same job