maintaining-rules
/maintaining-rules
Pilnuje, by instrukcje dla Claude były poprawne: gdzie leży każda zasada, jak ją zapisać i sprawdzić przed zmianą pliku CLAUDE.md lub ustawień.
- Autor
- devBertini ↗
- Repozytorium
- workproof ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 11.11.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 11.11.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
Pilnuje, by instrukcje dla Claude były poprawne: gdzie leży każda zasada, jak ją zapisać i sprawdzić przed zmianą pliku CLAUDE.md lub ustawień.
Wyzwalacze z opisu
Oryginalny opis (EN)
Keeps a project's instructions for Claude right: where each rule lives (CLAUDE.md, path-scoped rules, skills, hooks, permission rules) and how it is written and proven. Use before editing a CLAUDE.md, a .claude/rules file, a skill, an agent, a hook or a settings file, and when the user corrects or decides something (\"from now on\", \"always\", \"never\").
Jak działa
- Where each thing lives
- How to write
- After a change
Podgląd SKILL.md
---
name: maintaining-rules
description: "Keeps a project's instructions for Claude right: where each rule lives (CLAUDE.md, path-scoped rules, skills, hooks, permission rules) and how it is written and proven. Use before editing a CLAUDE.md, a .claude/rules file, a skill, an agent, a hook or a settings file, and when the user corrects or decides something (\"from now on\", \"always\", \"never\")."
---
# Maintaining rules
If `${user_config.delivery}` is false, this module is off: ignore this skill.
## Where each thing lives
| What | Home |
|---|---|
| Holds in every session of every project | the user's `~/.claude/CLAUDE.md`, or a CLAUDE.md in a folder above the projects |
| One project's facts: commands, pitfalls, decisions, state | the project's `CLAUDE.md`; history and detail in its `docs/` |
| An instruction for one part of the code (a folder, a file type) | `.claude/rules/<topic>.md` with `paths:` globs; it loads when Claude reads a matching file |
| A procedure or trap of a subject | a skill (`skills/<name>/SKILL.md`) in the project or a plugin |
| A rule with zero exceptions | a permission rule in settings or a hook, never only text |
| How replies read (length, format) | an output style; the reply language is the `language` setting |
One home per fact; other places point to it.
## How to write
- Only what Claude cannot work out from the repository and what changes behavior. Imperative, with the reason when it is not obvious.
- No author, date, history or quotation ("was X, now Y", "decided on"): every loaded word is paid for in each session, and git keeps who and when. A date stays only where it changes what Claude does (a deadline, an expiry); records in `docs/` keep theirs.
- Replace old text; never append a log. A CLAUDE.md stays short (under 200 lines); a longer one moves code-area instructions into path-scoped rules.
- A skill: a gerund name (`reviewing-migrations`, `running-benchmarks`); a third-person description that says what it does, then "Use when..." with its triggers (under 1,024 characters); `SKILL.md` under 500 lines, detail in `references/` one level deep; scripts with tests beside them.
- A new skill is written when real work needs it, not ahead of time.
## After a change
- Prove it: `claude plugin validate <plugin folder>` for a plugin, the tests of any changed script (`claude plugin test <plugin folder>` for a hooks module), and a fresh session (or `/reload-plugins`) that shows the skill or hook loaded. A changed skill of a plugin that has an eval suite reruns its cases (`claude plugin eval <plugin folder> --case <name>`), which bills the account for each run.
- A hook that fails closed blocks every matching tool call while its script is missing: move or rename a plugin's source folder only after pointing its marketplace at the new path, then run `/reload-plugins` in each open session.
- Commit the change on its own, with a message that names the rule, never mixed into feature work.
Wersje
| Repozytorium | Wynik | Licencja |
|---|---|---|
| Ta strona · devBertini/workproof | 90 | MIT |
| devBertini/workproof | 90 | MIT |
Migawka bazy z 13.11.2026 · wersja paczki 65494bbcb949 (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
- 100maintaining-agent-context
Tworzy, audytuje i optymalizuje instrukcje agentów w repozytorium (AGENTS.md, CLAUDE.md, .claude/rules/): architekturę kontekstu, koszt stale ładowanego kontekstu oraz nieaktualne, zduplikowane i sprzeczne instrukcje. - 100aaronyang-writing-rules
Pisze, sprawdza i przenosi instrukcje dla agentów AI, takie jak CLAUDE.md czy AGENTS.md, by były krótkie i zmieniały zachowanie. - 100authoring-claude-md
Tworzy i utrzymuje pliki CLAUDE.md oraz reguły w .claude/rules/ z nieoczywistym kontekstem kodu: architektura, decyzje projektowe i konwencje projektu. - 100create-rule
Pomaga tworzyć i aktualizować pliki reguł Claude Code w .claude/rules, z formatem, zakresem ścieżek i dobrymi praktykami. - 100change-rules
Pilnuje, by pliki z zasadami i instrukcjami nie puchły, nie kłóciły się i nie zawierały nieaktualnych liczb. - 100claude-code-memory-and-rules
Pomaga ustawić pamięć Claude Code: CLAUDE.md, reguły .claude/rules, konwencje kodowania, zakres instrukcji do plików oraz wybór między regułami, hookami i innymi mechanizmami.