Genius Debugger

VerifiedCaution

Error diagnosis and fixing skill. Analyzes errors, traces root causes, and implements fixes.

Sby Skills Guide Bot
DevelopmentIntermediate
7/22/2026
Claude Code
#debugging#root-cause-analysis#error-fixing#regression-tests#memory-logging

Recommended for

Automated summary

Agent skill that diagnoses errors through six stages (evidence gathering, reproduction, isolation, analysis, minimal fix, verification) and records root causes in a JSON memory file.

Strengths

  • Structured six-step debugging protocol with a table classifying build, runtime, logic and integration errors
  • Explicit minimal-change principle: no refactoring while debugging, one fix at a time
  • Persists root causes and rejected fix attempts to .genius/memory/errors.json for reuse
  • Completion checklist covering regression test, build pass and type checking

Limitations

  • Allowed tools are limited to npm, npx, node and read-only git commands, with no test runner or general shell access
  • Requires a pre-existing .genius/memory/BRIEFING.md and errors.json structure
  • Not user-invocable (user-invocable: false) and offers no rollback mechanism if a fix fails
When to use it

Use it when an error, stack trace or failing test suite needs to be traced to its root cause and fixed.

When not to use it

Don't use it for feature implementation, broad QA or code refactoring, which are handled by dedicated skills.

Security analysis

Caution
Quality score78/100

The skill uses powerful tools legitimately for debugging and fixing code, and its hooks only perform local logging. There are no destructive, obfuscated, or exfiltrating instructions, but broad write and execution permissions warrant a caution rating rather than safe.

Findings
  • •Hooks automatically execute bash commands after tool use and at stop, though only append timestamps/tool names to a local log.
  • •Broad Write(*) and Edit(*) permissions allow arbitrary file modification, which is powerful but typical for a debugging/fixing skill.
  • •Bash(npm *), Bash(npx *), and Bash(node *) can execute package scripts or arbitrary Node code, creating execution risk if misused.
  • •Reads and writes local `.genius/memory` files; no evidence of secret exfiltration or destructive commands.
How this analysis is made

Examples

Corriger un test en échec
The tests are failing in src/auth/session.test.ts — debug this and fix the root cause without refactoring anything else.
Diagnostiquer une erreur runtime
There's a bug: we get 'Cannot read properties of undefined (reading id)' in production. Trace the root cause and apply a minimal fix.
Régressions après un commit
Something is broken after the last commit — check git log and git diff, isolate the change that caused it, and fix it.

name: genius-debugger description: >- Error diagnosis and fixing skill. Analyzes errors, traces root causes, and implements fixes. Use when user says "there's a bug", "fix this error", "debug this", "something is broken", "the tests are failing". Do NOT use for feature implementation or QA — those have dedicated skills. context: fork agent: genius-debugger user-invocable: false allowed-tools:

  • Read(*)
  • Write(*)
  • Edit(*)
  • Glob(*)
  • Grep(*)
  • Bash(npm *)
  • Bash(npx *)
  • Bash(git diff*)
  • Bash(git log*)
  • Bash(git show*)
  • Bash(node *)
  • Bash(cat *) hooks: PostToolUse:
    • type: command command: "bash -c 'echo "[$(date +%H:%M:%S)] DEBUG: $TOOL_NAME" >> .genius/debug.log 2>/dev/null || true'" Stop:
    • type: command command: "bash -c 'echo "DEBUG COMPLETE: $(date)" >> .genius/debug.log 2>/dev/null || true'" once: true

Genius Debugger v17.0 — Error Terminator

Every bug has a story. I find it and end it.

Memory Integration

On Debug Start

Read @.genius/memory/BRIEFING.md for context. Check errors.json for previously seen similar errors.

On Root Cause Found

Append to .genius/memory/errors.json:

{"id": "e-XXX", "error": "ROOT CAUSE: [error] in [file]:[line]", "solution": "[fix applied]", "timestamp": "ISO-date", "tags": ["debug", "root-cause"]}

On Fix Failed

Append to .genius/memory/errors.json:

{"id": "e-XXX", "error": "FIX FAILED: [approach]", "solution": "rejected — [why it failed]", "timestamp": "ISO-date", "tags": ["debug", "rejected"]}

Debugging Protocol

  1. GATHER EVIDENCE — Error message, stack trace, recent changes
  2. REPRODUCE — Can we trigger it? Consistent or intermittent?
  3. ISOLATE — Narrow down location, binary search if needed
  4. ANALYZE — Root cause identification, why did this happen?
  5. FIX — Implement solution, minimal change principle
  6. VERIFY — Error gone? No new issues? Add regression test

Error Classification

| Type | Common Fixes | |------|-------------| | Build/Compile | Missing imports, type mismatches, syntax errors | | Runtime | Undefined access, null pointer, async timing | | Logic | Wrong output, edge cases, race conditions | | Integration | CORS, auth tokens, schema mismatch |


Fix Implementation

Minimal Change Principle

  1. Change only what's necessary
  2. Don't refactor while debugging
  3. One fix at a time
  4. Verify after each change

Verification Checklist

  • [ ] Original error is gone
  • [ ] No new errors introduced
  • [ ] Related functionality still works
  • [ ] Build passes
  • [ ] Types check

Handoffs

From genius-orchestrator

Receives: Error message, stack trace, file context

From genius-qa-micro

Receives: Specific error from quick check

To genius-dev

Provides: If fix requires significant refactoring

To genius-qa

Provides: If fix needs comprehensive testing

Definition of Done

  • [ ] Root cause identified and documented
  • [ ] Fix applied and verified (bug no longer reproduces)
  • [ ] Error logged in .genius/memory/errors.json
  • [ ] Regression test added to prevent recurrence
  • [ ] PROGRESS.md updated

From the file to a first result

The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.

View the source and supporting files

This download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.

1. Download the file

Download SKILL.md

From the root of a test project, save the file as .skill-downloads/genius-debugger-mrwakbqb/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.

Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.

mkdir -p '.skill-downloads/genius-debugger-mrwakbqb' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/genius-debugger-mrwakbqb/download' --output '.skill-downloads/genius-debugger-mrwakbqb/SKILL.md.part' && mv '.skill-downloads/genius-debugger-mrwakbqb/SKILL.md.part' '.skill-downloads/genius-debugger-mrwakbqb/SKILL.md'

2. Check prerequisites

Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.

No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.

The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.

3. Load the skill

After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.

Claude Code
test -f '.skill-downloads/genius-debugger-mrwakbqb/SKILL.md' && test -s '.skill-downloads/genius-debugger-mrwakbqb/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/genius-debugger' && cp -R '.skill-downloads/genius-debugger-mrwakbqb' '.claude/skills/genius-debugger'

OpenSkills

OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.

Official OpenSkills installation
openskills install './.skill-downloads/genius-debugger-mrwakbqb'

openskills read 'genius-debugger-mrwakbqb'

Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.

For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.

openskills sync

Manual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.

4. Try a first task

Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:

Read .skill-downloads/genius-debugger-mrwakbqb/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.

Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.

Related skills