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.
- Autor
- florianbuetow ↗
- Repozytorium
- claude-code ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 07.10.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 6
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 1
Brak sygnałów. Repozytorium zmienione 07.10.2026, bez odwołań do wycofanych modeli i API.
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
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
- Routing
- The sudo rule (the only non-obvious thing)
- Quote arguments
- CLI reference
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
| Repozytorium | Wynik | Licencja |
|---|---|---|
| Ta strona · florianbuetow/claude-code | 85 | MIT |
| frankxai/agentic-creator-os | 100 | Apache-2.0 |
| darioabc/massimo | 100 | MIT |
| onlypfachi/chief | 100 | MIT |
| bdfinst/agentic-dev-team | 100 | MIT |
| houseofmvps/ultraship | 100 | MIT |
| ruya-ai/cozempic | 100 | MIT |
| tranhieutt/software_development_department | 100 | MIT |
| sharpdeveye/maestro | 100 | MIT |
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.