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

infrastructure-as-code

/infrastructure-as-code

Podpowiada, jak opisywać zasoby chmurowe jako wersjonowany kod, by ograniczyć dryf konfiguracji.

Repozytorium
truecast ↗
Licencja
MIT
Ostatnia zmiana repozytorium
17.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
0
Przestarzałość

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

Podpowiada, jak opisywać zasoby chmurowe jako wersjonowany kod, by ograniczyć dryf konfiguracji.

Oryginalny opis (EN)

Use when provisioning or changing infrastructure (cloud resources, clusters, networking, config) — define it as versioned, reviewed, reproducible code; fight drift; prefer immutable replace over hand-patching live boxes.

Jak działa

  1. The method
  2. Fight drift
  3. The discipline
Sekcje z nagłówków SKILL.md, w oryginale · 38 linii, 445 słów
Podgląd SKILL.md
---
name: infrastructure-as-code
description: Use when provisioning or changing infrastructure (cloud resources, clusters, networking, config) — define it as versioned, reviewed, reproducible code; fight drift; prefer immutable replace over hand-patching live boxes.
---
# Infrastructure as code — no snowflakes, no click-ops

Infrastructure you changed by hand in a console is a **snowflake**: undocumented, unreproducible, and a
mystery the next person (or the next incident) inherits. The standard is that your entire infrastructure is
**declared as code in version control** — the repo is the single source of truth for what *should* be running.

## The method
1. **Declare it, version it, review it.** Terraform / OpenTofu / Pulumi / CloudFormation / Helm — the tool
   matters less than: it's in git, it's code-reviewed like application code, and the desired state is the file,
   not the console.
2. **Plan before apply, always.** Generate the plan (the diff between desired and live), have a human read it,
   *then* apply. The plan is where you catch the "this will destroy and recreate the database" surprise.
   Separate plan and apply as distinct gated steps; auto-apply only what's genuinely safe.
3. **Remote, locked, encrypted state.** State lives in an encrypted remote backend with locking — never on a
   laptop, never in the repo. Two concurrent applies without a lock corrupt state.
4. **Secrets are injected, never committed.** No credentials in the IaC, the repo, or the plan output. Inject
   at runtime from a secret manager; the IaC references the secret, never contains it.
5. **Immutable over mutable.** Prefer replacing instances/images over patching live boxes (bake an image,
   deploy the new one, drain the old). Mutable in-place changes are how drift and "works on that one box"
   creep in.

## Fight drift
- **Drift = live infra ≠ the code.** It creeps in via console hotfixes, broken automation, partial applies,
  parallel tooling — and surfaces at the worst time, during the next apply.
- **Detect it on a schedule** (a periodic `plan` that alerts on any diff), so a manual console change is caught
  in hours, not discovered weeks later mid-deploy.
- **Remediate by code, not by re-doing it by hand** — fold the legitimate change into the IaC and re-apply;
  revert the illegitimate one. Either way the code becomes true again.
- **Scan the IaC** for misconfig (public buckets, missing encryption, over-broad IAM) in CI before apply.

## The discipline
- If a piece of infra exists only because someone clicked it once, it doesn't really exist — it'll be gone the
  day you need to rebuild and can't.
- Right-size: a tiny project doesn't need a multi-account Terraform mono-repo on day one — but even then,
  *write down* what's deployed and how, so it's reproducible (`right-size-reliability`).
- Tool note (2025–26): Terraform (BSL-licensed) vs OpenTofu (open-source, community-governed fork) have
  diverged at the feature level — pick deliberately per the project's licensing/governance needs.

Wersje

RepozytoriumWynikLicencja
Ta strona · wastedcode/truecast90MIT
atretyak1985/swarmery100Apache-2.0
peterbamuhigire/chwezi-dev-engine100MIT
Rene-Roscher/skills100Apache-2.0
arjunprabhulal/devops-skills100MIT
seb1n/awesome-ai-agent-skills100MIT
MARUCIE/openclaw-foundry100MIT
kid-sid/codex-spellbook100MIT
wrongstack/wrongstack90MIT

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

  • 100drift-detector
    Wykrywa rozjazd infrastruktury między stanem Terraform a rzeczywistymi zasobami chmury: zasoby poza zarządzaniem, ręczne zmiany i dryf konfiguracji.
  • 100terraform-infrastructure-as-code
    Opisuje zasoby chmurowe deklaratywnie w HCL i wdraża je przez Terraform, gdy infrastruktura ma być powtarzalna.
  • 100oma-tf-infra
    Tworzy lub przegląda infrastrukturę i plany Terraform, w tym zasoby chmurowe, IAM, sieci, zarządzanie stanem i zmiany w infrastrukturze.
  • 100oma-tf-infra
    Tworzy i przegląda infrastrukturę Terraform oraz plany zmian: zasoby chmurowe, IAM, sieć, zarządzanie stanem i zmiany infrastruktury.
  • 90cloud-infrastructure
    Projektuje i prowadzi infrastrukturę chmurową: środowiska, infrastructure as code, sieci i izolację, skalowanie oraz koszty, w tym przegląd infrastruktury skonfigurowanej ręcznie.
  • 90terraform-and-data-platform-infrastructure
    Prowadzi przez infrastrukturę jako kod dla platform danych: storage, role, sekrety, sieci, zasoby orkiestracji, katalogi, moc obliczeniowa i fundamenty środowisk.

Uwagi i zgłoszenia

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