jupyter-notebooks
Was er macht
Dieser Skill baut Jupyter-Notebooks, die Erklärungen, SQL- oder Python-Code und Ergebnisse verbinden. Er richtet sich an Analysten, die eine Auswertung wollen, die andere prüfen und erneut ausführen können.
Wann du ihn nutzt
- ✓Wenn du eine Analyse als Notebook speichern willst, das andere erneut ausführen können.
- ✓Wenn du einen Nachweis brauchst, wie eine Zahl berechnet wurde.
- ✓Wenn du ein Begleit-Notebook zu einem Bericht oder einer Empfehlung willst.
Link zum Skill
https://github.com/XiaomiMiMo/MiMo-Code/blob/main/packages/cli/src/skill/builtin/.bundle/data-analytics/workflows/jupyter-notebooks/SKILL.mdKopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.
So nutzt du ihn
Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.
Fertige Nachricht zum Einfügen
Für Claude Code, Codex oder Cursor: Führe den Befehl in deinem Projektordner aus, dann wird der Skill installiert.
Lade die SKILL.md herunter und lege sie in den Skills-Ordner deines Agenten.
Beispielanfrage an deine KI
“Ich möchte ein Notebook, das die monatliche Kundenbindung aus unserer Verkaufstabelle berechnet, damit mein Team es erneut ausführen kann.”
5 neue Skills pro Woche. 1 Minute Lesezeit.
So funktioniert es
Der Agent richtet das Notebook mit einer Zusammenfassung vorne und dann Code-Zellen in der richtigen Reihenfolge ein. Er führt es von oben bis unten aus, um zu prüfen, ob es funktioniert. Kann es nicht laufen, nennt er die Schritte, mit denen sich das Ergebnis reproduzieren lässt.
Technischer Inhalt (originale SKILL.md)
Originaltext des Autors, auf Englisch, direkt von GitHub.
Related Skills
Use $validate-data when notebook results support a recommendation, shared claim, or decision.
Jupyter Notebooks
Create clean, reproducible Jupyter notebooks that are easy to skim, rerun, and handoff. Treat the notebook as a reader-facing analysis artifact, not a scratchpad dump. Notebook work is not complete until the notebook executes successfully top-to-bottom, or the execution gap is called out with the exact validation steps needed to reproduce it.
Workflow
Lock the notebook mode and scope.
Decide whether the notebook is an analysis report, experiment log, diagnostic notebook, data-quality check, market-sizing calculation, model exploration, tutorial, or companion artifact for a report. Identify the reader, decision, expected handoff, required inputs, and whether the task calls for a new notebook or targeted edits to an existing one.
Inspect or scaffold with notebook-safe tooling.
Prefer JupyterLab,
nbformat,nbclient, or an existing scaffold utility over hand-editing raw JSON. When editing an existing notebook, preserve its intent and minimize JSON churn. Avoid reordering cells unless it clearly improves the top-to-bottom story. If raw JSON editing is unavoidable, validate the notebook structure before finishing.Structure the notebook for the chosen mode.
For analytical notebooks, default to:
## tl;dr## Context & Methods## Data## Results## Takeaways
Write
tl;drand takeaways after reviewing executed outputs. Use concrete observed values, visible patterns, rows, or charts, not assumptions. Include a### Key Assumptionssubsection inContext & Methodswhen assumptions affect correctness.For tutorials or walkthroughs, adapt the same discipline to a teaching flow:
## Goal## Setup## Steps## Checks## Next Steps
Build a clear data and computation path.
Separate setup, imports, parameters, data loading, data preparation, calculations, visualizations, and interpretation. If the notebook uses both SQL and Python, keep complex SQL in SQL cells or separate query files rather than large embedded Python strings unless there is a clear reason. Use descriptive variable names and keep each code cell focused on one step.
Use data sources deliberately.
When a notebook needs table data, first use
~~structured_datato confirm table choice, schema, partition filters, sample rows, and query-submission policy. Use the relevant source connector when available, then fall back to exports or pasted SQL when needed. Use~~operations_logsfor freshness or lineage checks when they matter. Record query permalinks, request IDs, source paths, dashboard links, extract names, or other source artifacts in the notebook context for any executed result that supports the analysis. Keep heavy queries filtered and bounded instead of turning the notebook into a broad live-source scan.Make cells readable and bounded.
Add concise markdown headers before most code cells. Keep headers brief and action-oriented, such as
### 1. Load Data,### 2. Validate Inputs, or### 3. Plot Results. Favor several short cells over one large mixed-purpose cell. Keep prose short: explain purpose, assumptions, and expected result, not every line of code. Split multiple tables or charts across separate cells instead of dumping all outputs from one cell.Validate results before writing conclusions.
Check that key numbers, charts, and takeaways match executed outputs. Bound raw debug output, oversized tables, and noisy logs. If a result is surprising, add a local reasonableness check, small sample inspection, or reconciliation against a trusted source before promoting it to the summary.
Execute and record validation status.
Run the notebook top-to-bottom when the environment allows:
python -m jupyter nbconvert --execute --to notebook --inplace path/to/notebook.ipynbOptional local setup when needed:
uv pip install jupyterlab nbformat nbclient ipykernelIf execution is not possible, say so explicitly and provide the exact command, missing dependency, credential, data access, kernel, or environment step needed to validate locally.
Standards
Notebook Structure
- Make the default top-to-bottom read clear before the reader starts executing cells out of order.
- Put executive summary material at the t
Häufige Fragen
Muss das Notebook laufen?
Laut Skill ist die Notebook-Arbeit erst fertig, wenn es von oben bis unten läuft oder die Lücke erklärt ist.
Kann er ein vorhandenes Notebook bearbeiten?
Ja. Er kann gezielte Änderungen vornehmen und behält die ursprüngliche Absicht des Notebooks bei.
Wann sollen Ergebnisse geprüft werden?
Laut Skill sollen Ergebnisse geprüft werden, wenn sie eine Empfehlung oder Entscheidung stützen.
Details
Originalbeschreibung des Autors
Create, edit, or validate reproducible SQL or Python notebooks. Use for notebooks, SQL/Python scratchpads, reproducible exploration, audit trails, or runnable companions where the analysis should be reviewable or rerunnable.
repo: XiaomiMiMo/MiMo-Code
Beliebtheit
- GitHub-Sterne
- 14k
- Platz im Ranking
- #11318
- Lizenz
- MIT
- Aktualisiert
- 2.11.2026
Kommentare
- …
Weitere Skills aus diesem Repository
effect
14kHilft deinem Agenten, Fragen zum TypeScript-Framework Effect zu beantworten, indem er Quellcode und Doku prüft, statt sich auf sein Gedächtnis zu verlassen.
arxiv
14kHilft deinem Agenten, akademische Paper auf arXiv zu suchen, zu lesen, zu zitieren und zu verfolgen, mit Zusammenfassungen, BibTeX-Zitaten, PDF-Downloads und Zitierverbindungen.
claude-code
14kHilft deinem Agenten, eine Coding-Aufgabe an das Kommandozeilenwerkzeug Claude Code zu übergeben, als einmaligen Lauf, interaktive Sitzung oder Hintergrundjob.
codex
14kHilft deinem Agenten, das Kommandozeilenwerkzeug OpenAI Codex ohne Chat-Fenster auszuführen, für Coding-Aufgaben, Skripte und automatisierte Abläufe.
Ähnliche Skills
gitcrawl
394kLässt deinen Agenten ein gespeichertes Archiv von GitHub-Issues und Pull Requests durchsuchen, Duplikate gruppieren und ihren aktuellen Status auf GitHub prüfen.
slacrawl
394kLässt deinen Agenten Nachrichten in einem lokalen Slack-Archiv durchsuchen und zählen, dessen Aktualität prüfen und es bei Bedarf auffrischen.
goplaces
394kHilft deinem Agenten, mit Google Places nach Orten zu suchen, Details und Bewertungen abzurufen und Ortsnamen aufzulösen, mit JSON-Ausgabe für Skripte.