정보
스웨이드 쉽 게이트는 경로 인식 빌드, 필수 검사, 병합 게이트를 차단 제어가 아닌 권고적 권장 사항으로 제공하는 CI/CD 스킬입니다. 이 스킬은 브랜치 보호와 중복 파이프라인 복구를 시행하면서 게이트가 교착 상태에 빠지거나 사용자가 요청한 작업을 방해하지 않도록 보장합니다. 완료된 워크플로우와 함께 포괄적이고 비차단적인 품질 판정 및 출시 권장 사항을 얻으려면 이 스킬을 사용하세요.
빠른 설치
Claude Code
추천npx skills add JasonColapietro/suede-creator-skills -a claude-code/plugin add https://github.com/JasonColapietro/suede-creator-skillsgit clone https://github.com/JasonColapietro/suede-creator-skills.git ~/.claude/skills/suede-ship-gateClaude Code에서 이 명령을 복사하여 붙여넣어 스킬을 설치하세요
문서
Suede Ship Gate
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.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.jsonengines,.python-version,pytest.ini/pyproject. Pin CI to these; never hardcode a guess. - Deploy platform:
vercel.json/.vercel,netlify.toml, aDockerfile. If the platform skips non-prod builds (e.g. VercelignoreCommandkills 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:
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
- Path-aware jobs — one job per app, gated by a
changesjob (dorny/paths-filteror nativepaths:). Add an escape hatch so edits to the workflow file itself run everything. - Aggregator gate — as above. The only required check is
ci-success. - 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. - 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. - 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.
- Least privilege —
permissions: contents: readunless a job genuinely needs more. - 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.
- 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.
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 ciwith 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-versionthat 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
- The workflow file(s) under
.github/workflows/. - The exact branch-protection settings to apply (and the
gh apicalls, if asked). - 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).
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
Fictional repo acme-notes — a single Next.js 14 app at the repo root, npm, no CI yet. This is what Step 0 through Output actually produce.
Step 0 — Detect (inventory)
- Apps: one — repo root has
package.jsonwith"next": "14.2.3". No monorepo, noapps/*split. - Package manager:
package-lock.jsonpresent. Nopnpm-lock.yamloryarn.lockalongside it — clean. - Existing CI:
.github/workflows/does not exist. Nothing to extend or duplicate. - Runtime version:
package.jsonhas"engines": { "node": ">=20.9.0" }. No.nvmrc. Pin CI to20.9.0. - Deploy platform:
vercel.jsonpresent with the standingignoreCommandthat kills preview builds ([ "$VERCEL_ENV" != "production" ] && exit 0 || exit 1). Previews never build on Vercel — CI is the only pre-merge build signal. Build job is mandatory, not optional. - Real scripts:
package.jsonscripts arebuild,lint(next lint), andtest(vitest run). Notest:runalias, no separate typecheck script —tsc --noEmitis not wired up as its own script, so it's added as a CI step directly.
Deliverable 1 — workflow file (.github/workflows/ci.yml)
name: CI
on:
pull_request:
push:
branches: [main]
permissions:
contents: read
jobs:
changes:
runs-on: ubuntu-latest
outputs:
app: ${{ steps.filter.outputs.app }}
steps:
- uses: actions/checkout@v4
- uses: dorny/paths-filter@v3
id: filter
with:
filters: |
app:
- '**'
- '!**.md'
- '.github/workflows/ci.yml'
app:
needs: changes
if: needs.changes.outputs.app == 'true'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20.9.0'
cache: 'npm'
- run: npm ci
- run: npm run lint
- run: npx tsc --noEmit
- run: npm run test
- run: npm run build
ci-success:
if: always()
needs: [app]
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
One app, so path-filtering exists mainly as the escape hatch (doc-only edits skip the app job; workflow-file edits always run it). ci-success is still required, not app directly — a single-app repo can still deadlock if app ever gains its own paths: filter later, so the aggregator habit holds even here.
Deliverable 2 — branch-protection settings
Apply to main:
- Require status checks to pass before merging →
ci-successonly (notapp, notchanges). - Require branches to be up to date before merging → on.
- Require a pull request before merging → on, 1 approving review.
- Block force pushes → on.
- Block branch deletion → on.
- Include administrators → on (repo has one maintainer today; still worth holding the same rule for future contributors).
gh api repos/acme/acme-notes/branches/main/protection \
--method PUT \
-H "Accept: application/vnd.github+json" \
-f 'required_status_checks[strict]=true' \
-f 'required_status_checks[contexts][]=ci-success' \
-f 'enforce_admins=true' \
-f 'required_pull_request_reviews[required_approving_review_count]=1' \
-F 'restrictions=null' \
-f 'allow_force_pushes=false' \
-f 'allow_deletions=false'
Deliverable 3 — short report
Repo:
acme-notes(single Next.js app, npm, Vercel). Package manager: npm, one lockfile,npm cimatches. CI added:.github/workflows/ci.yml— one path-filteredappjob (lint, typecheck, test, build) behind aci-successaggregator. Required check:ci-successonly. Node pinned: 20.9.0, frompackage.jsonengines(no.nvmrcfound). Fix first: nothing blocking — no dual lockfiles, no existing workflow to reconcile, no runtime mismatch. Note: Vercel previews are disabled byignoreCommand, so this CI build is the only pre-merge proof the app compiles. Do not treat "Vercel deployed" as a build signal for PRs.Simple explanation: Before any change joins the main project, a robot installs it, checks the code style, checks the types, runs the tests, and builds it. If any step fails, the merge button locks. Nothing reaches the live site without passing through the robot first.
Post-Deploy Verification (required for production deploys)
After a deploy lands:
- Live URL check: fetch the production URL and confirm the expected route/page responds with 200. Do not rely on the deploy pipeline's success status alone.
- Critical path smoke test: verify the primary user action works end-to-end on production (sign in, core action, result visible). If the deploy is backend-only, verify the API endpoint returns the expected shape.
- Regression check: confirm the three most-used routes still respond. If analytics or error monitoring is connected, check for a spike in the 5 minutes after deploy.
- Rollback ready: confirm the previous deploy is still accessible and rollback takes < 5 minutes. Document the rollback command before merging, not after.
Ship verdict after post-deploy: verified (all checks pass) | watch (minor anomalies, monitoring) | rollback (critical failure, initiate rollback immediately).
Safety
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
- 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
- Branch/worktree setup, stale local state, PR finish options, or cleanup discipline → suede-git-hygiene (private Suede Labs companion, not in this pack)
- Gate holds and the release goes public → suede-launch-packaging
GitHub 저장소
자주 묻는 질문
suede-ship-gate Skill이란 무엇인가요?
suede-ship-gate은(는) JasonColapietro이(가) 만든 Claude Skill입니다. Skill은 Claude가 필요할 때 불러오는 지침과 리소스를 묶어 추가 프롬프트 없이 suede-ship-gate 관련 작업을 수행할 수 있게 합니다.
suede-ship-gate은(는) 어떻게 설치하나요?
이 페이지의 설치 명령을 사용하세요. suede-ship-gate을(를) Claude Code 플러그인으로 추가하거나 저장소를 skills 디렉터리에 복제한 다음 Claude를 다시 시작해 Skill을 불러옵니다.
suede-ship-gate은(는) 어떤 카테고리에 속하나요?
suede-ship-gate은(는) 메타 카테고리에 속합니다.
suede-ship-gate은(는) 무료로 사용할 수 있나요?
네. suede-ship-gate은(는) AIMCP에 등록되어 있으며 무료로 설치할 수 있습니다.
연관 스킬
이 스킬은 콘텐츠 콜렉션(Content Collections)을 위한 프로덕션 검증된 설정을 제공합니다. 콘텐츠 콜렉션은 Markdown/MDX 파일을 Zod 검증이 포함된 타입 안전한 데이터 콜렉션으로 변환해주는 TypeScript 최우선 도구입니다. 블로그, 문서 사이트 또는 콘텐츠 중심의 Vite + React 애플리케이션을 구축할 때 타입 안전성과 자동 콘텐츠 검증을 보장하기 위해 사용하세요. Vite 플러그인 구성과 MDX 컴파일부터 배포 최적화 및 스키마 검증에 이르기까지 모든 것을 다룹니다.
이 스킬은 개발자들이 Polymarket 예측 시장 플랫폼을 활용한 애플리케이션을 구축할 수 있도록 지원하며, 거래 및 시장 데이터를 위한 API 통합 기능을 포함합니다. 또한 WebSocket을 통한 실시간 데이터 스트리밍을 제공하여 실시간 거래와 시장 활동을 모니터링할 수 있습니다. 이를 통해 거래 전략을 구현하거나 실시간 시장 업데이트를 처리하는 도구를 생성하는 데 활용할 수 있습니다.
이 스킬은 개발자들이 명령어, 파일, LSP 작업 등 25개 이상의 이벤트 유형에 연결되는 OpenCode 플러그인을 만들 수 있도록 돕습니다. JavaScript/TypeScript 모듈을 위한 플러그인 구조, 이벤트 API 명세, 구현 패턴을 제공합니다. OpenCode AI 어시스턴트의 라이프사이클을 사용자 정의 이벤트 기반 로직으로 가로채거나, 모니터링하거나, 확장해야 할 때 사용하세요.
SGLang은 RadixAttention 프리픽스 캐싱을 활용하여 JSON, 정규식, 에이전트 워크플로우를 위한 고속 구조화 생성에 특화된 고성능 LLM 서빙 프레임워크입니다. 특히 반복되는 프리픽스가 있는 작업에서 상당히 빠른 추론 속도를 제공하여 복잡한 구조화 출력 및 다중 턴 대화에 이상적입니다. 제약 디코딩이 필요하거나 광범위한 프리픽스 공유가 있는 애플리케이션을 구축할 때는 vLLM과 같은 대안보다 SGLang을 선택하십시오.
