Przejdź do treści
Biblioteka skilli
Programowanie · Budowanie i kod

necro-rules

/necro-rules

Pisze i zmienia reguły necro w pliku necro.yaml i pilnuje, by AGENTS.md szedł w parze z regułami.

Repozytorium
necronomicon ↗
Licencja
Apache-2.0
Ostatnia zmiana repozytorium
10.11.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
1
Adresy URL w SKILL.md
3
Przestarzałość

Brak sygnałów. Repozytorium zmienione 10.11.2026, bez odwołań do wycofanych modeli i API.

Licencja

Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.

Co sprawdzić przed instalacją
  • SKILL.md zawiera komentarze HTML (1). Nie widać ich w podglądzie Markdown, a model je czyta.

Co robi i kiedy

Pisze i zmienia reguły necro w pliku necro.yaml i pilnuje, by AGENTS.md szedł w parze z regułami.

Oryginalny opis (EN)

Write or change a necro rule in necro.yaml, and keep AGENTS.md in step with it. Use when adding a house rule, when a correction keeps repeating, when an AGENTS.md line could be checked mechanically, or when allows pile up on a rule.

Jak działa

  1. Writing one
  2. Keeping AGENTS.md in step
  3. Suggesting it for a pack
Sekcje z nagłówków SKILL.md, w oryginale · 25 linii, 306 słów
Podgląd SKILL.md
---
name: necro-rules
description: Write or change a necro rule in necro.yaml, and keep AGENTS.md in step with it. Use when adding a house rule, when a correction keeps repeating, when an AGENTS.md line could be checked mechanically, or when allows pile up on a rule.
---

<!-- Derived from .agents/skills/necro-rules/SKILL.md: edit the canonical file there, then re-copy here. -->

# Writing necro rules

A convention has one home. If a command can check it, it's a rule, whose words teach whoever trips it; judgment stays in `AGENTS.md` or a skill. [agents-and-rules.md](https://github.com/WahahaYes/necronomicon/blob/main/docs/agents-and-rules.md) says when to move one; [writing-rules.md](https://github.com/WahahaYes/necronomicon/blob/main/docs/writing-rules.md) has the format.

## Writing one

1. Check the packs first: `necro --list` shows what's on, and a pack rule may already cover it.
2. The command prints `path:line:col` per hit: `necro grep '<regex>' -- '<pathspec>'` for a pattern, a script (`uv run --script necro/<name>.py`) for more, or a tool the repo already runs.
3. The words: `message` says what's wrong in one line; `why` gives the reason, so a reader can judge an edge case; `fix` says what to do instead, concretely. Add `examples` (`bad`, `good`) and `details` for `--explain`.
4. Give it `files:` (prek's form: a regex, or `{glob: …}`) so a commit that touches none of them skips it.
5. Try it over the whole repo: `necro --rule <name>`, and read a few hits. Fix the real ones; for the rest, suggest the user baselines them (`necro --write-baseline --rule <name>`), which is theirs to run.

## Keeping AGENTS.md in step

- A rule that shapes the architecture gets a one-line pointer in `AGENTS.md`, naming it: "core never imports app; necro checks it (`core-isolated`)".
- An `AGENTS.md` line that said the same thing shrinks to that pointer, or goes.
- Allows piling up on a rule mean the rule is wrong: narrow it, or move the convention back to prose.

## Suggesting it for a pack

If the rule would suit any repo in that language, offer to suggest it for necro's packs with the [pack suggestion form](https://github.com/WahahaYes/necronomicon/issues/new?template=pack-suggestion.yml): the rule's YAML, the language, and its hit count here. Ask the user before filing.

Wersje

RepozytoriumWynikLicencja
Ta strona · WahahaYes/necronomicon100Apache-2.0
WahahaYes/necronomicon100Apache-2.0

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

  • 100necro
    Pracuje w repozytorium z regułami necro, gdy hak lub commit zgłasza trafienia, i diagnozuje sam necro, gdy zawiedzie.
  • 100necro
    Pracuje w repozytorium z regułami necro, gdy hak lub commit zgłasza trafienia, i diagnozuje sam necro, gdy zawiedzie.
  • 100add-rule
    Dodaje reguły pisania kodu do folderu z regułami, które polix wczytuje i sprawdza, bez zmiany samego kodu i konfiguracji.
  • 100houserules
    Spisuje reguły repozytorium w dokumentach, takich jak AGENTS.md i architektura, sprawdzonych na dowodach, i weryfikuje zmiany względem nich.
  • 100create-rule
    Tworzy lub utrwala pliki reguł projektu: zapisuje standardy kodowania, utrwala ustalenia z przeglądu kodu i dodaje nowe reguły w katalogu zasad.
  • 90cmk:rule
    Zamienia wnioski z pracy w reguły zapisane w docs/rules, które agenci stosują podczas rozwoju oprogramowania.

Uwagi i zgłoszenia

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