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

derived-state

/derived-state

Pomaga przy zmianach indeksów, pamięci podręcznych i wyliczonych wyników nad zmiennym stanem, wyliczając ścieżki mutacji i zachowując dotychczasowe gwarancje.

Repozytorium
pseudolife-mcp ↗
Licencja
Apache-2.0
Ostatnia zmiana repozytorium
14.11.2026

Ocena i bezpieczeństwo

86/ 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ść21 / 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
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 14.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 robi i kiedy

Pomaga przy zmianach indeksów, pamięci podręcznych i wyliczonych wyników nad zmiennym stanem, wyliczając ścieżki mutacji i zachowując dotychczasowe gwarancje.

Oryginalny opis (EN)

Use when adding or changing an index, cache, memoized score or any other derived structure over mutable state (an index over band entries, a cached graph view). Covers enumerating mutation paths, stating the real read/write interleave, and preserving what the replaced code provided implicitly.

Jak działa

SKILL.md bez nagłówków drugiego poziomu · 24 linii, 181 słów

Podgląd SKILL.md
---
name: derived-state
description: Use when adding or changing an index, cache, memoized score or any other derived structure over mutable state (an index over band entries, a cached graph view). Covers enumerating mutation paths, stating the real read/write interleave, and preserving what the replaced code provided implicitly.
---

# Derived state, caches and indexes

A derived structure over mutable state goes stale by whichever mutation path
the author did not think of, and the daemon's real workload (store, search,
store, search) punishes the wrong maintenance policy. Before adding or
changing one:

1. **Enumerate every mutation path first**, grepping for the state, not the
   API: `hydrate_cms` / `load()` / legacy migration append to `band.entries`
   without `store()`.
2. **State the real read/write interleave and check the maintenance policy
   keeps the win under it.** The daemon alternates store and search, so
   extend in place for additions and rebuild only on removals or
   replacement; invalidate-on-write rebuilds on every read. Measure the
   policy under the actual interleave, not a synthetic one.
3. **List what the replaced code provided implicitly** (tie-break iteration
   order; `bands=` filtering on the holding band, not the stale
   `entry.bank`; live reads of supersession flags) and preserve each, or
   change it consciously and say so in the commit.
4. **Get an independent review before commit** (`/code-review` medium or a
   reviewer subagent), as `CLAUDE.md` "Review discipline" requires for perf,
   cache and index changes.

Wersje

W bazie nie ma innych skilli o nazwie derived-state.

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

Brak podobnych skilli w bazie.

Uwagi i zgłoszenia

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