DevOps i chmura · Budowanie i kod
nix
/nix
Pisze i sprawdza kod Nix w plikach .nix, pilnując poprawności konfiguracji.
- Autor
- hakula139 ↗
- Repozytorium
- plugins ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 12.11.2026
Ocena i bezpieczeństwo
96/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność21 / 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
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Przestarzałość
Brak sygnałów. Repozytorium zmienione 12.11.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
Pisze i sprawdza kod Nix w plikach .nix, pilnując poprawności konfiguracji.
Oryginalny opis (EN)
Write and review Nix code. Use when a task touches a `.nix` file.
Jak działa
- Function arguments
- Style
Sekcje z nagłówków SKILL.md, w oryginale · 18 linii, 250 słów
Podgląd SKILL.md
---
name: nix
description: >-
Write and review Nix code. Use when a task touches a `.nix` file.
---
# Nix
## Function arguments
- **Declare only the arguments the function uses, and accept `...` only when the caller passes a broader argument set**, as the module system does, so `callPackage` targets and other helpers reject unexpected arguments. Keep open record patterns where accepting additional fields is part of the contract.
- **Lay out a file's top-level argument set one argument per line**, even when the formatter would fit it on one, so adding an argument is a one-line diff.
- **In call argument sets**, `specialArgs` included, pass the arguments in the callee's declared order.
Diff `nix-instantiate --parse <file>` before and after reordering. Because the parser sorts attributes, formals, and `inherit` names, an empty diff confirms a pure reordering.
## Style
- **Attribute names**: quote a name only when Nix requires it, in sets and access paths alike.
- **Option lists**: separate options in Nix lists with a blank line so each reads and diffs as a unit, and keep environment transformations in their order.
- **Format generators**: bind `pkgs.formats.json {}`, `pkgs.formats.yaml {}`, and `pkgs.formats.toml {}` as `json`, `yaml`, and `toml` before calling `generate`, including a single use, so the format definition is separate from the generated content.
- **Package customization**: put nontrivial overrides and patches in dedicated package files, leaving callers to select the package. Keep a simple attribute override inline when it reads clearly. Before adding a patch or suppressing a diagnostic, establish the concrete upstream defect and use a maintained package that fixes it when available.
Pliki w paczce (2)
- SKILL.md 2 KB
- agents/openai.yaml 1 KB
Wersje
| Repozytorium | Wynik | Licencja |
|---|---|---|
| Ta strona · hakula139/plugins | 96 | MIT |
| yuri-xyz/skills | 100 | MIT |
Migawka bazy z 13.11.2026 · wersja paczki 58832aef6ba7 (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
- 100nix-run
Uruchamia narzędzia CLI na żądanie przez Nix bez trwałej instalacji, używając nix run lub nix shell. - 96nix-best-practices
Podpowiada dobre praktyki przy pracy z Nix flakes, overlays oraz plikami shell.nix i flake.nix. - 100nix-for-dev
Konfiguruje Nix dla projektu deweloperskiego z szybkim nix develop: flake.nix bez wejść, npins, default.nix i shell.nix, sub-flake'i i zalecenia dla języków. - 100nix-store-lookup
Znajduje ścieżki store i pliki w /nix/store bez przeszukiwania całego katalogu: skrypt collect_store_lookup.sh rozpoznaje wejście, rozwiązuje je jednoznacznie, zbiera kandydatów i sprawdza ich istnienie. - 95nix-bun
Buduje projekty Bun z plikiem bun.lock w Nix: workflow bun2nix, plik bun.nix i kontrolę dryfu w CI. - 95rootless-nix
Instaluje i sprawdza Nix bez uprawnień sudo w chmurze lub kontenerach, z użyciem nix-portable i bubblewrap.