Agent skill
test_notebooks
全てのプロジェクトノートブックを順次実行し、エラーがないか確認する
Stars
163
Forks
31
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/test-notebooks
SKILL.md
Run All Notebooks
This skill executes all .ipynb files in the project one by one.
Instructions
-
Find Notebooks:
- Search for all
.ipynbfiles in the project/workspace. - Exclude
.ipynb_checkpoints.
- Search for all
-
Execute Sequentially:
- Iterate through the list of notebooks.
- For each notebook, execute it using a command line tool that runs the kernel.
- Recommended Tool:
jupyter nbconvert --to notebook --execute --inplace <notebook.ipynb>orpytest --nbmake <notebook.ipynb>(if installed). - CRITICAL: Wait for one notebook to finish before starting the next to conserve memory.
-
Report:
- Track pass/fail status for each.
- If a notebook fails, stop or log the error and continue (depending on user preference, default to continue).
- Provide a summary report at the end.
Didn't find tool you were looking for?