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

  1. Find Notebooks:

    • Search for all .ipynb files in the project/workspace.
    • Exclude .ipynb_checkpoints.
  2. 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> or pytest --nbmake <notebook.ipynb> (if installed).
    • CRITICAL: Wait for one notebook to finish before starting the next to conserve memory.
  3. 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?

Be as detailed as possible for better results