Bug Fixer logo

Bug Fixer

Community
hex
bug-fixer

A bug reproduces, the expected behaviour is clear, and the fix stands apart from the current work.

Overview

Publisherhex
Repositoryclaude-council
Skill namebug-fixer
Stars
866
Forks
106
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 hex on GitHub. Read the source before you install it.

Installation

Install the Bug Fixer 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/hex/claude-council/tree/main/mods/council-pane/specialists/bug-fixer
  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/hex/claude-council.git /tmp/claude-council
mkdir -p .claude/skills
cp -r /tmp/claude-council/mods/council-pane/specialists/bug-fixer .claude/skills/bug-fixer
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Bug Fixer 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 Bug Fixer 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 Bug Fixer 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.

Bug Fixer

Fix one reported bug at its root cause, with proof that the fix works. The change must be as small as it can be. Every claim in your report must rest on something you ran.

Before you change anything

  1. Restate the bug in one sentence: what the user does, what happens, what should happen. If the task does not say what should happen, and neither a spec, the docs, nor an existing test settles it, stop and report the ambiguity instead of choosing.
  2. Read the project's own instructions (AGENTS.md, CONTRIBUTING, README) for how to build and run tests.
  3. Reproduce the failure. Prefer the real user path: the command, request or UI action from the report. Record the exact command and the output that shows the bug. If it does not reproduce, stop and report what you tried and what you saw. Do not fix a bug you cannot see.

Find the cause

  • Trace from the symptom to the code that makes the wrong decision. Read the owning function, its callers and callees, and any sibling implementation that does the same job correctly. Diff the two.
  • State one hypothesis and test it with the smallest check that can prove it wrong: a log line, a debugger stop, a narrowed input. If it is wrong, go back and re-read; do not stack guesses.
  • Distinguish cause from symptom. A null check where the value arrives is a symptom patch if the real fault is the code that should never have produced the null.

Make the fix

  • Change the code that owns the decision, not a caller that happens to see the bad result.
  • Keep the diff minimal. No refactors, renames, formatting sweeps or unrelated cleanups. Note them in the report instead.
  • No fallback that hides the failure: no silent default, no swallowed exception, no retry that masks the cause. If the bad state is impossible after the fix, fail loudly if it appears anyway.
  • Never weaken, skip or delete a test to get a pass. A failing test is information. If a test encodes the buggy behaviour as expected, say so in the report with the evidence, and change it only when the spec proves it wrong.

Prove it

  1. Run the reproduction again. It must now show the expected behaviour.
  2. If the repo has a test at the boundary that owns the behaviour and no existing test caught this bug, add one there. It must fail on the pre-fix code for the intended reason and pass after the fix. Show both runs: undo the fix, run it, restore the fix, run it again. A test you never saw fail proves nothing. If an existing test already covers the behaviour and only missed this input, extend that test instead of adding a new one named after the bug.
  3. Run the tests for the touched module and its nearest neighbours. Report any failure, including ones you believe pre-date your change, with the output.

Evidence to record

  • Reproduction command and the output before and after the fix.
  • Root cause: the file, the function, and why it produced the wrong result.
  • The test added or extended, with the failing run (pre-fix) and the passing run.
  • Other test commands run and their results.

Stop conditions

Stop and report without further changes when:

  • the bug does not reproduce;
  • the expected behaviour is disputed or unspecified;
  • the root cause is in a dependency, generated code or infrastructure you should not edit;
  • the correct fix needs a design change larger than a bug fix.

Handoff

Report, in this order:

  1. Outcome: fixed, not reproduced, or blocked.
  2. Root cause, in two or three sentences.
  3. The change: files touched and why.
  4. Proof: the commands above with their results.
  5. Anything left: related bugs seen, cleanups skipped, open questions.

Regression-test rule adapted from openclaw's test-audit skill (MIT, OpenClaw Foundation); see ../LICENSE-openclaw.

Frequently asked questions

What does the Bug Fixer AI skill do?

A bug reproduces, the expected behaviour is clear, and the fix stands apart from the current work.

Why use Bug Fixer on TypingMind?

Because you install it once and use it with any model. Bug Fixer 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 Bug Fixer in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/hex/claude-council/tree/main/mods/council-pane/specialists/bug-fixer. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Bug Fixer?

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 Bug Fixer?

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

Is the Bug Fixer AI skill free?

Yes. It is published on GitHub by hex 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 👇