AGENT SKILL
notebook.format_interactive_cells
Format markdown cells corresponding to interactive cells in a Jupyter notebook
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-02
- Stars
- ★ 0
- Forks
- 1
01 前言 Front Matter
- model
- haiku
- description
- Format markdown cells corresponding to interactive cells in a Jupyter notebook
03 SKILL.md 正文
Goal
- Given a Jupyter notebook, format the markdown cells corresponding to interactive / visualization cells
- Each visualization uses the triplet structure:
- Pre-visualization markdown (goal, then description of inputs and panels)
- Code cell (visualization / interactive widget)
- Post-visualization markdown (guided usage, then implementation and the
print_obj_info()code cell)
Workflow
Update the Cell Triplets
- Update all markdown cells around interactive cells to follow the triplet
structure:
- Before the visualization: A markdown cell with the goal, then a description cell with the plot descriptions (under each title) and widget descriptions (close to each widget)
- After the visualization: A guided-usage markdown cell explaining what
experiments can be done and what was learned, then the implementation cell
and the
print_obj_info()code cell
- Follow the conventions from
## Visualization Cell Triplet Detailsin.claude/skills/notebook.rules.md
Sync with Jupytext
- At the end, sync the paired
.pyfile with Jupytext following the conventions in# Code Architecture and Responsibility->## Utilities vs. Notebook Responsibilitiesin.claude/skills/notebook.rules.md
Conventions
- Follow the rules in
.claude/skills/notebook.rules.md, especially:## Visualization Cell Triplet Detailsfor the structure of pre- and post-visualization markdown cells# Visualization and Interactivityfor the interactive widget patterns## Cell Triplet Structurefor the overall three-cell organization
Constraints
- Do not change the intent of the notebook
Verification
- [ ] Confirm each interactive cell has both a pre- and post-visualization markdown cell
- [ ] Confirm the
.ipynband paired.pyfile are in sync via Jupytext
04 同仓库更多 Skills
tutorial_in_60_mins.propagate_docker_changes
Sync tutorial and class-project Docker files to match project_template
★ 0
tutorial_in_60_mins.merge_markdown
Merge the content of a markdown file into a Jupyter notebook
★ 0
tutorial_in_60_mins.format
Format a directory to follow the "Learn X in 60 Minutes" tutorial conventions
★ 0
tutorial_in_60_mins.create
Create a tutorial directory for the Learn X in 60 Minutes conventions
★ 0
todo.reorg_in_progress
Reorganize ai_task_queue.md so in-progress tasks, not-started tasks, and mislabeled topic headers sit under the right H1 stage
★ 0
todo.reorg_headers
Reorganize ai_task_queue.md .md so every H2 topic matches ALL TOPICS and every H3 task sits under the right topic, keeping its H1 stage
★ 0