opencode-config/.opencode/skills/bug-discovery/SKILL.md
Sergey 8b05fa74f7
fix(skills): sync SDD headings to 8 in issue and bug-discovery (#260)
* fix(skills): add 8th SDD heading to issue and bug-discovery

* fix(skills): sync spec and audit SDD headings to 8

---------

Co-authored-by: opencode-agent <agent@opencode.local>
2026-08-04 13:43:32 +03:00

15 lines
No EOL
1.1 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
name: bug-discovery
description: Use when a bug is found outside the current task scope — MANDATORY for ALL subagents. Covers duplicate check, issue creation via create-issue tool, and continuation protocol. Also when user says "нашёл баг", "bug found", "создай issue для бага", "bug outside scope", "заметил проблему", "code smell", "unexpected behavior not related to current task".
---
# Bug Discovery Protocol
If a bug is found during work that is outside the scope of the current task:
1. Check `gh issue list` for duplicates.
2. Create a GitHub issue via `create-issue` tool (NOT raw `gh issue create`).
3. Title: `fix(scope): short description` in English.
4. Body: `## Контекст` / `## Задача` / `## Контракты` / `## Инварианты` / `## Граничные случаи` / `## Влияние на связанные компоненты` / `## Вне scope` / `## Критерии приемки` (in Russian).
5. Continue the current task. Do NOT fix the bug yourself.
6. Report to orchestrator: "Created issue #N: ...".