Debugging logo

Debugging

Community
Omar-Obando
debugging

Systematic debugging skill with structured investigation methodology. Use when troubleshooting bugs, investigating failures, or diagnosing unexpected behavior in production or development.

Overview

PublisherOmar-Obando
Repositoryqwen-orchestrator
Skill namedebugging
Stars
53
Forks
13
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by Omar-Obando on GitHub. Read the source before you install it.

Installation

Install the Debugging AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/Omar-Obando/qwen-orchestrator/tree/main/skills/debugging
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Omar-Obando/qwen-orchestrator.git /tmp/qwen-orchestrator
mkdir -p .claude/skills
cp -r /tmp/qwen-orchestrator/skills/debugging .claude/skills/debugging
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Debugging in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Debugging on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Debugging is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Debugging Skill — Systematic Investigation

This skill provides a structured approach to debugging that replaces guessing with evidence-based investigation.

Debugging Methodology

OBSERVE → HYPOTHESIZE → TEST → FIX → VERIFY

Phase 1: OBSERVE (Collect Evidence)

  • What is the exact error message?
  • What is the expected behavior?
  • What is the actual behavior?
  • When does it happen? (always, sometimes, specific conditions?)
  • What changed recently? (code, config, dependencies, environment)

Phase 2: HYPOTHESIZE (Form Theories)

  • List at least 3 possible causes
  • Rank by probability (most likely first)
  • For each: what evidence would prove/disprove it?

Phase 3: TEST (Verify Hypothesis)

  • Test ONE hypothesis at a time
  • Change ONLY ONE variable per test
  • Record all observations
  • Stop when you find the root cause

Phase 4: FIX (Apply Fix)

  • Make the MINIMAL change that fixes the issue
  • Do NOT refactor while fixing
  • Write a test that reproduces the bug FIRST
  • Then implement the fix

Phase 5: VERIFY (Confirm Fix)

  • Original test now passes
  • No new failures introduced
  • Edge cases still work
  • Similar code paths checked

Investigation Techniques

Binary Search Debugging

1. Find the midpoint of the execution path
2. Check state at that point
3. If correct: bug is AFTER midpoint
4. If incorrect: bug is BEFORE midpoint
5. Repeat until isolated

Rubber Duck Debugging

1. Explain the code line by line
2. Explain what each variable should be
3. Explain what the output should be
4. The act of explaining often reveals the bug

Log-Based Debugging

typescript
// Strategic logging for debugging
console.log('[DEBUG] Input:', { userId, filters, pagination });
console.log('[DEBUG] Query result:', { count, firstItem, lastItem });
console.log('[DEBUG] Transform:', { input, output, duration });

Common Bug Categories

CategorySymptomsInvestigation
Off-by-oneWrong count, missing last itemCheck boundary conditions
Race conditionIntermittent, timing-dependentAdd logging, check async flow
Null referenceTypeError: Cannot read propertyCheck all property access
Type coercionUnexpected comparison resultsUse strict equality (===)
Stale stateUI doesn't reflect changesCheck state update mechanism
Memory leakIncreasing memory over timeProfile heap, check cleanup
Circular referenceStack overflow, infinite loopTrace the reference chain

Bug Report Template

markdown
## Bug Report

### Environment

- OS: [operating system]
- Runtime: [Node.js version, browser]
- Package version: [version]

### Reproduction Steps

1. [exact step 1]
2. [exact step 2]
3. [exact step 3]

### Expected Behavior

[What should happen]

### Actual Behavior

[What actually happens]

### Evidence

- Error message: [exact error]
- Stack trace: [relevant portion]
- Logs: [relevant log entries]
- Screenshot: [if applicable]

### Root Cause (after investigation)

[Detailed explanation of why this happens]

### Fix

[What was changed and why]

Debugging Rules

  1. NEVER guess — always form a hypothesis first
  2. NEVER change multiple things — one variable at a time
  3. NEVER skip the test — write a failing test that reproduces the bug
  4. NEVER fix symptoms — find the root cause
  5. NEVER assume — verify every assumption with evidence

When NOT to Use

Do NOT use this skill when:

  • Designing new features from scratch (use domain-driven skill)
  • Designing database schemas (use database-design skill)
  • Writing API endpoint implementations (use api-design skill)
  • Writing SQL queries (use sql-best-practices skill)
  • Designing multi-page website layouts (use design-system skill)
  • Reviewing git workflows (use git-workflow skill)
  • Writing deployment configurations (use deployment skill)

Frequently asked questions

What does the Debugging AI skill do?

Systematic debugging skill with structured investigation methodology. Use when troubleshooting bugs, investigating failures, or diagnosing unexpected behavior in production or development.

Why use Debugging on TypingMind?

Because you install it once and use it with any model. Debugging is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Debugging in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/Omar-Obando/qwen-orchestrator/tree/main/skills/debugging. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Debugging?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Debugging?

As many as you like. As long as a model supports skills, you can use Debugging with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Debugging AI skill free?

Yes. It is published on GitHub by Omar-Obando under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇