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

hard-cut

/hard-cut

Usuwa funkcję w całości bez zgodności wstecznej: kasuje powierzchnię, wywołania, testy, dokumentację, komentarze, fallbacki i atrapy, zamiast ją wycofywać.

Repozytorium
kitcn ↗
Licencja
Apache-2.0
Ostatnia zmiana repozytorium
14.10.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
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 14.10.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

Usuwa funkcję w całości bez zgodności wstecznej: kasuje powierzchnię, wywołania, testy, dokumentację, komentarze, fallbacki i atrapy, zamiast ją wycofywać.

Wyzwalacze z opisu

hard cutrip it outdelete itunshipkill this feature
Oryginalny opis (EN)

Remove a feature completely with no backward compatibility. Use when the user says "hard cut", "rip it out", "delete it", "unship", "kill this feature", or wants dead code removed instead of deprecated. Delete the surface, callers, tests, docs, comments, fallbacks, and stubs.

Jak działa

  1. Rules
  2. Sweep
  3. Smells
  4. Bias
Sekcje z nagłówków SKILL.md, w oryginale · 53 linii, 228 słów
Podgląd SKILL.md
---
description: Remove a feature completely with no backward compatibility. Use when the user says "hard cut", "rip it out", "delete it", "unship", "kill this feature", or wants dead code removed instead of deprecated. Delete the surface, callers, tests, docs, comments, fallbacks, and stubs.
name: hard-cut
metadata:
  skiller:
    source: .agents/rules/hard-cut.mdc
---

# Hard Cut

Use this when a feature should die, not linger.

## Rules

- Delete the surface. Do not deprecate it.
- Do not leave `throw new Error("Not implemented")`, placeholder notices,
  "feature removed" banners, or TODOs about bringing it back unless the user
  explicitly asks.
- Do not keep compatibility aliases, deprecated shims, fallback parsing,
  migration bridges, or dead exports.
- Delete tests for deleted behavior. Keep tests only for the behavior that
  still exists.
- Delete comments that describe deleted code or mourn the old feature.
- If removal exposes adjacent dead code, keep cutting until the graph is clean.

## Sweep

1. Find the real surface area:
   - exports
   - commands and flags
   - routes
   - UI entrypoints
   - feature flags
   - docs and examples
2. Trace references with `rg`.
3. Delete the implementation and the glue:
   - call sites
   - types
   - state
   - tests
   - docs
   - comments
4. Grep again for the removed name and obvious aliases.
5. Run the narrowest honest verification for the surviving product.

## Smells

- deprecated notices
- not-implemented throws
- stub handlers
- dead enum or union members
- permanently-false feature-flag branches
- unused env vars and config
- tests that only prove the deleted feature used to exist

## Bias

If the choice is between deleting more code and leaving zombie compatibility,
delete more code.

Wersje

W bazie nie ma innych skilli o nazwie hard-cut.

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

  • 90principle-migrate-callers-then-delete-legacy-apis
    Przenosi wszystkich wywołujących na nowe API wewnętrzne i usuwa stare w tej samej fali, bez warstwy zgodności, jeśli nikt zewnętrzny z niego nie korzysta.
  • 90testing-api-backward-compatibility
    Prowadzi testowanie wstecznej zgodności API w pracy nad produktami API tak, by wynik był śledzalny, niezależnie weryfikowalny i bezpieczny do przekazania innemu agentowi.
  • 100pr-review
    Przegląda pull requesty PyTorch pod kątem jakości kodu, pokrycia testami, bezpieczeństwa i zgodności wstecznej.
  • 100pr-review
    Przegląda pull requesty PyTorch pod kątem jakości kodu, pokrycia testami, bezpieczeństwa i zgodności wstecznej.
  • 100cruft-code-sweep
    Wykrywa w kodzie niepotrzebne fallbacki, kod zgodności wstecznej i martwy kod za pomocą trzech współpracujących agentów: scannera, historiana i verifiera.
  • 100code-comments
    Pisze, przegląda i usuwa komentarze w kodzie oraz komentarze dokumentacyjne, także w diffach.

Uwagi i zgłoszenia

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