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

ci-cd

/ci-cd

Buduje i naprawia powtarzalne potoki CI/CD z jawnymi artefaktami, uprawnieniami i bramkami wydania.

Repozytorium
wrongstack ↗
Licencja
MIT
Ostatnia zmiana repozytorium
27.10.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
1
Przestarzałość

Brak sygnałów. Repozytorium zmienione 27.10.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

Buduje i naprawia powtarzalne potoki CI/CD z jawnymi artefaktami, uprawnieniami i bramkami wydania.

Oryginalny opis (EN)

Build and repair reproducible CI and deployment workflows with explicit artifacts, permissions and release gates. Use when working on GitHub Actions or other pipelines, caches, matrices, packaging or deployment evidence; preserve the authoritative checks and never hide failures.

Jak działa

  1. Selection card
  2. Overview
  3. Rules
  4. Workflow
  5. Core Patterns & Pitfalls
  6. Sources
  7. Acceptance checks
  8. Skills in scope
Sekcje z nagłówków SKILL.md, w oryginale · 66 linii, 549 słów
Podgląd SKILL.md
---
name: ci-cd
version: 1.0.2
description: "Build and repair reproducible CI and deployment workflows with explicit artifacts, permissions and release gates. Use when working on GitHub Actions or other pipelines, caches, matrices, packaging or deployment evidence; preserve the authoritative checks and never hide failures."
trigger: "working on GitHub Actions or other pipelines, caches, matrices, packaging or deployment evidence; preserve the authoritative checks and never hide failures."
required-capabilities: [filesystem.read, filesystem.write]
required-tools: []
optional-capabilities: [verification.run, web.research]
metadata:
  routing-group: operations
paths: [".github/workflows/*.{yml,yaml}", ".gitlab-ci.yml", "Jenkinsfile", ".circleci/config.yml", "azure-pipelines.yml"]
---

# CI/CD

## Selection card
- Task: Build automated CI checks and delivery pipelines.
- Start: Identify the authorized target, current health and rollback boundary.
- Finish: apply the acceptance checks below; report observed results and unresolved constraints.

## Overview

Make the pipeline validate the exact source and artifact being shipped.
Distinguish a local check, hosted CI result, published artifact and deployed
service. They are separate evidence boundaries.

## Rules

1. Reproduce the failing authoritative command before editing a pipeline.
   Inspect trigger, job dependencies, working directory, runtime and lockfile.
2. Use the latest stable toolchain target when updating it; verify runner image,
   action version, engine/peer constraints and official migration notes.
3. Give jobs minimal permissions. Pin third-party actions to reviewed commit SHAs
   with identifiable release comments where repository policy calls for it.
4. Keep untrusted PR data out of shell code. Pass it as data through environment
   variables or structured arguments; never run untrusted code with release secrets.
5. Cache dependencies/build inputs with keys that cover the lockfile, runtime
   and platform. A cache hit is not evidence that today's tests ran.
6. Serialize release/shared artifact writers. Failures and skipped jobs remain
   visible; do not add continue-on-error to make a required gate appear green.

## Workflow

1. Map trigger → checks → build → artifact → deployment and who may run each.
2. Fix the narrow source/config cause. Preserve unrelated baselines and required
   branch rules.
3. Run focused local checks and workflow validation available in the repo.
4. If remote execution is authorized, inspect jobs for the exact commit, read
   failed logs and verify required checks rather than an old successful run.
5. Before release, inspect artifact contents, version identity and install/startup.
6. Report commands, hosted run/commit when applicable, artifact/deployment status
   and remaining environment-specific gaps.

## Core Patterns & Pitfalls

- **Least-Privilege `permissions:` & Concurrency**: Declare explicit top-level `permissions: { contents: read }` in GitHub Actions workflows (elevating per-job only for OIDC/pages/packages), set job `timeout-minutes`, and configure `concurrency:` groups (cancel-in-progress for PR branches, serialized queue without cancel for production deploys).
- **Script Injection Prevention**: Never interpolate untrusted GitHub context expressions (`${{ github.event.pull_request.title }}`, branch names, commit messages) directly inside a `run:` shell block; bind them to `env:` variables first and reference `"$PR_TITLE"` in the shell.
- **Anti-pattern — `pull_request_target` with Untrusted Checkout**: Checking out and executing PR head code inside a `pull_request_target` workflow grants untrusted forks access to repository secrets and write tokens.

## Sources

[GitHub secure workflow use](https://docs.github.com/en/actions/reference/security/secure-use),
reviewed 2026-10-23. Follow the selected CI platform's own current contracts.

## Acceptance checks

- [ ] Workflow triggers, working directories, frozen lockfile installs, and runner/runtime versions match repo standards
- [ ] Explicit `permissions`, `timeout-minutes`, and `concurrency` rules configured without `continue-on-error` masking
- [ ] Untrusted event fields passed via `env:` variables rather than inline `${{ ... }}` shell interpolation
- [ ] Cache keys include OS, runtime version, and lockfile hashes; local check vs hosted CI vs deployed state reported separately

## Skills in scope

- tech-stack — runtime, package manager, and toolchain version alignment across local and CI runners.
- docker-deploy — multi-stage container builds, layer cache exports, and digest pinning in CI.
- verify-before-done — running the authoritative repo verification suite before declaring pipeline fixes complete.
- git-flow — branch protection rules, commit hygiene, and release tag workflows.

Wersje

RepozytoriumWynikLicencja
Ta strona · wrongstack/wrongstack90MIT
oborchers/fractional-cto100MIT
shafthq/shaft_engine100MIT
nimadorostkar/Claude-Skills-collection100MIT
irahardianto/awesome-agv100MIT
srstomp/pokayokay100MIT
PIXARTSeu/Synapse100AGPL-3.0
seb1n/awesome-ai-agent-skills100MIT
codewithmukesh/dotnet-claude-kit100MIT

Migawka bazy z 28.10.2026 · wersja paczki 436d1fee28e9 (skrót SHA-256 całej paczki)

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

Podobne skille

  • 100cicd-pipelines
    Buduje pipeline'y CI/CD z etapami budowy, testów, bezpieczeństwa, pakowania i wdrożenia, z krótkożyjącym uwierzytelnianiem w chmurze, cache, bramkami promocji i utwardzaniem GitHub Actions (SHA pinning, OIDC).
  • 90github-ci
    Pomaga w pracy z GitHub Actions: plikami YAML workflow, bramkami jakości, macierzami testów, wyzwalaczami wdrożeń i workflow wielokrotnego użytku, także gdy pada hasło „CI nie działa”.
  • 100deployment-pipelines
    Pomaga tworzyć i przeglądać potoki CI/CD w GitHub Actions: reusable workflows, composite actions, OIDC do AWS i GCP, cache, artefakty i utwardzanie zabezpieczeń.
  • 100wp-ci-cd-and-release-engineering
    Przegląda potoki CI/CD dla WordPressa: GitHub Actions, paczki wtyczek, sekrety i wdrożenia przez SVN.
  • 100deployment-pipeline-design
    Projektuje wieloetapowe potoki CI/CD z bramkami zatwierdzeń i kontrolami bezpieczeństwa, w tym wdrożenia zero-downtime, canary i promocję między środowiskami.
  • 100fai-build-github-workflow
    Buduje workflow GitHub Actions z testami macierzowymi, akcjami przypiętymi do SHA, cache, bramkami jakości i minimalnymi uprawnieniami, do CI/CD i utwardzania potoków.

Uwagi i zgłoszenia

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