ci-pipeline
/ci-pipeline
Pomaga pisać i zmieniać potoki CI, gdy build nie przechodzi tylko w CI, oraz ustawiać bramki PR, cache budowania i sekrety.
- Autor
- byerlikaya ↗
- Repozytorium
- claude-starter-kit ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 13.11.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 2
- Skrypty
- 0
- Komentarze HTML
- 1
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 13.11.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
- SKILL.md zawiera komentarze HTML (1). Nie widać ich w podglądzie Markdown, a model je czyta.
Co robi i kiedy
Pomaga pisać i zmieniać potoki CI, gdy build nie przechodzi tylko w CI, oraz ustawiać bramki PR, cache budowania i sekrety.
Oryginalny opis (EN)
Use when a CI pipeline or workflow is written or changed, when a build or check fails in CI but not locally, and when a PR gate, a build cache or a secret in CI is set up.
Jak działa
- Stages (fail-fast — stop if it breaks early)
- Principles
- When a stage fails
- DoD
Podgląd SKILL.md
---
name: ci-pipeline
description: |
Use when a CI pipeline or workflow is written or changed, when a build or check fails in CI but not
locally, and when a PR gate, a build cache or a secret in CI is set up.
---
# CI Pipeline
<!-- routing-eval reads the next line; why it sits in the body: AGENT_TEMPLATE.md -->
Trigger phrases: "ci", "pipeline", "github actions", "jenkins", "build pipeline", "pr gate", "pr check", "build fail", "build broke", "ci is failing", "workflow"
## Stages (fail-fast — stop if it breaks early)
1. **Lint / format** — style and static analysis
2. **Build** — 0 warnings / 0 errors
3. **Test** — unit + integration, coverage collected
4. **Quality** — `sonarqube-check` quality gate
5. **Security** — `dependency-audit` + `security-scan` (where applicable)
6. **Artifact / packaging** — (deployment is separate, `deploy`)
## Principles
- **Deterministic:** dependencies pinned, cache keyed correctly; no "it worked on my machine".
- **Actions and the token:** pin every third-party action to a full commit SHA with its version in a comment (a tag
moves when its owner moves it); `permissions: contents: read` at the top, raised per job only where a step writes;
`persist-credentials: false` on checkout unless a later step pushes; never put `${{ github.event.* }}` or a matrix
value inside `run:` — pass it through `env:` and quote it.
- **Secret management:** CI secret store; NO plaintext secrets in the repo/logs (overlaps with trace scan). Log
masking is a filter on exact strings: an encoded, split or transformed value prints in clear, so a secret never
reaches a step that echoes its environment. Prefer short-lived OIDC credentials over stored keys and ephemeral
runners over reused ones; a cache restored into a job is input, so key it on what produced it and never on a
value a fork controls.
- **PR gate:** quality gate + tests must pass; a red build is not merged.
- **Branch protection:** direct push to main is disabled; PR + review required.
- **An agent job in CI** (one that fixes, updates or triages with nobody watching): pinned, few tools, an isolated
copy, an allowlist for what comes back: **`references/agent-job.md`**.
## When a stage fails
1. **Fetch the failing job's log first** — `gh run view --log-failed`, `glab ci trace`, `jenkins-cli console <job>`,
whichever this project's host provides — and quote the failing lines: a status icon names which job broke, never why.
Log unreachable (no access, retention expired, the job never started) → report exactly that; never infer the cause.
2. **Reproduce with the exact command the pipeline runs**, copied out of the CI config — same flags, same env, same
versions. Green locally is not a pass: the environment difference is now the defect, so take it to `systematic-debugging`.
3. **A re-run is not a fix.** Re-running until it passes hides the cause; re-run only to establish that a failure is
intermittent — and an intermittent failure in this repo's own suite is a bug (`testing`), not a retry.
4. **Say which failures aren't yours.** A required check owned by another change, or an external service that was
down, is reported out of scope with the job named — silence about it reads as a clean run.
## DoD
- All stages green; PR gates enforced; no secret leakage; build reproducible.
Pliki w paczce (2)
- SKILL.md 3 KB
- references/agent-job.md 2 KB
Wersje
| Repozytorium | Wynik | Licencja |
|---|---|---|
| Ta strona · byerlikaya/claude-starter-kit | 90 | MIT |
| hybridlabor-api/aos | 90 | Apache-2.0 |
Migawka bazy z 13.11.2026 · wersja paczki 31845c168cf1 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 4 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100build-deploy-and-tooling
Pomaga pisać, przeglądać i zmieniać skrypty budowania, przepływy CI, potoki wdrożeniowe i konfigurację repozytorium oraz oceniać nowe narzędzia i zależności. - 100dagger
Pisze potoki CI/CD jako kod w Dagger, przenośne, z cache i uruchamiane lokalnie oraz w dowolnym CI: SDK, kompozycja, sekrety i budowy wieloetapowe. - 95cicd-pipeline
Projektuje potoki CI/CD: lint, testy, budowanie, skan bezpieczeństwa, wdrożenie, cache, równoległość i wycofywanie wdrożeń. - 100harness-ci
Konfiguruje Harness CI: budowanie potoków CI, test intelligence oraz cache i równoległość buildów na kontenerowej infrastrukturze budowania. - 100debug-failing-ci
Znajduje prawdziwą przyczynę czerwonego pipeline'u CI, gdy zadanie przechodzi lokalnie, a pada w CI lub build zepsuł gałąź główną, zamiast ponawiać albo pomijać krok. - 100ci-cd
Pomaga budować i naprawiać potok dostarczania: struktura, cache, równoległość testów, strategie wdrożeń, sekrety i przyspieszenie potoku, aby nikt go nie omijał.