code-expiry
/code-expiry
Opisuje, jak oznaczać tymczasowy kod znacznikiem EXPIRES, aby został usunięty w przyszłości, czyli fallbacki, flagi i obejścia.
- Autor
- andremoah ↗
- Repozytorium
- claude-plugins ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 02.11.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 1
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 02.11.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
- SKILL.md zawiera komentarze HTML (1). Nie widać ich w podglądzie Markdown, a model je czyta.
Co robi i kiedy
Opisuje, jak oznaczać tymczasowy kod znacznikiem EXPIRES, aby został usunięty w przyszłości, czyli fallbacki, flagi i obejścia.
Wyzwalacze z opisu
Oryginalny opis (EN)
How to date temporary code with EXPIRES markers so it gets removed later. Use when writing or reviewing fallbacks, shims, feature flags, migration bridges, workarounds, legacy compatibility paths, or any code that says "remove later", "temporary", "until X ships", or when the user asks how to mark something as temporary.
Jak działa
SKILL.md bez nagłówków drugiego poziomu · 23 linii, 263 słów
Podgląd SKILL.md
--- name: code-expiry description: How to date temporary code with EXPIRES markers so it gets removed later. Use when writing or reviewing fallbacks, shims, feature flags, migration bridges, workarounds, legacy compatibility paths, or any code that says "remove later", "temporary", "until X ships", or when the user asks how to mark something as temporary. --- # Dating temporary code Temporary code without a deadline becomes permanent. Whenever you write code that exists only until something else happens, put an `EXPIRES` marker on its comment line: ``` // EXPIRES: 2026-09-13 legacy polling fallback; delete once webhook delivery stays at 100% for 30d ``` Rules: - **Date** is ISO `YYYY-MM-DD`. Pick when the removal should realistically be *possible*, not when you hope to get to it. Typical: next release + buffer, flag rollout + 30 days, migration completion date. If you cannot pick a date, ask the user; do not invent one silently. - **Reason and condition**, same line: why it is temporary and what must be true to delete it. The reaper agent reads this to decide if removal is safe. - **One marker per block.** Put it on the line directly above the guarded code (the `if`, the flag check, the shim function), not on the file header. - **Keep the comment style of the language** (`//`, `#`, `--`, `<!-- -->`). The scanner is language-agnostic. - Also accepted: `EXPIRES(2026-09-13)`, `@expires(2026-09-13)`, `TODO [2026-09-13]` (eslint-plugin-unicorn style). Prefer `EXPIRES:` in new code. What counts as temporary: feature flags and kill switches, fallbacks to a legacy path, API version shims, data-migration bridges, polyfills, "backward compatibility" branches, workarounds for a bug in a dependency, hardcoded values awaiting config. What does not: permanent error handling, business rules, defaults, documented behaviour. When reviewing a diff that adds such code without a marker, point it out once and propose the marker line. When a marker's date is near or past, mention it and offer `/code-expiry:expiry reap`.
Wersje
W bazie nie ma innych skilli o nazwie code-expiry.
Migawka bazy z 13.11.2026 · wersja paczki 21afec42d293 (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
- 90debug-cleanup
Usuwa tymczasowe logi, sondy i nieudane obejścia po zakończeniu debugowania, zachowując trwałe poprawki. - 100prune
Usuwa nieużywane testy, zależności, martwy kod, flagi i konfigurację, gdy użytkownik prosi o porządki w projekcie. - 95workaround-markers
Oznacza obejścia błędów w zależnościach znacznikiem WORKAROUND i pokazuje, gdzie projekt korzysta z danej zależności. - 100hard-cut
Usuwa funkcję w całości bez zgodności wstecznej: kasuje powierzchnię, wywołania, testy, dokumentację, komentarze, fallbacki i atrapy, zamiast ją wycofywać.