Przejdź do treści
Biblioteka skilli
AI i agenci · Przegląd i audyt

rules-binding-audit

/rules-binding-audit

Audytuje pliki reguł regułą po regule: kogo wiążą, co je egzekwuje, czy użytkownik może je nadpisać i czy powtarzają się inne reguły.

Licencja
MIT
Ostatnia zmiana repozytorium
26.10.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
2
Skrypty
1
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 26.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 sprawdzić przed instalacją
  • 1 skrypt w paczce. Przejrzyj je przed instalacją, bo Claude może je uruchomić.

Skrypty: rules_audit.py

Co robi i kiedy

Audytuje pliki reguł regułą po regule: kogo wiążą, co je egzekwuje, czy użytkownik może je nadpisać i czy powtarzają się inne reguły.

Wyzwalacze z opisu

go thru the rules and analyse them
Oryginalny opis (EN)

Audit the rule files themselves (DESIGN_HINTS, CLAUDE.md, THE_INVARIANTS, RULES_CARD, shared_claude) rule by rule - who it binds (Claude, the user or the code), what enforces it (hook, test or prose only), whether the user can override it, whether it cites a retired decision, whether it repeats another rule - and whether any file states the meta clause that the rules bind Claude and the user can override them. Ships rules_audit.py. Use this whenever the user says 'go thru the rules and analyse them', after a rule caused friction or made Claude refuse or soften one of his orders, after a decisi

Jak działa

  1. The problem (2026-10-15)
  2. Procedure
  3. The tool
Sekcje z nagłówków SKILL.md, w oryginale · 43 linii, 475 słów
Podgląd SKILL.md
---
name: rules-binding-audit
description: "Audit the rule files themselves (DESIGN_HINTS, CLAUDE.md, THE_INVARIANTS, RULES_CARD, shared_claude) rule by rule - who it binds (Claude, the user or the code), what enforces it (hook, test or prose only), whether the user can override it, whether it cites a retired decision, whether it repeats another rule - and whether any file states the meta clause that the rules bind Claude and the user can override them. Ships rules_audit.py. Use this whenever the user says 'go thru the rules and analyse them', after a rule caused friction or made Claude refuse or soften one of his orders, after a decision is removed, and before adding a new rule. Pairs with retire-a-rule, literal-execution, scar-to-rule and rule-miner."
---
# rules-binding-audit

## The problem (2026-10-15)
"remove D70 now" was softened into a superseding row because a workspace rule says the decision log is append-only.
the user: "we can edit the decision log we just can't have you doing it unless commanded by me in a very specific way. I
probably have other rules I didn't mean for you to take so serious", then "go thru the rules and analyse them for me
in other ways to". RULES_REVIEW_2026-10-15.md was written by hand; its main finding: no rule file says the rules bind
Claude and the user can override them. scar-to-rule and rule-miner mine errata and prompts - nothing audited the rule files.

## Procedure
1. **Run the audit** over every file Claude treats as law, with the decision log for retired ids:
   `python rules_audit.py DESIGN_HINTS_v3_2026-10-12.md CLAUDE.md THE_INVARIANTS.md plans/RULES_CARD.md --decisions DECISIONS.md`
2. **Read the table, not just the summary.** The tags are keyword heuristics. For each row decide:
   - **binds whom** - a rule that restrains Claude never binds the user (literal-execution);
   - **mechanism** - PROSE_ONLY rules are wishes (DESIGN_HINTS v3: "a rule must name its mechanism"); give each a
     hook/test or mark it advisory;
   - **override** - can the user lift it by an explicit order? If the text does not say, say it for him;
   - **RETIRED** - a rule citing a removed decision (retire-a-rule) is stale;
   - **DUP** - two copies drift apart; keep one and point to it.
3. **META_CLAUSE ABSENT** -> propose one sentence for the top of the root CLAUDE.md ("These rules bind Claude; the user
   can override any of them by an explicit order"), as a question to the user. Never write it unasked.
4. Report to the user in a short table (plain-terms): counts, the five most surprising rows, and the proposals. Edits to
   rule files happen only on his order.

## The tool
```
python rules_audit.py <files...> [--decisions DECISIONS.md] [--retired D70,D87] [--dup 0.6]
CLAUDE.md:38 | BINDS=CLAUDE(implied) | MECH=PROSE | OVERRIDE=NONE | - No minute-of-hour run windows (D161). ...
SUMMARY rules=55 PROSE_ONLY=32 NO_OVERRIDE=54 CITES_RETIRED=0 DUPLICATE_PAIRS=0 META_CLAUSE=ABSENT (...)
python rules_audit.py --selftest
```
Rules = rule-worded bullets, numbered items and table rows outside code fences, plus whole `**A1. Title.**`
paragraphs (DESIGN_HINTS v3 shape, with their `*Mechanism:*` line). Retired ids = rows whose status cell starts
REMOVED/SUPERSEDED/RETIRED/REVOKED, "D70 is REMOVED", "supersedes/replaces/removes D87" - a row merely using the word
(D161 "ceremonies retired as RULES") does not retire itself.

Real run 2026-10-16 on the four files above: 55 rules, 32 prose-only, 54 with no override path, 0 citing a retired
decision, META_CLAUSE ABSENT - the hand review's finding, reproduced mechanically. A first draft flagged D161 as
retired (it contains the word "retired"); fixed and covered by the selftest. Selftest 11/11. Planted 2, caught 2
(override test inverted; any row containing "removed" treated as retired).

Pairs with retire-a-rule, literal-execution, scar-to-rule, rule-miner and question-not-ruling.
Pliki w paczce (2)
  • SKILL.md 4 KB
  • rules_audit.py 11 KB

Wersje

W bazie nie ma innych skilli o nazwie rules-binding-audit.

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

  • 100create-rule
    Pomaga tworzyć i aktualizować pliki reguł Claude Code w .claude/rules, z formatem, zakresem ścieżek i dobrymi praktykami.
  • 100rule-creator
    Tworzy ścieżkowe pliki reguł w .claude/rules, które dołączają się automatycznie, gdy dotykane są pasujące pliki projektu.
  • 100rule-rewriter
    Audytuje CLAUDE.md lub plik skilla pod kątem reguł dla starszych modeli i przepisuje je dla Claude 5: jednostronne zakazy zamienia w ocenę z uzasadnieniem albo oznacza do usunięcia.
  • 100audit-memory
    Sprawdza pliki reguł i pamięci agenta, np. CLAUDE.md i AGENTS.md, pod kątem nieaktualnych lub sprzecznych linii.
  • 90maintaining-rules
    Porządkuje instrukcje dla Claude: wybiera miejsce dla każdej zasady, pisze ją i sprawdza, zanim zmieni CLAUDE.md, plik reguł, umiejętność lub hook.
  • 100eval-rules
    Audytuje reguły instrukcji Claude Code w .claude/rules: frontmatter, poprawność ścieżek i to, czy reguły są rzeczywiście użyteczne.

Uwagi i zgłoszenia

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