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

debug-cleanup

/debug-cleanup

Usuwa tymczasowe logi, sondy i nieudane obejścia po zakończeniu debugowania, zachowując trwałe poprawki.

Repozytorium
skills ↗
Licencja
MIT
Ostatnia zmiana repozytorium
03.11.2026

Ocena i bezpieczeństwo

90/ 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ść25 / 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 03.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

Usuwa tymczasowe logi, sondy i nieudane obejścia po zakończeniu debugowania, zachowując trwałe poprawki.

Oryginalny opis (EN)

Use when debugging is done and temporary logging, probes, or failed workarounds need removing without losing durable fixes.

Jak działa

  1. Objective
  2. Workflow
  3. Decision Rules
  4. Scope
  5. Final Response
Sekcje z nagłówków SKILL.md, w oryginale · 53 linii, 470 słów
Podgląd SKILL.md
---
name: debug-cleanup
description: Use when debugging is done and temporary logging, probes, or failed workarounds need removing without losing durable fixes.
---

# Debug Cleanup

## Objective

Clean up temporary investigation artifacts without erasing useful work. Remove debug logging and obvious failed attempts that were added during the current debugging effort, but keep real improvements and leave unrelated changes alone.

This skill is especially for the end of a debugging session where temporary logs, markers, experiments, or workaround logic may still be in the worktree.

## Workflow

1. Check `git status --short` to understand the pending worktree.
2. Inspect relevant diffs before editing. Identify which changes were part of the recent debugging/investigation and which are unrelated.
3. Search for temporary debug logging and markers added during the investigation, such as `DEBUG_`, `INVESTIGATE`, `TRACE`, `dbg!`, `println!`, `console.log`, `eprintln!`, temporary log file paths, and marker strings mentioned in the conversation.
4. Remove temporary debug logs, debug-only file writes, scratch log files, grep markers, and instrumentation scaffolding that is no longer needed.
5. Review attempted fixes or workaround logic added during the investigation, and classify each as Keep (independently correct or useful, such as the final root-cause fix, regression tests, or standalone improvements), Remove (only served a disproven or superseded hypothesis), Revise (useful intent that needs reshaping around the real root cause), or Ask (unclear whether the user wants it).
6. Keep the changes rated Keep.
7. Remove or revise the ones rated Remove or Revise, and raise the Ask cases with the user.
8. Leave unrelated changes alone. If a file contains unrelated user work, edit only the cleanup-relevant lines and do not revert the file wholesale.
9. Run focused checks when code changed, especially tests that covered the final fix or affected behavior.
10. Report what was removed, what was intentionally kept, what was left untouched as unrelated, and which checks ran.

## Decision Rules

Remove:

- Temporary debug statements and log markers.
- Temporary log files, scratch files, or generated investigation output.
- Instrumentation helpers or config added only to produce debug evidence.

Attempted fixes and workarounds: classify and act on them as in steps 5–7.

Leave untouched:

- Changes unrelated to the recent debugging effort.
- User work in dirty files that you did not make.
- Other feature work, formatting, config edits, or generated changes unless they are clearly part of the temporary investigation artifacts.

## Scope

The attempted-fix cleanup rules apply only when the recent work involved debugging or trying multiple approaches. If the only temporary work was debug logging, just remove the debug logging and related files.

Do not run broad destructive commands or reset files. Prefer surgical edits based on the diff and conversation context.

## Final Response

Summarize:

- Removed: temporary logs, markers, files, or failed attempts.
- Kept: improvements or final fixes and why they are worth keeping.
- Untouched: unrelated changes deliberately left alone.
- Verification: checks run, or why checks were not run.
Pliki w paczce (2)
  • SKILL.md 3 KB
  • agents/openai.yaml 1 KB

Wersje

W bazie nie ma innych skilli o nazwie debug-cleanup.

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

  • 100whip-debug
    Prowadzi pętlę debugowania: odtworzenie błędu, analiza przyczyny, poprawka i ponowna weryfikacja, która oddziela rozwiązanie przyczyny od obejścia.
  • 100whip-debug
    Prowadzi pętlę debugowania: odtworzenie błędu, analiza przyczyny, poprawka i ponowna weryfikacja, która oddziela rozwiązanie przyczyny od obejścia.
  • 100linear-debug-bundle
    Dostarcza zestaw narzędzi do debugowania integracji z Linear: logowanie, śledzenie wywołań API i własne narzędzia diagnostyczne.
  • 100diagnose
    Diagnozuje nieudane buildy jednostek: iteracyjnie analizuje logi, ustala przyczyny źródłowe, stosuje poprawki i buduje ponownie, aż jednostka się zbuduje.
  • 100python-packaging-bug-finder
    Wyszukuje w zgłoszeniach GitHub znane błędy pakowania projektów Python, ich poprawki i obejścia oraz sprawdza status rozwiązania.
  • 90web-debug
    Odtwarza błędy frontendu i sprawdza poprawki w działającej przeglądarce: formularze, sesje, puste strony i nieudane żądania.

Uwagi i zgłoszenia

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