Przejdź do treści
Biblioteka skilli
DevOps i chmura · Przegląd i audyt

ci-cd-change

/ci-cd-change

Pilnuje zmian w definicji pipeline'u CI/CD, jobów wdrożeniowych i Makefile, by weryfikacja lokalna i w CI była jedna, a produkcja za zgodą.

Licencja
Apache-2.0
Ostatnia zmiana repozytorium
06.11.2026

Ocena i bezpieczeństwo

100/ 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ść35 / 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 06.11.2026, bez odwołań do wycofanych modeli i API.

Licencja

Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.

Co robi i kiedy

Pilnuje zmian w definicji pipeline'u CI/CD, jobów wdrożeniowych i Makefile, by weryfikacja lokalna i w CI była jedna, a produkcja za zgodą.

Oryginalny opis (EN)

Use when changing a CI pipeline definition, a deploy or release job, build automation, the root Makefile or its delegation, or the list of gates the pipeline runs. Keeps local and CI verification one definition, secrets out of logs, and every path to production behind an explicit approval.

Jak działa

  1. Required context
  2. The rules that bite
  3. Verify
  4. Escalate when
Sekcje z nagłówków SKILL.md, w oryginale · 59 linii, 474 słów
Podgląd SKILL.md
---
name: ci-cd-change
description: Use when changing a CI pipeline definition, a deploy or release job, build automation, the root Makefile or its delegation, or the list of gates the pipeline runs. Keeps local and CI verification one definition, secrets out of logs, and every path to production behind an explicit approval.
---

# CI/CD change

## Required context

1. `.agents/guardrails/change-delivery.md`: how a change reaches the trunk, and what verifies it.
2. `.agents/guardrails/infrastructure.md`: for anything that deploys.
3. `.agents/guardrails/git-safety.md`: branches, tags and what automation may push.
4. `.agents/rules/root-makefile-delegates.md` and `.agents/rules/gate-authoring.md`.
5. `.agents/policy/approval-matrix.yml` and `.agents/policy/permissions.yml`: which action classes
   need which approval, including deploys.
6. `tools/gates.txt`: the gate list `make verify` runs.

## The rules that bite

- **One definition of "verified".** CI calls `make verify` and `make test-gates`; it does not
  re-implement their checks in pipeline syntax. Two definitions drift, and then a change is green
  locally and red in CI, or worse, the reverse.
- **The root Makefile delegates, never reimplements.** A target that duplicates a sub-area's logic
  is a second copy that will disagree with the first.
- **A new gate joins `tools/gates.txt` with its own assertion suite**
  (`docs/decisions/0005-every-gate-has-an-assertion-suite.md`). A gate nothing invokes never runs.
- **Read verdicts from exit codes.** A step whose command is piped through `tail` or `grep`
  reports the last command's status and hides a failure. Use `set -o pipefail` or capture to a
  file.
- **Never weaken a gate to get green**: no continue-on-error, no allow-failure, no skipped hooks,
  no `--no-verify`. Fix the cause or record a decision.
- **Shallow clones break history-derived values.** Version from `git describe`, last-modified
  dates and changed-file lists all need the history they read. Fetch what the step needs.
- **Secrets come from the CI secret store**, are masked, and are never echoed, including by a
  verbose or debug flag. Tokens get the least privilege the job needs, scoped to the job.
- **Pin what you run.** Third-party pipeline steps and images are pinned to a version or digest;
  a floating reference is someone else's code running with your secrets.
- **Production deploys are gated by an explicit approval**, per `.agents/policy/approval-matrix.yml`.
  A pipeline path that reaches production without it (a manual trigger with no gate, a branch
  pattern that matches too much) is a defect.
- **Cache keys include the lockfile hash**, or a stale dependency set passes a build it should fail.
- **Automation never pushes to the default branch or force-pushes.** It opens a pull request like
  anyone else (`docs/decisions/0002-nothing-lands-on-main-without-review.md`).

## Verify

```bash
make verify                    # the same gates CI will run
make test-gates                # every gate's own suite, and the hook tests
<the pipeline linter or a local dry run, where one exists>
```

Reviewers: `infra-change-reviewer` for pipelines and deploys, `code-reviewer` for scripts,
`guidance-consistency-reviewer` when the Makefile's help lines are quoted in guidance.

## Escalate when

- The change deploys, or changes how or when production is deployed.
- A token's permissions widen, or a new secret is added to the CI store.
- A third-party step, image or action is added (a dependency change).
- Branch protection, required checks or merge rules change.
- A gate would be removed or made non-blocking.

Wersje

W bazie nie ma innych skilli o nazwie ci-cd-change.

Migawka bazy z 13.11.2026 · wersja paczki 576c841e80c4 (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

  • 100makefile-generator
    Generuje Makefile w obszarze podstaw DevOps, wspierając tworzenie operacji generatora Makefile.
  • 90ci-pipeline
    Konfiguruje kompletny pipeline CI/CD: wykrywa stos, a potem generuje i waliduje workflow GitHub Actions, Dockerfile i Makefile jako spójną całość.
  • 100buildkite-cli
    Obsługuje Buildkite z wiersza poleceń przez bk: wyzwalanie, obserwowanie, odbudowywanie i anulowanie buildów, logi, listy buildów i jobów, odblokowanie jobów, artefakty, sekrety oraz tworzenie i walidacja pipeline'ów.
  • 100makefile
    Podaje dobre praktyki pisania Makefile GNU Make, stosowane do plików Makefile, makefile, *.mk i GNUmakefile.
  • 100local-dev-stack
    Projektuje i sprawdza lokalny stack Docker Compose obok innych projektów: własne porty, jeden Makefile i testy.
  • 95makefile-development
    Pomaga tworzyć pliki Makefile, pisać nowe targety i stosować przyjęte konwencje Make.

Uwagi i zgłoszenia

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