Zum Inhalt springen
Skillpedia
Allgemeines Programmieren11k · #11644

debug

Was er macht

Dieser Skill führt Schritt für Schritt durch die Untersuchung eines Software-Fehlers. Er ist für Entwickler und Support-Mitarbeitende gedacht, die auf einen Fehler oder ein Verhalten stoßen, das nicht ihren Erwartungen entspricht.

Wann du ihn nutzt

  • ✓Wenn du eine Fehlermeldung oder einen Stack-Trace hast und die Ursache nicht kennst.
  • ✓Wenn etwas in der Testumgebung funktioniert, aber in der Produktion fehlschlägt.
  • ✓Wenn etwas direkt nach einem Deployment kaputtgegangen ist und du den Grund finden musst.

Link zum Skill

https://github.com/TencentCloud/Octop/blob/main/src/octop/infra/agents/experts/library/engineering/skills/debug/SKILL.md

Kopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.

So nutzt du ihn

Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.

Fertige Nachricht zum Einfügen

Nutze diesen Skill, um mir zu helfen: https://github.com/TencentCloud/Octop/blob/main/src/octop/infra/agents/experts/library/engineering/skills/debug/SKILL.md Lies die SKILL.md unter diesem Link und folge ihren Anweisungen für meine Aufgabe.
Soll deine KI Skills wie diesen selbst finden?Installiere den kostenlosen Skillpedia-MCP: eine Zeile, und sie durchsucht vor jeder Aufgabe 15.000+ Skills.In 1 Minute installieren →

Beispielanfrage an deine KI

“Unsere App funktioniert in der Testumgebung, stürzt aber in der Produktion mit dieser Fehlermeldung ab. Hilf mir, die Ursache zu finden.”

5 neue Skills pro Woche. 1 Minute Lesezeit.

So funktioniert es

Der Agent klärt, was passieren sollte und was tatsächlich passiert, grenzt die Komponente oder den Codepfad ein und stellt Hypothesen auf, die er prüft. Er verfolgt die Ursache und schlägt dann eine Korrektur vor.

Technischer Inhalt (originale SKILL.md)

Originaltext des Autors, auf Englisch, direkt von GitHub.

/debug

If you see unfamiliar placeholders or need to check which tools are connected, see CONNECTORS.md.

Run a structured debugging session to find and fix issues systematically.

Usage

/debug $ARGUMENTS

How It Works

┌─────────────────────────────────────────────────────────────────┐
│                       DEBUG                                        │
├─────────────────────────────────────────────────────────────────┤
│  Step 1: REPRODUCE                                                │
│  ✓ Understand the expected vs. actual behavior                   │
│  ✓ Identify exact reproduction steps                             │
│  ✓ Determine scope (when did it start? who is affected?)        │
│                                                                    │
│  Step 2: ISOLATE                                                   │
│  ✓ Narrow down the component, service, or code path             │
│  ✓ Check recent changes (deploys, config changes, dependencies) │
│  ✓ Review logs and error messages                                │
│                                                                    │
│  Step 3: DIAGNOSE                                                  │
│  ✓ Form hypotheses and test them                                 │
│  ✓ Trace the code path                                           │
│  ✓ Identify root cause (not just symptoms)                      │
│                                                                    │
│  Step 4: FIX                                                       │
│  ✓ Propose a fix with explanation                                │
│  ✓ Consider side effects and edge cases                          │
│  ✓ Suggest tests to prevent regression                           │
└─────────────────────────────────────────────────────────────────┘

What I Need From You

Tell me about the problem. Any of these help:

  • Error message or stack trace
  • Steps to reproduce
  • What changed recently
  • Logs or screenshots
  • Expected vs. actual behavior

Output

## Debug Report: [Issue Summary]

### Reproduction
- **Expected**: [What should happen]
- **Actual**: [What happens instead]
- **Steps**: [How to reproduce]

### Root Cause
[Explanation of why the bug occurs]

### Fix
[Code changes or configuration fixes needed]

### Prevention
- [Test to add]
- [Guard to put in place]

If Connectors Available

If ~~monitoring is connected:

  • Pull logs, error rates, and metrics around the time of the issue
  • Show recent deploys and config changes that may correlate

If ~~source control is connected:

  • Identify recent commits and PRs that touched affected code paths
  • Check if the issue correlates with a specific change

If ~~project tracker is connected:

  • Search for related bug reports or known issues
  • Create a ticket for the fix once identified

Tips

  1. Share error messages exactly — Don't paraphrase. The exact text matters.
  2. Mention what changed — Recent deploys, dependency updates, and config changes are top suspects.
  3. Include context — "This works in staging but not prod" or "Only affects large payloads" narrows things fast.
Häufige Fragen

Was prüft der Agent zuerst?

Er stellt das Problem nach und prüft aktuelle Änderungen wie Deployments, Konfigurationsänderungen und Abhängigkeits-Updates.

Schaut er nur in den Code?

Nein. Er sieht sich auch Logs und Fehlermeldungen an, um das Problem einzugrenzen.

Hört er auf, sobald die Ursache gefunden ist?

Nein. Der Skill deckt neben der Diagnose auch die Korrektur ab.

Details

Originalbeschreibung des Autors

Structured debugging session — reproduce, isolate, diagnose, and fix. Trigger with an error message or stack trace, "this works in staging but not prod", "something broke after the deploy", or when behavior diverges from expected and the cause isn't obvious.

repo: TencentCloud/Octop

Beliebtheit

GitHub-Sterne
11k
Platz im Ranking
#11644
Lizenz
MIT
Aktualisiert
2.11.2026

Ist dieser Skill nützlich?

0

Anmelden um abzustimmen.

Kommentare

  • …

Weitere Skills aus diesem Repository

Ähnliche Skills