bug-fix
/bug-fix
Naprawia błędy zgłoszone w projekcie Device: odtwarza je, pisze mały test, znajduje przyczynę i potwierdza poprawkę.
- Autor
- devicedaw ↗
- Repozytorium
- device ↗
- Licencja
- AGPL-3.0
- Ostatnia zmiana repozytorium
- 13.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 13.11.2026, bez odwołań do wycofanych modeli i API.
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. Reproduce
- 2. Pin it with a failing test
- 3. Find the cause
- 4. Fix and prove
- 5. Pull request
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
| Repozytorium | Wynik | Licencja |
|---|---|---|
| Ta strona · devicedaw/device | 100 | AGPL-3.0 |
| nexus-substrate/nexus-agents | 100 | MIT |
| ramboz/jig | 100 | MIT |
| ramboz/jig | 100 | MIT |
| ramboz/jig | 100 | MIT |
| sd0xdev/sd0x-harness | 100 | MIT |
| mtvrkan/senior-dev-kit | 100 | MIT |
| pronskiy/php-src-developer | 100 | MIT |
| chrisallenlane/claude-swe-workflows | 100 | MIT |
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.