Logo van Autonomous Bug Fix

Autonomous Bug Fix

Community
andreaswasita
autonomous-bug-fix

Reproduceert, stelt diagnoses, verhelpt en verifieert bugs zonder hulp.

Add to TypingMind

Overzicht

Uitgeverandreaswasita
Repositorycopilot-agents-dojo
Skillnaamautonomous-bug-fix
Sterren
54
Forks
15
Meegeleverde bestanden
Alleen instructies
LicentieMIT
Links
  • Instructies in Markdown

    Het model laadt het bestand SKILL.md alleen als dat nodig is. Dat kost dus alleen tokens als een verzoek daadwerkelijk bij de skill past.

  • Werkt met elk LLM

    AI-skills bestaan uit instructies in gewone Markdown, niet uit aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • Compleet zonder extra bestanden

    Alles wat het model nodig heeft, staat in de instructies — geen extra bestanden om te synchroniseren.

  • Open source

    Gepubliceerd door andreaswasita op GitHub. Bekijk de bronbestanden voordat je de skill installeert.

Installatie

Installeer de AI-skill Autonomous Bug Fix in TypingMind om deze met elk LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map. De app leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/andreaswasita/copilot-agents-dojo/tree/main/skills/autonomous-bug-fix
  4. Schakel de skill in voor elke chat waarin je de skill wilt kunnen gebruiken.
Plug-ins → Skills → Skill toevoegen → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/andreaswasita/copilot-agents-dojo.git /tmp/copilot-agents-dojo
mkdir -p .claude/skills
cp -r /tmp/copilot-agents-dojo/skills/autonomous-bug-fix .claude/skills/autonomous-bug-fix
Start Claude Code na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Autonomous Bug Fix in voor een chat naar keuze in TypingMind en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek bij de skill past, laadt het model zelf de volledige instructies. Je hoeft de skill nooit handmatig aan te roepen. Pas als het model de skill daadwerkelijk gebruikt, kost dat tokens.

Het model laadt Autonomous Bug Fix automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Autonomous Bug Fix niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

Autonomous Bug Fix Skill

Walks the agent through the full reproduce → diagnose → fix → verify cycle on its own, without asking the user for navigation help, log-reading instructions, or test commands. Does NOT cover net-new feature work — for that use plan-before-code and executing-plans.

When to Use

  • User reports a bug, regression, or unexpected behavior.
  • CI is red on a branch you own.
  • An error or warning appears in logs.
  • A previously working feature stopped working.
  • The user says "this is broken," "it doesn't work," or similar.

Prerequisites

  • Read access to the failing component (use glob / grep to locate it).
  • The powershell tool to run tests, git, and reproduction commands.
  • A clean working tree on a feature branch (use using-git-worktrees if needed).
  • verify-before-done skill loaded — you'll invoke it at the end.

How to Run

text
1. Reproduce  → locate the code, run the failing path, confirm with evidence.
2. Diagnose   → trace from symptom to root cause; check recent changes.
3. Fix        → minimal change at the root cause + a regression test.
4. Verify     → re-run reproduction + full suite via `verify-before-done`.

Quick Reference

PhaseActionTool
Find codeSearch by symbol or file patterngrep, glob
Read codeInspect the failing pathview
ReproduceRun failing command/testpowershell
DiagnoseRecent changes / blamepowershell → git log -20 --oneline, git blame <path>
EditMinimal, root-cause fixedit
Add testRegression testcreate or edit under tests/
VerifyRe-run reproduction + full suitepowershell, then verify-before-done

Procedure

Step 1: Reproduce

Find the relevant code yourself — grep for the symbol, glob for the path. Do not ask the user "which file is this in?"

Run the failing path via the powershell tool. If no failing test exists, write a minimal one that captures the bug. Confirm reproduction with concrete evidence (stack trace, exit code, log line).

If you can't reproduce:

  • Check for environment-specific behavior (OS, Node/Python version).
  • Look for race conditions or state-dependent paths.
  • Ask the user for clarification only as a last resort, and only with specific questions.

Step 2: Diagnose Root Cause

Read the error message and stack trace before doing anything else — they exist for a reason. Trace from the user-visible symptom back to the root cause:

bash
# via the `powershell` tool
git log -20 --oneline
git blame path/to/suspect.ts
git diff HEAD~5 -- path/to/suspect.ts

Stop at the root cause, not the first thing that looks suspicious. "Why did this break?" — not "what broke?"

Step 3: Fix at the Root

Edit with precision via the edit tool:

  • Change only what needs to change. Bigger diffs hide bigger bugs.
  • Fix the root cause, never the symptom. Swallowing an exception is not a fix.
  • Add a regression test that fails without the fix and passes with it.
  • Check whether the same root cause exists elsewhere (grep for the pattern). If yes, fix those too or log them in tasks/lessons.md for follow-up.

Step 4: Verify

Hand off to the verify-before-done skill:

  • Re-run the reproduction. The error must be gone.
  • Run the full test suite. No regressions.
  • Record evidence in tasks/todo.md under the task.

Step 5: Rollback If Verification Fails

If verification fails after your fix:

  1. Reset the working tree (git checkout -- . or git stash via powershell).
  2. Log the failed attempt in tasks/lessons.md with the root-cause analysis you had.
  3. Re-plan with a different approach via plan-before-code.
  4. Never push broken code hoping someone catches it later.

Pitfalls

  • DO NOT ask the user "which file is it in?" or "how do I run the tests?" Use grep/glob/view/powershell to discover it.
  • DO NOT apply a band-aid (catch-and-swallow, ignore the warning). Fix the root cause.
  • DO NOT fix the symptom. A login button that fails because of a missing provider is a provider bug, not a button bug.
  • DO NOT skip the regression test. Without one, the bug comes back in 3 months.
  • DO NOT push without verification. An unverified fix is often worse than no fix.
  • DO NOT abandon failed attempts silently. Log them in tasks/lessons.md.

Verification

  • Reproduction was confirmed with concrete evidence before any fix.
  • Root cause is identified in writing (in commit message or tasks/todo.md).
  • Regression test added that fails on main and passes on the branch.
  • verify-before-done checklist passed.
  • If similar patterns exist elsewhere, they are fixed or logged.

Veelgestelde vragen

Wat doet de AI-skill Autonomous Bug Fix?

Reproduceert, stelt diagnoses, verhelpt en verifieert bugs zonder hulp.

Waarom Autonomous Bug Fix gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Autonomous Bug Fix bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model. Ook als je midden in een chat van model wisselt, blijft de skill werken. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek af te sluiten. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Autonomous Bug Fix in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/andreaswasita/copilot-agents-dojo/tree/main/skills/autonomous-bug-fix. TypingMind leest het bestand SKILL.md en installeert het als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Autonomous Bug Fix gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Autonomous Bug Fix gebruiken?

Zoveel als je wilt. Je kunt Autonomous Bug Fix gebruiken met elk model dat skills ondersteunt, zoals GPT, Claude, Gemini, Grok, DeepSeek, Mistral of Llama. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Autonomous Bug Fix gratis?

Ja. Deze skill is door andreaswasita op GitHub gepubliceerd onder de licentie MIT. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. De skill volgt het open Agent Skills-formaat: het bestand SKILL.md bevat de naam en beschrijving van de skill. Daarnaast kan de skill scripts, sjablonen of referentiebestanden bevatten die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Bekijk alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇