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

bug-fix

/bug-fix

Naprawia błędy zgłoszone w projekcie Device: odtwarza je, pisze mały test, znajduje przyczynę i potwierdza poprawkę.

Repozytorium
device ↗
Licencja
AGPL-3.0
Ostatnia zmiana repozytorium
13.11.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 13.11.2026, bez odwołań do wycofanych modeli i API.

Licencja

AGPL-3.0, copyleft: przeróbki udostępniane innym muszą mieć tę samą licencję.

Co robi i kiedy

Naprawia błędy zgłoszone w projekcie Device: odtwarza je, pisze mały test, znajduje przyczynę i potwierdza poprawkę.

Oryginalny opis (EN)

Fix a Device bug the project's way - reproduce it, write a small failing test, find the root cause, fix it, prove the test now passes. Use for any bug report or broken feature; escalates to a spec when the cause or fix is not obvious.

Jak działa

  1. 1. Reproduce
  2. 2. Pin it with a failing test
  3. 3. Find the cause
  4. 4. Fix and prove
  5. 5. Pull request
Sekcje z nagłówków SKILL.md, w oryginale · 39 linii, 295 słów
Podgląd SKILL.md
---
name: bug-fix
description: Fix a Device bug the project's way - reproduce it, write a small failing test, find the root cause, fix it, prove the test now passes. Use for any bug report or broken feature; escalates to a spec when the cause or fix is not obvious.
---

# Fix a bug

## 1. Reproduce

Turn the report into exact steps, on `origin/main`. Use the cheapest path that shows it: a core
test, an engine test, the app with `--demo` or a `--state` review state, or the self-test. Note the
platform; Linux GCC and Windows MSVC catch mistakes macOS clang lets through. If you can't
reproduce it, say so with what you tried, rather than guessing a fix.

## 2. Pin it with a failing test

Write the smallest test that fails because of the bug, at the lowest layer that shows it:

- model, command or persistence logic: `crates/dstudio-core/tests/`
- engine behaviour or DSP: `engine/tests/` (devices: `engine/tests/devices/`, with `DeviceRig`)
- Rust and engine together: `crates/dstudio-engine/tests/`
- a UI flow: a step in the app self-test (`crates/dstudio-app/src/selftest.rs`)

Run it and watch it fail for the right reason. A few sharp tests beat many shallow ones; add the
neighbouring cases the same root cause could break, and stop there.

## 3. Find the cause

Fix the cause, not the symptom. If the cause turns out to be a design problem, or the fix crosses
layers or changes behaviour users rely on, stop and write a spec (`spec-write`) instead; put what
you learned in its Problem section.

## 4. Fix and prove

Make the fix, run the new test (it passes), then the fast checks for the touched area and the full
gate from `spec-verify` § 3 before the pull request. If the bug was a performance regression, show
the benchmark before and after (`dstudio-bench`), and add a benchmark row if none caught it.

## 5. Pull request

Follow `dstudio-pr`. The description says how to reproduce the bug, what the cause was, and which
test now guards it. Visible bugs get before and after screenshots.

Wersje

RepozytoriumWynikLicencja
Ta strona · devicedaw/device100AGPL-3.0
nexus-substrate/nexus-agents100MIT
ramboz/jig100MIT
ramboz/jig100MIT
ramboz/jig100MIT
sd0xdev/sd0x-harness100MIT
mtvrkan/senior-dev-kit100MIT
pronskiy/php-src-developer100MIT
chrisallenlane/claude-swe-workflows100MIT

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

  • 96fix-bug
    Naprawia usterkę: odtwarza ją, pisze nieprzechodzący test, znajduje przyczynę, poprawia kod i zapisuje wniosek.
  • 100fix
    Naprawia błąd metodą test-first: pisze padający test odtwarzający błąd, znajduje przyczynę źródłową, poprawia i dodaje test regresji.
  • 100fix-bug
    Odtwarza błąd, znajduje przyczynę, naprawia ją w miejscu i sprawdza poprawkę na tym samym odtworzeniu.
  • 95pstack-bug-fix
    Prowadzi naprawę błędu według metody pstack: odtwarza usterkę, znajduje przyczynę, dodaje nieprzechodzący test i weryfikuje poprawkę.
  • 96fix
    Naprawia błąd metodą Concordia: najpierw odtwarza go w nieprzechodzącym teście, szuka przyczyny, stosuje najmniejszą poprawkę i ją dowodzi.
  • 100debug
    Odtwarza błąd, test, build lub crash, znajduje przyczynę źródłową przed propozycją poprawki, potwierdza ją najmniejszym możliwym sprawdzeniem i dodaje test regresyjny.

Uwagi i zgłoszenia

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