Przejdź do treści
Biblioteka skilli
Bezpieczeństwo · Automatyzacja

automation-guardrails

/automation-guardrails

Dodaje do automatyzacji zdolnej coś zniszczyć bramki potwierdzeń, limity zasięgu szkód, ślady audytowe i wyłączniki awaryjne, przy budowie skryptów i botów.

Repozytorium
AI-SKILLS ↗
Licencja
MIT
Ostatnia zmiana repozytorium
05.09.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 05.09.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

Dodaje do automatyzacji zdolnej coś zniszczyć bramki potwierdzeń, limity zasięgu szkód, ślady audytowe i wyłączniki awaryjne, przy budowie skryptów i botów.

Oryginalny opis (EN)

Put confirmation gates, blast-radius limits, audit trails, and kill switches around automation that can destroy things. Use when building scripts or bots with destructive power.

Jak działa

  1. Method
  2. Boundaries
Sekcje z nagłówków SKILL.md, w oryginale · 73 linii, 482 słów
Podgląd SKILL.md
---
name: automation-guardrails
description: Put confirmation gates, blast-radius limits, audit trails, and kill switches around automation that can destroy things. Use when building scripts or bots with destructive power.
---

# Automation guardrails

Automation scales mistakes as efficiently as it scales work. Guardrails
are the difference between "deleted one wrong file" and "deleted every
customer's files, alphabetically, at machine speed".

## Method

1. **Scope the blast radius before the first run.** Every
   destructive automation states what it can touch (paths,
   accounts, tags, environments) and enforces it: allowlists over
   denylists, explicit targeting (`--env staging` required, no
   default-to-prod), and the credentials it runs with scoped to
   exactly that surface (see least-privilege, iam-design): the
   permission boundary is the guardrail that holds when the code
   is wrong.
2. **Gate destruction behind dry-run and confirmation.**
   `--dry-run` prints the full would-do list (see
   script-idempotency step 5); the real run shows the same list
   plus a summary ("34 instances across 2 regions") and requires
   `--yes` for automation or typed confirmation for humans:
   confirming *the count* catches the wrong-filter disaster
   ("...34,000 instances?"). High-stakes operations name their
   target in the confirmation ("type the cluster name to
   proceed").
3. **Rate-limit and stage the execution.** Process in bounded
   batches with pauses, verify health between batches
   (error rates, a canary sample), and stop on anomaly: the
   canary-analysis pattern applied to bulk operations. A cap on
   total actions per run ("refuses to delete >5% of the fleet
   without --override-cap") converts bugs into halts (see
   backpressure's bounded-everything instinct).
4. **Leave an audit trail that survives the automation.** Every
   run logs: who/what invoked it, with which arguments, the
   resolved target list, and per-item outcomes: to durable logs,
   not the terminal (see audit-logging, structured-logging).
   The trail is how you answer "what did it actually do" during
   the incident and "who approved this" after (see
   security-incident-response).
5. **Build the kill switch before you need it.** A flag/file/env
   the automation checks between batches ("halt if
   /etc/automation-stop exists", a feature flag, the scheduler's
   disable button): documented in the runbook so 3am oncall can
   stop the machine without reading source (see runbook-writing,
   feature-flags-hygiene). Paired with idempotent resume (see
   script-idempotency), stopping is always safe, which means
   people will actually stop it early.
6. **Make recovery a designed path, not an aspiration.**
   Soft-delete with a grace window where the platform allows
   (trash-then-purge, deletion protection flags on crown-jewel
   resources), backups verified before mass mutation (see
   backup-restore), and the restore procedure tested at the same
   fidelity as the destroy procedure. Automation whose mistakes
   are unrecoverable gets a human in the loop permanently: that
   is a valid design outcome.

## Boundaries

- Guardrails add friction by design; calibrate to blast radius
  (read-only automation needs none of this) or teams will bypass
  the ceremony everywhere, including where it matters (see
  iam-design's same lesson).
- Confirmation gates do not fix wrong logic; testing against
  staging with production-shaped data (see
  test-environment-parity) is still where correctness comes
  from.
- Humans approve what they understand: a gate that shows a
  10,000-line diff gets rubber-stamped; summarize to the
  decision-relevant facts (counts, examples, anomalies) or the
  gate is theater (see code-review's severity-first reporting
  ethic).

Wersje

W bazie nie ma innych skilli o nazwie automation-guardrails.

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

  • 100ai-agent-governance-and-limits
    Definiuje budżety, limity kroków, odwracalność, kontrolę zasięgu szkód, wyłączniki awaryjne i politykę nadzoru dla systemów agentowych AI.
  • 100automation-risk-review
    Ocenia ryzyko automatyzacji bezpieczeństwa: zakres rażenia, uprawnienia, wstrzyknięcia przez pola alertów i brak śladów audytu.

Uwagi i zgłoszenia

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