Swig Test
swig/swig
Run SWIG test suite for specific languages. An agent skill from swig/swig.
A skill your agent uses when encountering any bug, test failure, or unexpected behavior, before proposing fixes
$ npx skills add NoobyGains/godmode --skill fault-diagnosis -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install NoobyGains/godmode fault-diagnosis --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/NoobyGains/godmode.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/fault-diagnosis .claude/skills/fault-diagnosis && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "fault-diagnosis" agent skill from https://github.com/NoobyGains/godmode/tree/master/skills/fault-diagnosis into .claude/skills/fault-diagnosis/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "fault-diagnosis", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/NoobyGains/godmode/tree/master/skills/fault-diagnosisType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add NoobyGains/godmode --skill fault-diagnosis -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install NoobyGains/godmode fault-diagnosis --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/NoobyGains/godmode.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/fault-diagnosis .agents/skills/fault-diagnosis && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "fault-diagnosis" agent skill from https://github.com/NoobyGains/godmode/tree/master/skills/fault-diagnosis into .agents/skills/fault-diagnosis/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "fault-diagnosis", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add NoobyGains/godmode --skill fault-diagnosis -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install NoobyGains/godmode fault-diagnosis --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/NoobyGains/godmode.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/fault-diagnosis .cursor/skills/fault-diagnosis && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "fault-diagnosis" agent skill from https://github.com/NoobyGains/godmode/tree/master/skills/fault-diagnosis into .cursor/skills/fault-diagnosis/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "fault-diagnosis", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/NoobyGains/godmode.git --path skills/fault-diagnosis--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add NoobyGains/godmode --skill fault-diagnosis -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install NoobyGains/godmode fault-diagnosis --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/NoobyGains/godmode.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/fault-diagnosis .gemini/skills/fault-diagnosis && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "fault-diagnosis" agent skill from https://github.com/NoobyGains/godmode/tree/master/skills/fault-diagnosis into .gemini/skills/fault-diagnosis/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "fault-diagnosis", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install NoobyGains/godmode fault-diagnosisInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add NoobyGains/godmode --skill fault-diagnosis -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/NoobyGains/godmode.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/fault-diagnosis .github/skills/fault-diagnosis && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "fault-diagnosis" agent skill from https://github.com/NoobyGains/godmode/tree/master/skills/fault-diagnosis into .github/skills/fault-diagnosis/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "fault-diagnosis", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add NoobyGains/godmode --skill fault-diagnosis -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install NoobyGains/godmode fault-diagnosis --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/NoobyGains/godmode.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/fault-diagnosis .opencode/skills/fault-diagnosis && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "fault-diagnosis" agent skill from https://github.com/NoobyGains/godmode/tree/master/skills/fault-diagnosis into .opencode/skills/fault-diagnosis/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "fault-diagnosis", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
fault-diagnosisA skill your agent uses when encountering any bug, test failure, or unexpected behavior, before proposing fixes
Fault Diagnosis is an agent skill from NoobyGains/godmode. Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes
Its SKILL.md is about 2.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 5 other files (for example `condition-based-waiting-example.ts`, `condition-based-waiting.md` and `defense-in-depth.md`).
It sits in Testing & QA, covering Failing and flaky tests. The repository describes itself as: The AI development framework that thinks before it builds. 36 composable skills for Claude Code, Cursor, Codex, and OpenCode. The licence is MIT.
4 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 441103a. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Ships script files (TypeScript and Shell), which the agent can run.
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Fault Diagnosis loads about 2.5k tokens when it runs. Until then it costs about 27 tokens; SKILL.md has 1,235 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from NoobyGains/godmode at commit 441103a, republished under its MIT licence (© NoobyGains). 1,235 words, ~2,535 tokens.
.claude/skills/fault-diagnosis/SKILL.md (or your agent's skills folder). This skill also uses 5 other files; get the full folder from GitHub.Guessing at fixes wastes time and introduces new defects. Quick patches mask underlying problems.
Core principle: ALWAYS identify root cause before attempting any fix. Treating symptoms is failure.
No exceptions. No workarounds. No shortcuts.
NO FIXES WITHOUT ROOT CAUSE INVESTIGATION FIRSTIf you have not completed Phase 1, you are not authorized to propose fixes.
Apply to ANY technical issue:
Especially important when:
Do not skip when:
You MUST complete each phase before advancing to the next.
BEFORE attempting ANY fix:
Read Error Messages Thoroughly
Reproduce Reliably
Examine Recent Changes
Gather Evidence in Multi-Component Systems
WHEN the system has multiple components (CI -> build -> signing, API -> service -> database):
BEFORE proposing fixes, add diagnostic instrumentation:
For EACH component boundary:
- Log what data enters the component
- Log what data exits the component
- Verify environment/config propagation
- Check state at each layer
Run once to collect evidence showing WHERE it breaks
THEN analyze evidence to identify the failing component
THEN investigate that specific componentExample (multi-layer system):
# Layer 1: Orchestrator
echo "=== Orchestrator state: ==="
echo "TOKEN: ${TOKEN:+SET}${TOKEN:-UNSET}"
# Layer 2: Build script
echo "=== Build environment: ==="
env | grep TOKEN || echo "TOKEN not in environment"
# Layer 3: Signing module
echo "=== Certificate state: ==="
security list-keychains
security find-identity -v
# Layer 4: Actual operation
codesign --sign "$IDENTITY" --verbose=4 "$ARTIFACT"This reveals: Which layer fails (secrets -> orchestrator OK, orchestrator -> build FAIL)
Trace Data Flow
WHEN the error is deep in the call stack:
See root-cause-tracing.md in this directory for the complete backward tracing method.
Short version:
Find the pattern before fixing:
Locate Working Examples
Compare Against References
Identify Differences
Understand Dependencies
Scientific method:
Form a Single Hypothesis
Test Minimally
Verify Before Continuing
When You Do Not Know
Fix the root cause, not the symptom:
Create a Failing Test Case
godmode:test-first skill for writing proper failing testsImplement a Single Fix
Verify the Fix
If the Fix Does Not Work
If 3+ Fixes Failed: Question Architecture
Pattern indicating an architectural problem:
STOP and question fundamentals:
Discuss with your human partner before attempting more fixes
This is NOT a failed hypothesis -- this is a flawed architecture.
If you catch yourself thinking:
ALL of these mean: STOP. Return to Phase 1.
If 3+ fixes failed: Question the architecture (see Phase 4, step 5)
Watch for these redirections:
When you see these: STOP. Return to Phase 1.
| Rationalization | What Is Actually True |
|---|---|
| "Issue is simple, process not needed" | Simple issues have root causes too. The process is fast for simple bugs. |
| "Emergency, no time for process" | Systematic diagnosis is FASTER than guess-and-check flailing. |
| "Just try this first, then investigate" | The first fix sets the pattern. Do it right from the start. |
| "I'll write the test after confirming the fix works" | Untested fixes do not hold. Test first proves it. |
| "Multiple fixes at once saves time" | Cannot isolate what worked. Creates new bugs. |
| "Reference too long, I'll adapt the pattern" | Partial understanding guarantees bugs. Read it completely. |
| "I see the problem, let me fix it" | Seeing symptoms is not the same as understanding root cause. |
| "One more fix attempt" (after 2+ failures) | 3+ failures = architectural problem. Question the pattern, do not fix again. |
| Phase | Key Activities | Success Criteria |
|---|---|---|
| 1. Root Cause | Read errors, reproduce, check changes, gather evidence | Understand WHAT and WHY |
| 2. Pattern | Find working examples, compare | Identify differences |
| 3. Hypothesis | Form theory, test minimally | Confirmed or new hypothesis |
| 4. Implementation | Create test, fix, verify | Bug resolved, tests pass |
If systematic investigation reveals the issue is truly environmental, timing-dependent, or external:
But: 95% of "no root cause" cases are incomplete investigation.
These methods are part of fault diagnosis and available in this directory:
root-cause-tracing.md - Trace bugs backward through the call stack to find the original triggerdefense-in-depth.md - Add validation at multiple layers after finding root causecondition-based-waiting.md - Replace arbitrary timeouts with condition pollingRelated skills:
From diagnosis sessions:
© NoobyGains, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 5 other files in skills/fault-diagnosis of NoobyGains/godmode.
Open the folder on GitHubat commit 441103a
Fault Diagnosis next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Fault Diagnosis this skillNoobyGains/godmode | 109 | — | ~2.5k | Automated safety check: Pass | MIT | |
| Swig Testswig/swig | 6.3k | — | ~2.3k | Automated safety check: Pass | Custom licence | |
| Triage CI FailureDataDog/datadog-agent | 3.8k | — | ~2.3k | Automated safety check: Pass | Apache-2.0 | |
| Dynamo Jira TicketDynamoDS/Dynamo | 2k | — | ~1.1k | Automated safety check: Pass | Apache-2.0 | |
| Fix Ready PRsfastrepl/anarlog | 9.5k | — | ~1.4k | Automated safety check: Pass | MIT | |
| Trx Analysismicrosoft/vstest | 969 | — | ~1.8k | Automated safety check: Pass | MIT |
swig/swig
Run SWIG test suite for specific languages. An agent skill from swig/swig.
DataDog/datadog-agent
Classify a failed CI as either caused by an active incident, flakiness, or a true code regression.
DynamoDS/Dynamo
Create structured Jira tickets for Dynamo from bug reports, failing tests, or feature requests.
fastrepl/anarlog
Inspect every open non-draft PR for CI failures and unresolved Cursor Bugbot findings, then fix them on the existing PR branches.
microsoft/vstest
Parse and analyze Visual Studio TRX test result files. An agent skill from microsoft/vstest.
workersio/skills
Testing workflow skill for finding high-value test candidates, writing focused tests, generating realistic workloads, reviewing test value, and diagnosing test-suite health.
NoobyGains/godmode
A skill your agent uses when starting any conversation - establishes how to locate and invoke skills, mandating Skill tool usage before ANY response including clarifying questions
NoobyGains/godmode
A skill your agent uses when dispatching subagents, composing prompts for teammates, structuring handoff reports, or managing context boundaries between agents.
NoobyGains/godmode
A skill your agent uses when building ANY feature within an existing project - search the current codebase for existing patterns, conventions, similar implementations, and established approaches…
NoobyGains/godmode
A skill your agent uses when about to declare work done, fixed, or passing, before committing or opening PRs - demands executing verification commands and reading their output before making any…
NoobyGains/godmode
A skill your agent uses when implementing any substantial feature, multi-file modification, or architectural change - produces a plain-language walkthrough of every alteration so the developer can…
NoobyGains/godmode
A skill your agent uses when executing implementation plans with independent tasks in the current session
Categories
A skill your agent uses when encountering any bug, test failure, or unexpected behavior, before proposing fixes. Fault Diagnosis is an agent skill from NoobyGains/godmode.
Fault Diagnosis fits situations like: encountering any bug; unexpected behavior; before proposing fixes.
Run `npx skills add NoobyGains/godmode --skill fault-diagnosis -a claude-code`. Or copy the skill folder (skills/fault-diagnosis in NoobyGains/godmode) into .claude/skills/fault-diagnosis in your project. Claude Code loads it when a task matches its description.
Run `npx skills add NoobyGains/godmode --skill fault-diagnosis -a codex`. Or copy the skill folder (skills/fault-diagnosis in NoobyGains/godmode) into .agents/skills/fault-diagnosis in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add NoobyGains/godmode --skill fault-diagnosis -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/fault-diagnosis, .gemini/skills/fault-diagnosis, .github/skills/fault-diagnosis and .opencode/skills/fault-diagnosis in your project.
Going by SKILL.md and its folder, Fault Diagnosis needs TypeScript and a shell for the scripts in its folder. Our summary lists: Node.js; A Bash shell.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Fault Diagnosis is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.5k tokens (SKILL.md is roughly 10k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Fault Diagnosis: Swig Test (swig/swig, 6.3k stars), Triage CI Failure (DataDog/datadog-agent, 3.8k stars), Dynamo Jira Ticket (DynamoDS/Dynamo, 2k stars) and Fix Ready PRs (fastrepl/anarlog, 9.5k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
NoobyGains (a GitHub user) maintains it in NoobyGains/godmode, which has 109 GitHub stars. The repository holds 34 skills in this directory. The repository was last updated on March 9, 2026.
Source: NoobyGains/godmode on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.