davila7/claude-code-templates / cli-tool/components/skills/development/jupyter-notebook
jupyter-notebook
VerifiedUse when the user asks to create, scaffold, or edit Jupyter notebooks (`.ipynb`) for experiments, explorations, or tutorials; prefer the bundled templates and run the helper script `new_notebook.py` to generate a clean starting notebook.
| File | Kind | Size |
|---|---|---|
| LICENSE.txt | markdown | 10.5 KB |
| SKILL.md | skill md | 4.1 KB |
| agents/openai.yaml | config | 325 B |
| assets/experiment-template.ipynb | other | 2.5 KB |
| assets/jupyter-small.svg | other | 1.0 KB |
| assets/jupyter.png | binary | 2.6 KB |
| assets/tutorial-template.ipynb | other | 2.4 KB |
| references/experiment-patterns.md | markdown | 699 B |
| references/notebook-structure.md | markdown | 751 B |
| references/quality-checklist.md | markdown | 572 B |
| references/tutorial-patterns.md | markdown | 685 B |
| scripts/new_notebook.py | script | 4.0 KB |
assets/tutorial-template.ipynb
View on GitHub{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Tutorial: TITLE\n",
"\n",
"Audience:\n",
"- Describe who this is for.\n",
"\n",
"Prerequisites:\n",
"- List required concepts or setup.\n",
"\n",
"Learning goals:\n",
"- By the end, the reader can...\n"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Outline\n",
"\n",
"1. Setup\n",
"2. A minimal working example\n",
"3. Variations and pitfalls\n",
"4. Exercises\n"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"# Setup cell: keep it short and deterministic\n",
"from __future__ import annotations\n",
"\n",
"import math\n",
"import random\n",
"\n",
"SEED = 21\n",
"random.seed(SEED)\n",
"SEED\n"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Step 1 - Start with a tiny example\n",
"\n",
"Explain what the next cell does in plain language.\n"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"# Minimal working example\n",
"angles = [0, math.pi / 4, math.pi / 2]\n",
"sines = [math.sin(a) for a in angles]\n",
"list(zip(angles, sines))\n"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Exercises\n",
"\n",
"- Try a different input.\n",
"- Predict the output before running the code.\n",
"- Note one common mistake and how to fix it.\n"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"# Exercise answer scaffold\n",
"def describe(values: list[float]) -> dict[str, float]:\n",
" return {\"min\": min(values), \"max\": max(values)}\n",
"\n",
"describe(sines)\n"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"name": "python",
"version": "3.12"
}
},
"nbformat": 4,
"nbformat_minor": 5
}
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| deprecation-and-migrationaddyosmani/agent-skillsManages deprecation and migration. Use when removing old systems, APIs, or features. Use when migrating users from one implementation to another. Use when migrating a database schema in production, such as renaming or dropping a column without downtime (expand/contract). Use when deciding whether to maintain or sunset existing code. | Stars: 119k | Updated | Claude CodeCodex | Verified | Install |
| performance-optimizationaddyosmani/agent-skillsOptimizes application performance across frontend, backend, queries, and databases. Use when performance requirements exist, when you suspect performance regressions, when Core Web Vitals or load times need improvement, when N+1 query patterns need fixing, or when profiling reveals bottlenecks. | Stars: 119k | Updated | Claude CodeCodex | Verified | Install |
| agent-cost-reportthedotmack/claude-memBelievable agent cost report for any period, default the last 7 full days PT, not counting today. Measured tokens from Claude Code transcripts priced at OpenRouter list prices (ESTIMATED), measured provider spend when a sanctioned source exists, note-taker cost separate, Timing-style HTML/PDF plus report.json, line-items.csv, evidence.json. | Stars: 118k | Updated | Claude CodeCodex | Unverified | Install |
| Agent Cost Reportthedotmack/claude-memBelievable agent cost report for any period, default the last 7 full days PT, not counting today. Measured tokens from Claude Code transcripts priced at OpenRouter list prices (ESTIMATED), measured provider spend when a sanctioned source exists, note-taker cost separate, Timing-style HTML/PDF plus report.json, line-items.csv, evidence.json. | Stars: 118k | Updated | Claude CodeCodex | Verified | Install |