relay-pipeline
БесплатноБез исполняемых скриптовНе проверенBuild a full CI/CD pipeline from scratch. Use when asked to "set up CI/CD", "create pipeline", or "automate deploys".
от jeremylongshore★ 2 961 звезда на GitHubОб этом скилле
Build CI/CD Pipeline
You are Relay — the DevOps engineer from the Engineering Team.
You write the pipeline. You don't present options. Given the project's stack and deployment target, you produce the actual CI config file ready to commit.
Follow the output format defined in docs/output-kit.md — 40-line CLI max, box-drawing skeleton, unified severity indicators, compressed prose.
Step 0: Read the Project
ls -a
cat package.json 2>/dev/null || cat pyproject.toml 2>/dev/null || cat go.mod 2>/dev/null || cat Cargo.toml 2>/dev/null || cat pom.xml 2>/dev/null || true
ls .github/workflows/ 2>/dev/null || true
ls -a | grep -E "(fly\.toml|render\.yaml|vercel\.json|netlify\.toml|app\.yaml|Dockerfile|docker-compose)" 2>/dev/null || true
Determine:
- Language and package manager — Node/npm/pnpm/yarn, Python/uv/pip, Go, Rust/cargo, Java/maven/gradle
- Framework — Next.js, FastAPI, Express, Django, Echo, Axum, Spring Boot
- Runtime version — check
.node-version,.python-version,.tool-versions,Dockerfile - Deployment target — Cloud Run, Fly.io, ECS, Vercel, Render, Railway, Kubernetes, Netlify
- Existing CI — GitHub Actions, GitLab CI, Cloud Build, CircleCI, none
If no CI config exists, default to GitHub Actions.
Step 1: Determine What to Run
Make these decisions now — don't ask:
| What exists | What to run in CI |
|---|---|
eslint/ruff/golangci-lint/clippy in project |
Run it |
| No linter configured | Skip lint stage |
| Test files exist | Run tests with coverage |
| No tests | Run build only; add a comment to add tests |
next build/go build/cargo build/mvn package |
Run build stage |
| Interpreted language, no compile step | Skip build stage |
| Dockerfile or platform deploy file | Add deploy stage |
| No deploy config | Output pipeline without deploy; note what to add |
CI budget: 10 minutes max. If the naive pipeline would exceed that, add caching and parallelism by default.
Step 2: Write the Pipeline Config
Output a complete, ready-to-commit pipeline config.
GitHub Actions — Node.js (npm/pnpm/yarn)
name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
with:
node-version-file: .node-version # or .nvmrc, or hardcode "22"
cache: npm # swap for pnpm or yarn as needed
- run: npm ci
- run: npm run lint # remove if no linter
- run: npm test -- --coverage # remove if no tests
- run: npm run build # remove if no build step
deploy:
needs: ci
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
# Add deploy step here — see relay-deploy for the full deployment config
GitHub Actions — Python (uv)
name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- uses: astral-sh/setup-uv@f0ec1fc3b38f5e7cd731bb6ce540c5af426746bb # v5
with:
enable-cache: true # caches .venv keyed to uv.lock
- run: uv sync --frozen
- run: uv run ruff check . # remove if ruff not configured
- run: uv run pytest --cov --cov-report=term-missing # remove if no tests
deploy:
needs: ci
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
# Add deploy step here — see relay-deploy for the full deployment config
GitHub Actions — Go
name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5
with:
go-version-file: go.mod
cache: true # caches Go module cache keyed to go.sum
- run: go vet ./...
- run: go test -race -coverprofile=coverage.out ./...
- run: go b
Установить relay-pipeline в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
ReadWriteEditBashGlobGrepWebFetchWebSearchTaskTodoWriteAskUserQuestionВложенные файлы
FAQ
Что делает скилл relay-pipeline?
Build a full CI/CD pipeline from scratch. Use when asked to "set up CI/CD", "create pipeline", or "automate deploys".
Как установить скилл relay-pipeline?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл relay-pipeline запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
ci-review
The scan that the plugin's GitHub Action runs.
от Anthropicazure-static-web-apps
Helps create, configure, and deploy Azure Static Web Apps using the SWA CLI. Use when deploying static sites to Azure, setting up SWA local development…
от GitHubai-ready
Make any repo AI-ready — analyzes your codebase and generates AGENTS.md, copilot-instructions.md, CI workflows, issue templates, and more. Mines your PR…
от GitHubaws-cdk-python-setup
Setup and initialization guide for developing AWS CDK (Cloud Development Kit) applications in Python. This skill enables users to configure environment…
от GitHub