
Jupyter Notebook Best Practices
- 49 installs
- 36 repo stars
- Updated July 14, 2026
- oimiragieo/agent-studio
Helps with productivity & planning tasks.
About
jupyter-notebook-best-practices is a Claude Code skill in the Productivity & Planning category.
- jupyter-notebook-best-practices
- Productivity & Planning
- AI-coding skill
Jupyter Notebook Best Practices by the numbers
- 49 all-time installs (skills.sh)
- Ranked #1,626 of 3,282 Productivity & Planning skills by installs in the Skillselion catalog
- Data as of Aug 4, 2026 (Skillselion catalog sync)
npx skills add https://github.com/oimiragieo/agent-studio --skill jupyter-notebook-best-practicesAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 49 |
|---|---|
| repo stars | ★ 36 |
| Last updated | July 14, 2026 |
| Repository | oimiragieo/agent-studio ↗ |
What it does
Helps with productivity & planning tasks.
Files
Jupyter Notebook Best Practices Skill
<identity> You are a coding standards expert specializing in jupyter notebook best practices. You help developers write better code by applying established guidelines and best practices. </identity>
<capabilities>
- Review code for guideline compliance
- Suggest improvements based on best practices
- Explain why certain patterns are preferred
- Help refactor code to meet standards
</capabilities>
<instructions> When reviewing or writing code, apply these guidelines:
- Structure notebooks with clear sections using markdown cells.
- Use meaningful cell execution order to ensure reproducibility.
- Include explanatory text in markdown cells to document analysis steps.
- Keep code cells focused and modular for easier understanding and debugging.
- Use magic commands like %matplotlib inline for inline plotting.
- Document data sources, assumptions, and methodologies clearly.
- Use version control (e.g., git) for tracking changes in notebooks and scripts.
</instructions>
<examples> Example usage:
User: "Review this code for jupyter notebook best practices compliance"
Agent: [Analyzes code against guidelines and provides specific feedback]</examples>
Memory Protocol (MANDATORY)
Before starting:
cat .claude/context/memory/learnings.mdAfter completing: Record any new patterns or exceptions discovered.
ASSUME INTERRUPTION: Your context may reset. If it's not in memory, it didn't happen.
Invoke the jupyter-notebook-best-practices skill and follow it exactly as presented to you
'use strict';
/**
* Post-execute hook for jupyter-notebook-best-practices
* Auto-generated by enterprise-bundle-scaffolder
*
* Records metrics after skill execution.
*/
function postExecute(_context) {
// Record execution metrics
return { ok: true, skill: 'jupyter-notebook-best-practices' };
}
module.exports = { postExecute };
'use strict';
/**
* Pre-execute hook for jupyter-notebook-best-practices
* Auto-generated by enterprise-bundle-scaffolder
*
* Validates inputs before skill execution.
*/
function preExecute(context) {
// Validate skill invocation context
if (!context || typeof context !== 'object') {
return { allow: true, message: 'jupyter-notebook-best-practices: no context to validate' };
}
return { allow: true };
}
module.exports = { preExecute };
---
description: Guidelines for structuring and documenting Jupyter notebooks for reproducibility and clarity.
globs: **/*.ipynb
---
- Structure notebooks with clear sections using markdown cells.
- Use meaningful cell execution order to ensure reproducibility.
- Include explanatory text in markdown cells to document analysis steps.
- Keep code cells focused and modular for easier understanding and debugging.
- Use magic commands like %matplotlib inline for inline plotting.
- Document data sources, assumptions, and methodologies clearly.
- Use version control (e.g., git) for tracking changes in notebooks and scripts.Research Requirements
- Use Exa first for current best practices.
- Use WebFetch/arXiv fallback when Exa is insufficient.
- Capture constraints and map them to hooks/rules/schemas/workflows.
jupyter-notebook-best-practices Rules
Purpose
Guidelines for structuring and documenting Jupyter notebooks for reproducibility and clarity.
Best Practices
- Follow the guidelines consistently
- Apply rules during code review
- Use as reference when writing new code
Integration Points
See SKILL.md for complete documentation.
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "jupyter-notebook-best-practicesInput",
"description": "Input schema for Guidelines for structuring and documenting Jupyter notebooks for reproducibility and clarity.",
"type": "object",
"additionalProperties": true,
"properties": {
"target": {
"type": "string",
"description": "Target file or path for the skill to operate on"
},
"options": {
"type": "object",
"description": "Additional options for skill execution",
"additionalProperties": true
}
}
}
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "jupyter-notebook-best-practicesOutput",
"type": "object",
"additionalProperties": true,
"properties": {
"ok": {
"type": "boolean"
},
"summary": {
"type": "string"
}
}
}
#!/usr/bin/env node
/**
* jupyter-notebook-best-practices - Rule-based Skill
* Converted from: jupyter-notebook-best-practices.mdc
*/
const fs = require('fs');
const path = require('path');
// Parse arguments
const args = process.argv.slice(2);
const options = {};
for (let i = 0; i < args.length; i++) {
if (args[i].startsWith('--')) {
const key = args[i].slice(2);
const value = args[i + 1] && !args[i + 1].startsWith('--') ? args[++i] : true;
options[key] = value;
}
}
if (options.help) {
console.log(`
jupyter-notebook-best-practices - Code Guidelines Skill
Usage:
node main.cjs --check <file> Check a file against guidelines
node main.cjs --list List all guidelines
node main.cjs --help Show this help
Description:
Guidelines for structuring and documenting Jupyter notebooks for reproducibility and clarity.
`);
process.exit(0);
}
if (options.list) {
console.log('Guidelines for jupyter-notebook-best-practices:');
console.log('See SKILL.md for full guidelines');
process.exit(0);
}
console.log('jupyter-notebook-best-practices skill loaded. Use with Claude for code review.');
jupyter-notebook-best-practices Implementation Template
Goal
- Define target outcome and acceptance criteria.
TDD
1. Red 2. Green 3. Refactor
Verification
- lint
- format
- targeted tests