Logo di Autonomous Bug Fix

Autonomous Bug Fix

Community
andreaswasita
autonomous-bug-fix

Riproduce, diagnostica, corregge e verifica i bug in autonomia.

Add to TypingMind

Panoramica

Pubblicato daandreaswasita
Repositorycopilot-agents-dojo
Nome della skillautonomous-bug-fix
Stelle
54
Fork
15
File inclusi
Solo istruzioni
LicenzaMIT
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • Tutto nelle istruzioni

    Tutto ciò che serve al modello è nelle istruzioni: nessun file aggiuntivo da sincronizzare.

  • Open source

    Pubblicata da andreaswasita su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Autonomous Bug Fix in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/andreaswasita/copilot-agents-dojo/tree/main/skills/autonomous-bug-fix
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'agente.

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
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Autonomous Bug Fix in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Autonomous Bug Fix non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Autonomous Bug Fix non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

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.

Domande frequenti

Cosa fa la skill IA Autonomous Bug Fix?

Riproduce, diagnostica, corregge e verifica i bug in autonomia.

Perché usare Autonomous Bug Fix su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Autonomous Bug Fix è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Autonomous Bug Fix in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/andreaswasita/copilot-agents-dojo/tree/main/skills/autonomous-bug-fix. TypingMind legge il file SKILL.md e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Autonomous Bug Fix?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Autonomous Bug Fix?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Autonomous Bug Fix: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Autonomous Bug Fix è gratuita?

Sì. È pubblicata su GitHub da andreaswasita con licenza MIT. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇