Skip to main content

investigate

investigate

Catalogue généré le 2026-05-11

En une phrase

SystematicUne debuggingméthode withrigoureuse rootpour débugger en quatre phases : Claude refuse de réparer un bug sans avoir d'abord trouvé sa cause investigation.profonde.

Quand l'utiliser

  • UseQuand whenun askedtruc to« "debugmarchait this",hier "fixet thisne bug",marche "whyplus is» thiset broken",que "investigatetu thisne error",comprends orpas "rootpourquoi
Quand tu vois une erreur 500, un message d'erreur ou un comportement inattendu Quand tu as déjà essayé deux ou trois réparations rapides et que ça ne tient pas Quand le bug semble revenir à chaque fois, comme un jeu de taupes Avant de fermer un ticket de bug, pour t'assurer que la vraie cause analysis".a Proactivelyété invoke this skill (do NOT debug directly) when the user reports errors, 500 errors, stack traces, unexpected behavior, "it was working yesterday", or is troubleshooting why something stopped working. (gstack)traitée

Comment l'invoquer

  • Slash command : /investigate (sià exposétaper dans tonClaude CLI)Code)
  • Phrases déclencheurs (texte) : voir"debug lathis" description/ complète"fix ci-dessousthis bug" / "why is this broken" / "investigate this error" / "root cause analysis"
  • Auto-invocation : ✅ ProactivelyOui invoke thisClaude invoque ce skill (doautomatiquement NOTquand debugtu directly)signales whenune theerreur, user reports errors, 500 errors,une stack traces,trace, unexpectedun behavior,comportement "itbizarre, wasou workingun yesterday", or is troubleshooting why something stopped working. (gstack)dysfonctionnement.

Description complètedétaillée

Systematic/investigate debuggingapplique withune rootrègle stricte appelée « Iron Law » : pas de correctif sans cause investigation.profonde Fouridentifiée. phases:C'est investigate,la analyze,différence hypothesize,entre implement.éteindre Ironla Law:flamme noet fixestrouver withoutla rootfuite cause.de Usegaz. whenClaude askedsuit toquatre "debugphases this": enquête (lire les symptômes, les logs, les changements récents), "fixanalyse this(matcher bug"avec des patterns connus comme race condition, cache obsolète, null propagé), "whyhypothèse is(vérifier thisl'idée broken"avant d'écrire du code), "investigateimplémentation this(le error",correctif orminimal "root+ causeun analysis"test de régression).

Proactively invoke this

Le skill (doverrouille NOTaussi debugautomatiquement directly)le whenpérimètre thede usermodification reportsau errors,dossier 500concerné errors,par stackle traces,bug, unexpectedpour behavior,t'éviter "itde waschanger workingdu yesterday",code ornon islié. troubleshootingIl whyvérifie somethingles stopped working.enseignements (gstack)« learnings ») accumulés par Claude sur tes projets précédents — si tu as déjà rencontré un bug similaire, il s'en sert.

Pour

Règle allerdes trois échecs : si trois hypothèses successives sont fausses, Claude s'arrête et te demande s'il faut continuer, escalader, ou ajouter du logging et observer. À la fin tu obtiens un rapport structuré (symptôme, cause, correctif, preuve que ça marche, test de non-régression). C'est plus loinlent

Preambleque (run« first)

répare-moi

Plança Modevite Safe» Operations

mais

Inça planévite mode,les allowedbugs becausequi they inform the plan: $B, $D, codex exec/codex review, writes to ~/.gstack/, writes to the plan file, and open for generated artifacts.

Skill Invocation During Plan Mode

If the user invokes a skill in plan mode, the skill takes precedence over generic plan mode behavior. Treat the skill file as executable instructions, not reference. Follow it step by step starting from Step 0; the first AskUserQuestion is the workflow entering plan mode, not a violation of it. AskUserQuestion (any variant — mcp__*__AskUserQuestion or native; see "AskUserQuestion Format → Tool resolution") satisfies plan mode's end-of-turn requirement. If no variant is callable, the skill is BLOCKED — stop and report BLOCKED — AskUserQuestion unavailable per the AskUserQuestion Format rule. At a STOP point, stop immediately. Do not continue the workflow or call ExitPlanMode there. Commands marked "PLAN MODE EXCEPTION — ALWAYS RUN" execute. Call ExitPlanMode only after the skill workflow completes, or if the user tells you to cancel the skill or leave plan mode.

(extrait — voir le SKILL.md complet pour la suite)reviennent.

Source

  • Plugin : gstack
  • Nom interne : investigate
  • Fichier : /home/thymon/.claude/skills/gstack/investigate/SKILL.md