Przejdź do treści
Biblioteka skilli
Programowanie · Analiza

debugging

/debugging

Prowadzi ustrukturyzowany protokół debugowania błędu, padającego testu, regresji lub nieoczekiwanego zachowania, gdy kod nie robi tego, co powinien.

Repozytorium
claude-setup ↗
Licencja
MIT
Ostatnia zmiana repozytorium
29.05.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
1
Skrypty
0
Komentarze HTML
1
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 29.05.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co sprawdzić przed instalacją
  • SKILL.md zawiera komentarze HTML (1). Nie widać ich w podglądzie Markdown, a model je czyta.

Co robi i kiedy

Prowadzi ustrukturyzowany protokół debugowania błędu, padającego testu, regresji lub nieoczekiwanego zachowania, gdy kod nie robi tego, co powinien.

Wyzwalacze z opisu

brokennot workingbugerrorit worked beforestill brokenwhy is this failingtrace
Oryginalny opis (EN)

Structured debugging protocol. Use when investigating a bug, failing test, regression, unexpected behavior, or any scenario where code is not doing what it should. Trigger phrases include "broken", "not working", "bug", "error", "it worked before", "still broken", "why is this failing", "trace", or "/trace".

Jak działa

  1. 4-Step Framework: Reproduce → Isolate → Fix → Validate
  2. Validate Before Fixing
  3. Anti-Loop Protocol
  4. Regression Shortcut
Sekcje z nagłówków SKILL.md, w oryginale · 28 linii, 380 słów
Podgląd SKILL.md
---
name: debugging
description: Structured debugging protocol. Use when investigating a bug, failing test, regression, unexpected behavior, or any scenario where code is not doing what it should. Trigger phrases include "broken", "not working", "bug", "error", "it worked before", "still broken", "why is this failing", "trace", or "/trace".
---
<!-- Last updated: 2026-04-08T00:00+11:00 -->

# Debugging & Investigation

## 4-Step Framework: Reproduce → Isolate → Fix → Validate
- **Never skip to Fix.** Most wrong fixes come from jumping straight to code changes.
- **Reproduce:** Run the faulty scenario. Note the exact error and conditions.
- **Isolate:** Narrow down the failing component. 80% of bugs live in recently modified code — start there. **Compare against working code.** Find similar functionality that works and diff against the broken code.
- **Validate:** Run the full test suite. Confirm the error is gone AND no regressions introduced.

## Validate Before Fixing
- **Confirm root cause before proposing code changes.** One hypothesis at a time — test the most likely first.
- **Explain root cause in writing** (file path, line number, actual vs expected behavior) before proposing code changes.
- **Test means run code, not reason in your head.** Execute a command, write a failing test, or check real output.
- **Read the user's evidence first.** Study screenshots/errors before forming hypotheses. The answer is usually visible.
- **Add `console.error` to trace actual behavior** when reasoning about what code "should" do isn't working. Reading code is not observing behavior.
- **Red flag phrases.** Catch yourself saying "This should work", "Let me just try...", or "Quick fix for now" — stop and re-evaluate. You're guessing.

## Anti-Loop Protocol
- **Each attempt MUST use a different diagnosis.** If attempt 1 failed, don't vary the fix — vary the diagnosis. Two attempts targeting the same component with the same assumption count as one diagnosis, even if the code changes differ.
- **After 2 failed fix attempts, STOP.** State what you tried, what each ruled out, and ask the user for context. If the user says "still broken" twice, you've failed twice.
- **Clear polluted context.** After hitting the limit, recommend `/clear` — failed attempts in context actively degrade subsequent reasoning.
- **Watch for oscillation.** Fixing A breaks B and vice versa = contradictory constraints. Stop and surface the conflict.
- **Revert as escape hatch.** When debugging spirals, revert to last known good commit rather than stacking fixes on failed attempts.

## Regression Shortcut
- **"It worked before" → `git bisect` first.** Don't read code to find regressions — bisect to the breaking commit, then read that diff.

Wersje

RepozytoriumWynikLicencja
Ta strona · stuartshields/claude-setup90MIT
sentimony/skills100MIT
sentimony/skills100MIT
wrongstack/wrongstack100MIT
dxos/dxos100Apache-2.0
iliaal/ai-skills100MIT
t8jwscc7qy-sketch/foma-skills100Apache-2.0
arxdsilva/ai-loops100MIT
zts212653/clowder-ai100MIT

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

  • 86debug
    Ustala przyczynę błędu, regresji lub nieoczekiwanego działania, analizując ślad stosu i odtwarzając problem.
  • 100systematic-debugging
    Wymaga badania przyczyny przed poprawką błędu, awarii, nieudanego testu lub regresji, bez zajmowania się nowymi funkcjami.
  • 100systematic-debugging
    Pilnuje, by poprawka nie wyprzedzała zrozumienia błędu, nieudanego testu ani nieoczekiwanego zachowania.
  • 100debug
    Prowadzi krok po kroku przez diagnozę błędu, nieprzechodzącego testu lub zachowania niezgodnego z oczekiwaniami, także gdy nikt nie użył słowa debugowanie.
  • 100systematic-debugging
    Wymusza najpierw zrozumienie przyczyny błędu, nieudanego testu lub nieoczekiwanego zachowania.
  • 100systematic-debugging
    Ustala przyczynę błędu, nieudanego testu lub nieoczekiwanego zachowania przed każdą poprawką.

Uwagi i zgłoszenia

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