Notre avis
Cette compétence corrige les erreurs survenant lors de l'exécution d'un notebook en modifiant soit les cellules du notebook, soit le code source de la bibliothèque sous-jacente.
Points forts
- Analyse approfondie de la trace d'erreur pour identifier la cause racine
- Correction directe dans les cellules du notebook JSON ou dans les fichiers source Python
- Vérification en ré-exécutant le notebook pour garantir le succès
Limites
- Nécessite une compréhension à la fois du notebook et du code source
- Ne résout pas les problèmes liés à l'environnement ou aux dépendances externes
- Limitée aux notebooks Python utilisant un package interne
Utilisez-la lorsqu'un notebook échoue à cause d'une erreur de logique, d'un import manquant ou d'un bogue dans le code source associé.
Évitez-la si l'erreur provient d'un problème d'environnement (version de package, dépendances manquantes) ou de données externes non modifiables.
Analyse de sécurité
SûrThe skill instructs on analyzing errors and editing notebook cells or source code; it does not execute any dangerous commands, exfiltrate data, or bypass security.
Aucun point d'attention détecté
Exemples
This notebook cell failed with NameError: name 'np' is not defined. Fix the notebook by adding the missing import.The notebook error is caused by a bug in the `process_data` function in `gwexpy/utils.py`. Traceback shows IndexError. Fix the source code.The notebook cell fails with TypeError: cannot concatenate str and int. Identify the issue in the cell and fix it.name: fix_notebook description: ノートブックのエラーを、そのノートブック自体の修正またはソースコードの修正により解決する
Fix Notebook Errors
This skill handles fixing errors encountered during notebook execution.
Instructions
-
Analyze the Failure:
- Examine the traceback to determine if the error is in the notebook cell's logic or the underlying library.
-
Strategy A: Fix Notebook (Local):
- If the usage is wrong or imports are missing, edit the
.ipynbcells. - Modify the
"source"field of the failing code cell in the notebook JSON.
- If the usage is wrong or imports are missing, edit the
-
Strategy B: Fix Source Code:
- If the bug is in the
gwexpy/package, trace it to the source file. - Apply the fix to the Python source while ensuring no regressions.
- If the bug is in the
-
Verification:
- Re-run the notebook to confirm it passes.
Expert Next.js App Router
Developpement
Un skill qui transforme Claude en expert Next.js App Router.
Générateur de README
Developpement
Crée des README.md professionnels et complets pour vos projets.
Rédacteur de Documentation API
Developpement
Génère de la documentation API complète au format OpenAPI/Swagger.