Przejdź do treści
Biblioteka skilli
Programowanie · Automatyzacja

guard

/guard

Zarządza narzędziem guard do uprawnień plików: inicjalizuje je, dodaje lub usuwa kolekcje, czyści stan i pokazuje, co jest chronione.

Repozytorium
claude-code ↗
Licencja
MIT
Ostatnia zmiana repozytorium
07.10.2026

Ocena i bezpieczeństwo

85/ 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ść20 / 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
6
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
1
Przestarzałość

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

Zarządza narzędziem guard do uprawnień plików: inicjalizuje je, dodaje lub usuwa kolekcje, czyści stan i pokazuje, co jest chronione.

Wyzwalacze z opisu

init guardset up guardguard my test filescreate a guard collectionremove guard collectiondelete guard collectionunguard a collectionclear all guard
Oryginalny opis (EN)

Use when the user wants to initialize, build a collection in, remove a collection from, clear, or inspect the `guard` CLI file-permission tool. Triggers on "init guard", "set up guard", "guard my test files", "create a guard collection", "remove guard collection", "delete guard collection", "unguard a collection", "clear all guard", "wipe guard", "reset guard", "guard status", "guard info", "show guard", "what's guarded".

Jak działa

  1. Routing
  2. The sudo rule (the only non-obvious thing)
  3. Quote arguments
  4. CLI reference
Sekcje z nagłówków SKILL.md, w oryginale · 32 linii, 242 słów
Podgląd SKILL.md
---
name: guard
description: Use when the user wants to initialize, build a collection in, remove a collection from, clear, or inspect the `guard` CLI file-permission tool. Triggers on "init guard", "set up guard", "guard my test files", "create a guard collection", "remove guard collection", "delete guard collection", "unguard a collection", "clear all guard", "wipe guard", "reset guard", "guard status", "guard info", "show guard", "what's guarded".
---

# guard

Helper for the `guard` CLI (https://github.com/florianbuetow/guard). Guard protects files from accidental edits by setting the immutable flag and root ownership. This skill composes the right `guard` commands for the user.

## Routing

| Intent | Reference |
|---|---|
| Set up guard / `.guardfile` missing | `references/init.md` |
| Build a collection from a description or list | `references/create-collection.md` |
| Remove a collection | `references/remove-collection.md` |
| Restore everything, wipe the registry | `references/clear-all.md` |
| Show collections and loose guarded files | `references/info.md` |

## The sudo rule (the only non-obvious thing)

The agent runs as the user, without sudo. Operations that **change a file's guard state** require root (clearing the immutable flag is root-only), so the agent **cannot run them** — it prints the exact `sudo guard …` command for the user to run.

- **Print `sudo guard …`** for: `enable`, `disable`, `toggle`, `reset`, and `destroy`/`remove`/`clear` when the target files are **currently guarded**.
- **Run directly** (no sudo): `init`, `add`, `create`, `update … add`, `show`, `config`, and `destroy`/`remove` when files are **already unguarded**.

Check guard state with `guard show` before deciding. A file is guarded when its line starts with `G`.

## Quote arguments

Always quote collection names and file paths in any command you run or print: `guard destroy "$name"`, `sudo guard enable collection "$name"`. Paths can contain spaces.

## CLI reference

For exact syntax of any subcommand, run `guard help <sub>`. Don't reproduce it here.
Pliki w paczce (6)
  • SKILL.md 2 KB
  • references/clear-all.md 1 KB
  • references/create-collection.md 1 KB
  • references/info.md 1 KB
  • references/init.md 1 KB
  • references/remove-collection.md 1 KB

Wersje

RepozytoriumWynikLicencja
Ta strona · florianbuetow/claude-code85MIT
frankxai/agentic-creator-os100Apache-2.0
darioabc/massimo100MIT
onlypfachi/chief100MIT
bdfinst/agentic-dev-team100MIT
houseofmvps/ultraship100MIT
ruya-ai/cozempic100MIT
tranhieutt/software_development_department100MIT
sharpdeveye/maestro100MIT

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

  • 91guard-verification
    Dowodzi, że testy wykryją utratę strażnika (guard), gdy kod dodaje nowy warunek ochronny.
  • 100verify-approval-guard
    Testuje strażnika zatwierdzeń w aplikacji mobilnej właściwościami, by płatności i usunięcia wymagały zgody człowieka.
  • 100coverage-guard
    Zapobiega regresjom pokrycia testami podczas pracy: po poleceniu /coverage-guard ostrzega, gdy pokrycie spada poniżej progu po zmianach kodu.
  • 100check
    Wyjaśnia, jak aws-guard oceniłby polecenie powłoki lub pokazuje jego reguły, bez uruchamiania polecenia.
  • 100guard-authoring
    Tworzy, zatwierdza i utrzymuje profile guard projektu (.wipnote/guard-profile.yaml): własne bramki jakości i ukończenia, zakres per katalog w monorepo oraz ponowne zatwierdzanie po dryfie.
  • 100mutate
    Testuje mutacyjnie strażnika, sprawdzenie lub poprawkę: psuje kod celowo i sprawdza, czy test wtedy czerwienieje.

Uwagi i zgłoszenia

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