dead-code-removal
/dead-code-removal
Usuwa bezpiecznie martwy kod, nieużywane zależności i przestarzałe flagi, w małych krokach i z możliwością cofnięcia.
- Autor
- RobinBeraud ↗
- Repozytorium
- claude-qa-skills ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 10.11.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 10.11.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Usuwa bezpiecznie martwy kod, nieużywane zależności i przestarzałe flagi, w małych krokach i z możliwością cofnięcia.
Oryginalny opis (EN)
Remove dead code, unused dependencies and obsolete feature flags safely: find candidates with compiler and IDE analysis, coverage and production telemetry, verify nothing calls them dynamically (reflection, configuration, reports, external callers), delete in small reviewed steps, and keep the deletion revertible. Use when cleaning a legacy codebase, before an upgrade or migration, when a feature flag is fully rolled out, or when the build is slowed by unused projects.
Jak działa
- Find candidates
- Verify before deleting
- Delete
Podgląd SKILL.md
--- name: dead-code-removal description: "Remove dead code, unused dependencies and obsolete feature flags safely: find candidates with compiler and IDE analysis, coverage and production telemetry, verify nothing calls them dynamically (reflection, configuration, reports, external callers), delete in small reviewed steps, and keep the deletion revertible. Use when cleaning a legacy codebase, before an upgrade or migration, when a feature flag is fully rolled out, or when the build is slowed by unused projects." --- # Dead code removal Deleting code is the cheapest way to reduce bugs, build time and upgrade effort, if it is really dead. ## Find candidates - Compiler/IDE: unused private members, unreferenced projects and files (Roslyn analyzers IDE0051/IDE0052, ReSharper/Rider solution-wide analysis, `ts-prune`/`knip` for TypeScript). - Production evidence: endpoints with zero calls over a full business cycle (logs, APM), reports never run, jobs never scheduled. - Feature flags at 100 % for more than one release: remove the flag and the old branch of code. - Dependencies: packages not referenced by any code (`dotnet list package` + search, `depcheck`/`knip`). ## Verify before deleting Reflection and dependency injection by name, configuration files, stored procedures called from reports, scheduled tasks, external clients calling an API, customer-specific extensions or scripts. Search the whole organisation's repositories, not only this one, for public APIs. ## Delete Small PRs by area, each building and passing tests; the PR lists the evidence (zero calls since ..., no references). For public APIs: deprecate first (warning, header, docs), remove one version later.
Wersje
| Repozytorium | Wynik | Licencja |
|---|---|---|
| Ta strona · RobinBeraud/claude-qa-skills | 90 | MIT |
| yeaight7/agent-powerups | 100 | Apache-2.0 |
| Amey-Thakur/AI-SKILLS | 90 | MIT |
Migawka bazy z 13.11.2026 · wersja paczki 2bb6ae4c4d0a (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
- 100fai-dead-code-removal
Znajduje i usuwa martwy kod w Pythonie i TypeScripcie: nieużywane eksporty, nieosiągalne gałęzie i osierocone pliki, z weryfikacją narzędziami. - 100prune
Usuwa nieużywane testy, zależności, martwy kod, flagi i konfigurację, gdy użytkownik prosi o porządki w projekcie. - 95cleaning-up-stale-feature-flags
Wyszukuje i usuwa nieaktualne flagi funkcji w PostHog: nieużywane, w pełni wdrożone i porzucone, po sprawdzeniu zależności. - 100rescue-dead-code
Szuka kodu, którego stary projekt prawdopodobnie już nie używa, i ocenia pewność każdego znaleziska, ale usuwa tylko po wyraźnym potwierdzeniu. - 100dead-code-finder
Wyszukuje martwy kod oraz nieużywane pliki, projekty, klasy i usługi w CC Director, które można bezpiecznie usunąć, żeby uprościć bazę kodu. - 84analyze-dead-code
Znajduje w repozytorium nieużywane eksporty, nieosiągalne moduły i martwe pliki, a następnie usuwa je z kodu.