report-bug
/report-bug
Dowodzi błędu w kodzie napisanym przez Claude za pomocą testu, który nie przechodzi, i zapisuje potwierdzony raport w DiffDojo.
- Autor
- Ninjacornix ↗
- Repozytorium
- Diffdojo ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 11.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 11.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
Dowodzi błędu w kodzie napisanym przez Claude za pomocą testu, który nie przechodzi, i zapisuje potwierdzony raport w DiffDojo.
Argumenty
/report-bug <file[:lines]> <what is wrong>
Oryginalny opis (EN)
Help the user prove a real bug in code Claude wrote with a failing test, and save a confirmed local bug report in DiffDojo. Use when the user runs /diffdojo:report-bug or says they found a bug in Claude's change and want to record it.
Jak działa
SKILL.md bez nagłówków drugiego poziomu · 24 linii, 241 słów
Podgląd SKILL.md
---
name: report-bug
description: Help the user prove a real bug in code Claude wrote with a failing test, and save a confirmed local bug report in DiffDojo. Use when the user runs /diffdojo:report-bug or says they found a bug in Claude's change and want to record it.
argument-hint: "<file[:lines]> <what is wrong>"
allowed-tools: Bash(node:*), Read, Glob, Grep, Write, Edit
---
The user believes code you (Claude) wrote has a real defect. Your job is to help them **prove it with a failing test**, not to fix it.
DiffDojo CLI: `node "${CLAUDE_PLUGIN_ROOT}/bin/diffdojo"` (if `${CLAUDE_PLUGIN_ROOT}` was not substituted, use the path in `~/.diffdojo/plugin-root.txt`).
Steps:
1. From `$ARGUMENTS` and the conversation, identify the file, line range and the claimed misbehaviour. Ask if anything is unclear.
2. Get a test skeleton in the project's framework:
```
node "${CLAUDE_PLUGIN_ROOT}/bin/diffdojo" report-bug --scaffold --file <file> --function <name> --title "<short title>"
```
3. Write the test with the user: it must exercise the claimed bug and assert the **correct** behaviour, so it fails on the current code. Do not change the code under test. Put the test where the project keeps tests.
4. Make sure a test command is configured (`... config get testCommand`); if not, suggest one and pass it with `--cmd`.
5. Run:
```
node "${CLAUDE_PLUGIN_ROOT}/bin/diffdojo" report-bug --title "<short title>" --file <file> --lines <a-b> --test <test file>
```
Add `--critique <question id>` if the bug came from a DiffDojo critique answer.
6. Report the result plainly:
- **Confirmed** (test fails on the current code): give the report path. Next steps are the user's choice: fix it, ask you to fix it, or open an issue.
- **Not confirmed** (test passes): say so. Either the test doesn't reach the bug or the code is correct. Don't fudge the test to make it fail.
Never send the report anywhere.
Wersje
| Repozytorium | Wynik | Licencja |
|---|---|---|
| Ta strona · Ninjacornix/Diffdojo | 92 | MIT |
| RediSearch/RediSearch | 100 | AGPL-3.0 |
| nexadevapp/nexa-claude-skills-marketplace | 100 | Apache-2.0 |
| artokun/comfyui-mcp | 85 | MIT |
| brookstalley/prawduct | 84 | MIT |
Migawka bazy z 13.11.2026 · wersja paczki 3fa25b25d197 (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
- 92start
Włącza DiffDojo w bieżącym repozytorium git i opcjonalnie ustawia polecenie testów, cofając wyłączenie. - 100e2e-repro
Zamienia zgłoszenie błędu w jeden test Playwright, który nie przechodzi przed poprawką, a po niej przechodzi. - 100implement
Wprowadza zmianę kodu, o którą prosi zgłoszenie lub raport błędu, i dowodzi jej sprawdzeniami zawartymi w repozytorium. - 81bug-to-test
Zamienia opis błędu w ukierunkowany test regresji i pokazuje, że nie przechodzi z powodu, który zgłoszono. - 90tdd-loop
Prowadzi cykl czerwony, zielony, refaktoryzacja przy dodawaniu zachowania albo naprawie błędu, zaczynając od testu, który nie przechodzi. - 90fix-bug
Naprawia błąd, najpierw odtwarzając go w teście, który nie przechodzi, a potem wprowadza najmniejszą zmianę, która przywraca zaliczenie testu.