Notebook.implement outline

From causify-ai/helpers · View interactive version

Notebook.implement outline is an AI agent skill from the GitHub repository causify-ai/helpers. Implement a Jupyter notebook with widgets from an outline description

How to use this skill

Skill file

Goal

(created via .claude/skills/notebook.create_outline/SKILL.md)

1. .ipynb file: Fully functional Jupyter notebook with working code,

visualizations, and interactive widgets

2. .py file: A Python file paired using jupytext to the .ipynb using

py:percent

3. *_utils.py file: Reusable helper functions for the notebook code

notebook

the implementation followed by the print_obj_info() code cell)

Core Workflow

Widgets and Guided Usage

*_utils.py

calls) to the notebook

contains only function calls

Key Conventions

structure, especially:

conventions

Python cells in .ipynb file

-> ## Utilities vs. Notebook Responsibilities for organizing utility files and

notebooks

Code Organization

.claude/skills/notebook.rules.md for organizing utility files and notebook cells

Reference Templates

functions

plot_joint_entropy_interactive())

Implementation Patterns

Cell Structure in Notebook

more than one cell per stage):

1. Markdown cells (pre-viz): Goal, then Description split into Inputs and

Panels

2. Code cell: Visualization / interactive widget with comments panel containing

only variable state

3. Markdown cells (post-viz): Guided usage (one action per control plus the

observation it produces, not general facts to learn), then Implementation,

then the print_obj_info() code cell

file .claude/skills/notebook.rules.md

Simple Interactive Widgets

## Simple Interactive Widgets

Complex Interactive Widgets

## Complex Interactive Widgets

Sync with Jupytext

following the conventions in # Code Architecture and Responsibility ->

## Utilities vs. Notebook Responsibilities in .claude/skills/notebook.rules.md

Verification

Jupytext

.claude/skills/notebook.rules.md and confirm it completes without errors

from notebook_outline.<TAG>.md was skipped

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.