Langsung ke konten
Skillpedia
Analisis & spreadsheet14k · #11318

jupyter-notebooks

Fungsinya

Skill ini membangun notebook Jupyter yang memadukan penjelasan, kode SQL atau Python, dan hasil. Skill ini ditujukan untuk analis yang menginginkan analisis yang bisa ditinjau dan dijalankan ulang oleh orang lain.

Kapan dipakai

  • ✓Saat Anda ingin analisis disimpan sebagai notebook yang bisa dijalankan ulang oleh orang lain.
  • ✓Saat Anda membutuhkan jejak audit tentang cara sebuah angka dihitung.
  • ✓Saat Anda menginginkan notebook pendamping untuk laporan atau rekomendasi.

Link skill

https://github.com/XiaomiMiMo/MiMo-Code/blob/main/packages/cli/src/skill/builtin/.bundle/data-analytics/workflows/jupyter-notebooks/SKILL.md

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/XiaomiMiMo/MiMo-Code/blob/main/packages/cli/src/skill/builtin/.bundle/data-analytics/workflows/jupyter-notebooks/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit →

Contoh permintaan ke AI

“Saya ingin notebook yang menghitung retensi bulanan dari tabel penjualan kami, agar tim saya bisa menjalankannya ulang.”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Agent menyiapkan notebook dengan ringkasan jelas di awal, lalu sel kode secara berurutan, dan menjalankannya dari atas ke bawah untuk memastikan ia berfungsi. Jika tidak bisa dijalankan, agent mendaftar langkah yang dibutuhkan untuk mereproduksi hasilnya.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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

  1. 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.

  2. 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.

  3. Structure the notebook for the chosen mode.

    For analytical notebooks, default to:

    1. ## tl;dr
    2. ## Context & Methods
    3. ## Data
    4. ## Results
    5. ## Takeaways

    Write tl;dr and takeaways after reviewing executed outputs. Use concrete observed values, visible patterns, rows, or charts, not assumptions. Include a ### Key Assumptions subsection in Context & Methods when assumptions affect correctness.

    For tutorials or walkthroughs, adapt the same discipline to a teaching flow:

    1. ## Goal
    2. ## Setup
    3. ## Steps
    4. ## Checks
    5. ## Next Steps
  4. 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.

  5. Use data sources deliberately.

    When a notebook needs table data, first use ~~structured_data to 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_logs for 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.

  6. 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.

  7. 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.

  8. 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.ipynb
    

    Optional local setup when needed:

    uv pip install jupyterlab nbformat nbclient ipykernel
    

    If 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
Pertanyaan umum

Apakah notebook harus berjalan?

Skill ini menyatakan bahwa pekerjaan notebook belum selesai sampai ia berjalan dari atas ke bawah, atau celahnya dijelaskan.

Bisakah skill ini mengedit notebook yang sudah saya punya?

Bisa. Skill ini dapat membuat pengeditan yang terarah dan tetap menjaga maksud asli notebook.

Kapan hasil perlu divalidasi?

Skill ini menyatakan agar notebook divalidasi ketika hasilnya mendukung sebuah rekomendasi atau keputusan.

Detail

Deskripsi asli dari pembuat

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

Popularitas

Bintang GitHub
14k
Peringkat
#11318
Lisensi
MIT
Diperbarui
2/11/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa