Our review
This skill fixes errors encountered during notebook execution by editing either the notebook cells or the underlying library source code.
Strengths
- Thorough analysis of the traceback to identify the root cause
- Direct fixes in notebook JSON cells or Python source files
- Verification by re-running the notebook to ensure no regressions
Limitations
- Requires understanding of both notebook and source code
- Cannot resolve environment or external dependency issues
- Limited to Python notebooks using an internal package
Use when a notebook fails due to logic errors, missing imports, or bugs in the associated source code.
Avoid when the error stems from environment issues (package versions, missing dependencies) or external data problems that cannot be fixed by code changes.
Security analysis
SafeThe skill instructs on analyzing errors and editing notebook cells or source code; it does not execute any dangerous commands, exfiltrate data, or bypass security.
No concerns found
Examples
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.
Next.js App Router Expert
Development
A skill that turns Claude into a Next.js App Router expert.
README Generator
Development
Creates professional and comprehensive README.md files for your projects.
API Documentation Writer
Development
Generates comprehensive API documentation in OpenAPI/Swagger format.