/godmode:fault-diagnosisfrom GodMode
Guides systematic fault diagnosis through reproduce, isolate, root cause, and fix phases. Use before any fix when tests fail, builds break, bugs are reported, or integrations stop working.
Ships in GodMode. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
A fix that is not aimed at the root cause is a guess, and guesses pile up: each one adds a change, hides a symptom and makes the next failure harder to read. Diagnosis runs in four phases (reproduce, isolate, find the root cause, fix with a regression test) and each phase leaves evidence behind. No fix until you can say what is broken, where, and why.
NO FIX WITHOUT A REPRODUCED FAILURE AND A ROOT CAUSE YOU CAN STATE
No exceptions. No workarounds. No shortcuts.
Required:
Skip:
git log and git diff since the last known-good state, dependency and lockfile changes, configuration, environment, data. If a known-good commit exists, git bisect run <reproduction command> finds the first bad commit mechanically.Evidence: the reproduction steps and the failing output.
Evidence: the component, the line or the commit where good data turns bad.
godmode:grounding) or ask the user, rather than pretending.Evidence: the hypothesis, the prediction and the observation that confirmed it.
godmode:test-first).godmode:completion-gate.Count your fix attempts for this issue. After two failed fixes, the next attempt must come from a new pass through phases 1 to 3, not from a variation of the last fix. After three, stop and invoke godmode:error-recovery: repeated failures that each reveal a new problem somewhere else usually mean the design is wrong, not the last line you edited. Discuss the design with the user before a fourth attempt.
Sometimes the cause really is outside the code: a provider outage, a clock skew, an external rate limit, a race in a dependency you cannot change. You may conclude this only after phases 1 to 3, with evidence. Then:
Most "it must be the environment" conclusions are unfinished investigations. Treat the conclusion as a hypothesis like any other and test it.
From your own thoughts:
From the user:
godmode:error-recovery.Any of these: stop and go back to phase 1.
| Rationalisation | Truth |
|---|---|
| "The bug is simple; the process is overkill." | Simple bugs have root causes too, and for them the phases take minutes. |
| "This is urgent; no time for diagnosis." | Guess-and-check under pressure is the slowest way to fix anything. |
| "I can see the problem; let me fix it." | You can see a symptom. The root cause is what explains all the symptoms. |
| "Several changes at once will save time." | When it works you will not know which change did it, and when it fails you will not know which one broke it. |
| "I will add the test once the fix works." | A fix without a failing test first has no proof it fixes this bug. |
| "The reference is long; I will adapt the pattern from memory." | Half-read patterns are a reliable source of new bugs. Read it all. |
| "One more attempt." (after two failures) | Two failures are a signal. Go back to phase 1, or after three, to error recovery. |
| "It must be a caching or environment issue." | Maybe. Prove it with a clean run before you build on it. |
Never:
Always:
godmode:test-first: the failing regression test in phase 4.godmode:error-recovery: takes over after three failed fixes or when diagnosis stops converging.godmode:completion-gate: evidence that the fix holds before you say it is fixed.godmode:grounding: current documentation, changelogs and issue trackers when a library or platform behaves unexpectedly.godmode:performance-tuning: when the fault is slowness rather than wrong output.godmode:environment-awareness: shell, path, line-ending and platform differences that cause "works on my machine".godmode:knowledge-capture: once the fix is verified, records a non-obvious root cause with its symptom signature, what did not work and why the fix works, so the next session does not rediscover it.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub noobygains/godmode --plugin godmode33 skills in this plugin
/agent-briefingUse when writing a prompt for a subagent or teammate, deciding how much context another agent needs, writing or reading a handoff report between agents, or sending a message to another agent mid-task./codebase-conventionsUse when about to add or change code in an existing codebase: a new file, module, route, component, service, test, migration, error path or dependency, especially in a project the agent did not write or has not yet surveyed in this session./code-reviewUse when a task, feature or bug fix is implemented and before it is committed, merged or handed back to the user, and when the user asks for a review of a change, a branch or a pull request.Other plugins' skills for the same job