Debugging And Error Recovery logo

Debugging And Error Recovery

Community
GeekFamilyCorp
debugging-and-error-recovery

Débogage discipliné par cause racine pour scripts Python, VPS (systemd/Docker/SFTP), pipelines de veille et automatisations maison. À utiliser quand un test échoue, un build casse, un timer ou une tâche planifiée ne produit rien, un script renvoie un résultat inattendu, ou face à toute erreur non comprise. Déclencheurs : "débogue", "ça marche pas", "pourquoi cette erreur", "trouve la cause", "root cause", "ça plantait avant", "le timer ne tourne plus", "sortie vide". Ne pas activer pour une coquille triviale corrigée en un coup d'œil, ni pour corriger/durcir une application web entière → code-corrector, ni pour ajouter du logging préventif → observability- and-instrumentation.

Overview

PublisherGeekFamilyCorp
RepositoryTricorderKit
Skill namedebugging-and-error-recovery
Stars
32
Forks
1
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 GeekFamilyCorp on GitHub. Read the source before you install it.

Installation

Install the Debugging And Error Recovery 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/GeekFamilyCorp/TricorderKit/tree/main/cowork-plugins/tk-dev-discipline/skills/debugging-and-error-recovery
  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/GeekFamilyCorp/TricorderKit.git /tmp/TricorderKit
mkdir -p .claude/skills
cp -r /tmp/TricorderKit/cowork-plugins/tk-dev-discipline/skills/debugging-and-error-recovery .claude/skills/debugging-and-error-recovery
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Debugging And Error Recovery 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 And Error Recovery 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 And Error Recovery 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.

Débogage par cause racine

Objectif : trouver et corriger LA cause, pas un symptôme.

Règles citées, en une ligne chacune (détail dans ${CLAUDE_PLUGIN_ROOT}/references/regles.md) :

  • R22 — au deuxième échec identique, s'arrêter, chercher la cause racine et changer de méthode.
  • R48 — toute erreur rencontrée est consignée en fin de session (symptôme, cause, correctif).
  • R51 — un cache ou une note n'est pas l'état réel : recouper sur la machine avant d'affirmer.

Méthode (séquentielle)

  1. Reproduire de façon fiable et minimale (commande et contexte exacts). Non reproductible → instrumenter d'abord (→ observability-and-instrumentation).
  2. Observer les faits avant toute hypothèse : message complet, stacktrace, logs (journalctl -u <unit>, fichiers *.log), code de sortie, état réel (processus, fichiers, systemctl list-timers, docker ps).
  3. Une hypothèse falsifiable à la fois : « si X, alors je verrais Y » → tester Y.
  4. Bissection : réduire la surface (dry-run, git bisect, isoler le sous-script) jusqu'au point de bascule.
  5. Corriger la cause, pas le symptôme ; vérifier qu'aucune autre branche n'en dépendait.
  6. Prouver : rejouer le cas + un cas voisin (régression).
  7. Capitaliser (R48) : une entrée dans le log d'erreurs du projet (par exemple 40_ERRORS/) — symptôme, cause, correctif, pattern si récurrent.

Exemple — timer systemd muet

Symptôme : « la veille n'a rien produit depuis deux jours ».

  1. systemctl list-timers --all | grep veille → le timer existe, LAST date d'il y a deux jours, NEXT à n/a : il ne se réarme pas.
  2. systemctl status veille.service → inactive (dead), dernier résultat exit-code.
  3. journalctl -u veille.service --since "3 days ago" → ModuleNotFoundError: paramiko à la première ligne de l'exécution ratée ; la veille précédente passait.
  4. Hypothèse : le virtualenv a été recréé sans la dépendance → ls <venv>/lib/*/site-packages | grep paramiko → absent. Confirmé.
  5. Cause : réinstallation du venv la veille sans requirements.txt à jour. Correctif : ajouter la dépendance au fichier, réinstaller, systemctl start veille.service → exit 0 ; list-timers affiche à nouveau un NEXT.
  6. Entrée au log d'erreurs : « timer muet ≠ timer cassé : lire status puis journalctl avant de toucher à l'unité ».

Pièges connus

  • Cache ≠ source (R51). Quoting PowerShell → bash (le $ disparaît) : passer par un fichier de commande.
  • Encodage : un chemin ou une sortie en caractères non latins plante en cp1252 → forcer UTF-8 (errors=replace).
  • Saturation du poste (outil lent, timeout) n'est pas un bug applicatif : basculer d'outil d'abord.
  • Variable PYTHONHOME héritée : casse socket/paramiko de façon silencieuse.
  • Un exit 0 sans effet est un bug (R71) : vérifier l'effet, pas le code.

Anti-patterns

Changer plusieurs choses à la fois. Deviner sans observer. Réessayer la même approche trois fois (R22). Corriger le symptôme et fermer.

Changelog

  • 2026-09-07 — 1.1 : R22/R48/R51 définies en une ligne ; chemins vault remplacés par « log d'erreurs du projet » ; noms de scripts privés retirés ; exemple timer systemd ajouté ; frontmatter normalisé.
  • 2026-07 — 1.0 : version initiale.

Frequently asked questions

What does the Debugging And Error Recovery AI skill do?

Débogage discipliné par cause racine pour scripts Python, VPS (systemd/Docker/SFTP), pipelines de veille et automatisations maison. À utiliser quand un test échoue, un build casse, un timer ou une tâche planifiée ne produit rien, un script renvoie un résultat inattendu, ou face à toute erreur non comprise. Déclencheurs : "débogue", "ça marche pas", "pourquoi cette erreur", "trouve la cause", "root cause", "ça plantait avant", "le timer ne tourne plus", "sortie vide". Ne pas activer pour une coquille triviale corrigée en un coup d'œil, ni pour corriger/durcir une application web entière → co...

Why use Debugging And Error Recovery on TypingMind?

Because you install it once and use it with any model. Debugging And Error Recovery 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 And Error Recovery in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/GeekFamilyCorp/TricorderKit/tree/main/cowork-plugins/tk-dev-discipline/skills/debugging-and-error-recovery. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Debugging And Error Recovery?

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 And Error Recovery?

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

Is the Debugging And Error Recovery AI skill free?

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