Przejdź do treści
Biblioteka skilli
DevOps i chmura · Budowanie i kod

ci-setup

/ci-setup

Zakłada ciągłą integrację w GitHub Actions: instalację z cache, lint, typy, testy, budowanie, Playwright i skanowanie zależności.

Licencja
MIT
Ostatnia zmiana repozytorium
09.11.2026

Ocena i bezpieczeństwo

90/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść25 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 09.11.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Zakłada ciągłą integrację w GitHub Actions: instalację z cache, lint, typy, testy, budowanie, Playwright i skanowanie zależności.

Argumenty

/ci-setup [github | gitlab | other]
Oryginalny opis (EN)

Sets up continuous integration (GitHub Actions by default): install with cache, lint, typecheck, unit and integration tests with service containers, build, Playwright on preview deploys, and dependency/secret scanning. Use when the project has code but no CI, when CI is slow or flaky, or before launch.

Jak działa

  1. Inputs
  2. Phases
  3. Output
  4. Rigor
  5. Next step
Sekcje z nagłówków SKILL.md, w oryginale · 72 linii, 476 słów
Podgląd SKILL.md
---
name: ci-setup
description: "Sets up continuous integration (GitHub Actions by default): install with cache, lint, typecheck, unit and integration tests with service containers, build, Playwright on preview deploys, and dependency/secret scanning. Use when the project has code but no CI, when CI is slow or flaky, or before launch."
argument-hint: "[github | gitlab | other]"
user-invocable: true
allowed-tools: Read, Glob, Grep, Write, Edit, AskUserQuestion, Agent, Bash(bash .claude/scripts/*), Bash(ls *)
model: sonnet
---

# CI Setup

Designs a pipeline that matches the stack and the quality gates, shows it, and
writes `.github/workflows/ci.yml` (or the chosen CI's file) only after
approval. It never pushes, never adds secrets to the repo, and never disables
a failing check to get green.

## Inputs

- `project.yaml`: `stack.*` (language, package_manager, test_unit, test_e2e, database, cache_queue, hosting), `modes.rigor`
- `bash .claude/scripts/detect-stack.sh`: confirms the real tools and scripts
- `.claude/docs/stack-matrix.md`: lint, typecheck, test and build commands per stack
- `package.json` scripts / `Makefile` / `pyproject.toml` tasks
- Existing CI files (`.github/workflows/*`, `.gitlab-ci.yml`)

## Phases

### Phase 1: Read what exists

List existing workflows and what they do. If CI exists, the goal is to improve
it: never overwrite a workflow without showing a diff.

### Phase 2: Agree the jobs

Spawn `devops-lead` with the stack facts to draft the job graph. Default for
`standard` rigor:

1. **checks**: checkout → setup runtime (version from `.nvmrc`/`.node-version`/`.python-version`/`go.mod`) → install with cache and frozen lockfile (`pnpm install --frozen-lockfile`, `npm ci`, `uv sync --frozen`, `composer install`, `bundle install`) → lint → typecheck → format check.
2. **test**: unit + integration tests with service containers for Postgres/MySQL/MongoDB/Redis as `stack.database`/`stack.cache_queue` require; migrations applied to the CI database; coverage uploaded as an artifact.
3. **build**: production build; for frontends, fail on the bundle budget if a size check exists.
4. **e2e**: Playwright against the preview deployment URL (Vercel/Netlify/Cloudflare provide it via deployment events) or against a locally started production build; traces uploaded on failure only.
5. **security**: dependency audit (`pnpm audit --audit-level=high` or equivalent) and secret scan (gitleaks action).
6. **audits** (`full` rigor): Lighthouse CI against preview with budgets from `project.yaml`, axe in e2e.

Concurrency group per branch with `cancel-in-progress`, `permissions:` set to
least privilege (`contents: read`), pinned action versions, and a timeout per job.

Ask: "Which of these jobs do you want now?" (multi-select), and whether PRs
should be required to pass before merging (branch protection is set by the
user in GitHub settings; print the steps).

### Phase 3: Secrets and env

List every env var the jobs need (test DB URL, auth test secrets, preview URL)
and where the user sets them (repo Actions secrets / environment secrets). Use
dummy values for tests wherever possible. Never write a real value.

### Phase 4: Draft and approve

Show the full YAML. Ask "May I write this to `.github/workflows/ci.yml`?"
Optionally also `.github/workflows/lighthouse.yml` and `lighthouserc.json`.

### Phase 5: Verify

If `act` is installed, offer `act -j checks` locally. Otherwise tell the user
to push a branch and open a PR; the first run is the real test.

## Output

`.github/workflows/ci.yml` (and optional audit workflows / `lighthouserc.json`).

## Rigor

- `minimal`: checks + test.
- `standard`: + build, e2e on preview, security.
- `full`: + Lighthouse CI budgets, axe, coverage threshold, required status checks.

## Next step

`/deploy-setup` if deploys are not configured yet, otherwise `/launch-checklist`.

Wersje

W bazie nie ma innych skilli o nazwie ci-setup.

Migawka bazy z 13.11.2026 · wersja paczki 3be36bfe37a6 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100wire-ci
    Dodaje do projektu TypeScript ciągłą integrację i lokalną bramkę jakości: typecheck, lint, testy i skanowanie sekretów.
  • 100go-ci
    Konfiguruje ciągłą integrację dla projektów Go: GitHub Actions, cache, golangci-lint, bramki testów i pokrycia, skanowanie podatności, CodeQL, gosec, Dependabot, przypinanie akcji i cele Makefile.
  • 100init-ci
    Konfiguruje potoki CI/CD w GitHub Actions: budowanie, testy, lintery, integrację Claude z PR oraz wdrożenia na Render, Vercel lub AWS.
  • 100configure-ci
    Konfiguruje pipeline CI/CD w GitHub Actions dla projektu frontendowego z minimalnymi uprawnieniami: lint, typecheck, audit, testy, build, e2e i limit rozmiaru bundle, plus podglądy pull requestów na Netlify lub Vercel.
  • 95cicd-pipeline
    Projektuje potoki CI/CD: lint, testy, budowanie, skan bezpieczeństwa, wdrożenie, cache, równoległość i wycofywanie wdrożeń.
  • 100setup-playwright-ci
    Generuje workflow GitHub Actions, który uruchamia testy e2e Playwright dla Go na każdym pull requeście, z Chromium i zapisem śladów przy błędach.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.