Zum Inhalt springen
Skillpedia
Allgemeines Programmieren70k · #3144

fix-root-cause

Was er macht

Dieser Skill lenkt die Fehlersuche auf die echte Ursache eines Problems und nicht auf die Stelle, an der es zuerst sichtbar wird. Er ist für Entwickler gedacht, die Korrekturen wollen, die dauerhaft halten.

Wann du ihn nutzt

  • ✓Wenn ein Fehler nach einem schnellen Patch an anderer Stelle immer wieder auftaucht.
  • ✓Wenn jemand eine Schutzprüfung, einen Wiederholungsversuch oder eine Umgehung ergänzen will, um einen Fehler zu verbergen.
  • ✓Wenn ein Problem nur nach einem Neustart auftritt und die Ursache unklar ist.

Link zum Skill

https://github.com/remotion-dev/remotion/blob/main/.agents/skills/fix-root-cause/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/remotion-dev/remotion/blob/main/.agents/skills/fix-root-cause/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

“Jedes Mal, wenn wir die App neu starten, erscheint ein anderer Fehler. Kannst du die echte Ursache finden, statt jedes Symptom zu flicken?”

5 neue Skills pro Woche. 1 Minute Lesezeit.

So funktioniert es

Der Agent reproduziert das Problem und fragt bei jedem Schritt nach dem Warum, bis er die erste falsche Entscheidung findet. Dann behebt er diese Ursache und prüft, ob dasselbe Muster an anderen Stellen vorkommt.

Technischer Inhalt (originale SKILL.md)

Originaltext des Autors, auf Englisch, direkt von GitHub.

Fix Root Causes

When debugging, fix the fault, not the place where it surfaced. The symptom is where a wrong state became visible. The root cause is the first place the system did something it should not do, or failed to handle a state it should handle.

Why: A symptom fix hides the evidence and leaves the fault free to surface somewhere else. Each one makes the system harder to reason about, because the code now carries a workaround for a bug that nobody named.

Pattern:

  • Reproduce first.
  • Ask "why" at each step until the answer is a wrong decision in the code, not a consequence of an earlier one.
  • When stuck, instrument. Read the actual error and the actual state. Do not guess.
  • Ask whether the state that triggered the symptom is legitimate. If the system may be in that state, the code that broke on it is the root cause, and handling the state there is the fix. If the state should never exist, a check where it broke hides the bug. Find what produced the state. Guards, retries, swallowed errors, clamped values, and discarded state are the usual ways to hide a bug.
  • When something fails only after a restart, suspect persisted state first: config files, caches, lock files, serialized state.
  • Check for the pattern, not just the instance. Find every place with the same fault and fix them all.
  • If a workaround needs a paragraph-long comment to justify it, the code is wrong. Fix the code, not the comment.
  • If the deciding fact took a deep dig to find, propose the cheap, always-on signal that would have shown it at first look.
Häufige Fragen

Was ist der Unterschied zwischen Symptom und Ursache?

Das Symptom ist die Stelle, an der ein falscher Zustand sichtbar wird. Die Ursache ist die erste Stelle, an der der Code etwas tat, das er nicht hätte tun sollen.

Wann ist eine Schutzprüfung eine echte Lösung?

Der Skill sagt, eine Schutzprüfung ist nur dann eine Lösung, wenn der Zustand, den sie abfängt, legitim ist. Sollte der Zustand gar nicht entstehen dürfen, verdeckt die Prüfung den Fehler.

Was ist, wenn das Problem nur nach einem Neustart auftritt?

Der Skill sagt, zuerst gespeicherte Zustände zu verdächtigen, etwa Konfigurationsdateien, Caches, Sperrdateien und serialisierte Daten.

Details

Originalbeschreibung des Autors

Apply when debugging. Trace each symptom back to the first place the system went wrong and fix it there. A guard is a fix only when the state it handles is legitimate.

repo: remotion-dev/remotion

Beliebtheit

GitHub-Sterne
70k
Platz im Ranking
#3144
Lizenz
—
Aktualisiert
2.11.2026

Ist dieser Skill nützlich?

0

Anmelden um abzustimmen.

Kommentare

  • …

Weitere Skills aus diesem Repository

Ähnliche Skills