Skip to content
Back to skills

Jupyter Notebook Microsoft 46

ASecurity

ใช้เมื่อผู้ใช้ร้องขอให้สร้าง จัดโครงร่าง หรือแก้ไข Jupyter notebooks (`.ipynb`) สำหรับการทดลอง การสำรวจ หรือบทแนะนำ; ควรใช้เทมเพลตที่มาพร้อมและรันสคริปต์ช่วยเหลือ `new_notebook.py` เพื่อสร้างโน้ตบุ๊กเริ่มต้นที่สะอาด

  • 3 stars
  • 0 votes
  • 0 copies
  • 6 views
  • Added September 12, 2026
ai-agentspythongobashazuregit

Works with

  • cli

Security analysis

A96/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro scans all 7 files and shows the line behind each finding

Scanned September 12, 2026

npx -y skills add thedixitjain/the-mega-skill-library --skill jupyter-notebook--microsoft-46 --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Jupyter Notebook Microsoft 46?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Jupyter Notebook  Microsoft 46
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/thedixitjain-jupyter-notebook-microsoft-46/badge)](https://www.skillsdirectory.com/skills/thedixitjain-jupyter-notebook-microsoft-46)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: jupyter-notebook
description: "ใช้เมื่อผู้ใช้ร้องขอให้สร้าง จัดโครงร่าง หรือแก้ไข Jupyter notebooks (`.ipynb`) สำหรับการทดลอง การสำรวจ หรือบทแนะนำ; ควรใช้เทมเพลตที่มาพร้อมและรันสคริปต์ช่วยเหลือ `new_notebook.py` เพื่อสร้างโน้ตบุ๊กเริ่มต้นที่สะอาด"
category: data-science-and-ml
source_repo: microsoft/ai-agents-for-beginners
source_path: "translations/th/.agents/skills/jupyter-notebook/SKILL.md"
source_url: https://github.com/microsoft/ai-agents-for-beginners/blob/HEAD/translations/th/.agents/skills/jupyter-notebook/SKILL.md
---
# ทักษะ Jupyter Notebook

สร้างโน้ตบุ๊ก Jupyter ที่สะอาดและทำซ้ำได้สำหรับสองโหมดหลัก:

- การทดลองและการวิเคราะห์เชิงสำรวจ
- บทช่วยสอนและการแนะนำสำหรับการสอน

ให้ใช้เทมเพลตที่มาพร้อมและสคริปต์ช่วยเหลือเพื่อโครงสร้างที่สม่ำเสมอและลดความผิดพลาดของ JSON.

## เมื่อใดควรใช้
- สร้างโน้ตบุ๊ก `.ipynb` ใหม่จากศูนย์.
- แปลงบันทึกหรือสคริปต์ร่างให้เป็นโน้ตบุ๊กที่มีโครงสร้าง.
- รีแฟกเตอร์โน้ตบุ๊กที่มีอยู่ให้ทำซ้ำได้ง่ายขึ้นและอ่านผ่านได้ง่ายขึ้น.
- สร้างการทดลองหรือบทช่วยสอนที่ผู้อื่นจะอ่านหรือรันซ้ำได้.

## แผนผังการตัดสินใจ
- หากคำขอเป็นเชิงสำรวจ เชิงวิเคราะห์ หรือขับเคลื่อนด้วยสมมติฐาน ให้เลือก `experiment`.
- หากคำขอเป็นเชิงสอน ทีละขั้นตอน หรือระบุผู้ชม ให้เลือก `tutorial`.
- หากแก้ไขโน้ตบุ๊กที่มีอยู่ ให้ถือว่าเป็นการรีแฟกเตอร์: รักษาจุดประสงค์เดิมและปรับปรุงโครงสร้าง.

## เส้นทางทักษะ (ตั้งครั้งเดียว)

```bash
export CODEX_HOME="${CODEX_HOME:-$HOME/.codex}"
export JUPYTER_NOTEBOOK_CLI="$CODEX_HOME/skills/jupyter-notebook/scripts/new_notebook.py"
```

User-scoped skills install under `$CODEX_HOME/skills` (default: `~/.codex/skills`).

## เวิร์กโฟลว์
1. ยืนยันความตั้งใจ.
Identify the notebook kind: `experiment` or `tutorial`.
Capture the objective, audience, and what "done" looks like.

2. สร้างโครงจากเทมเพลต.
Use the helper script to avoid hand-authoring raw notebook JSON.

```bash
uv run --python 3.12 python "$JUPYTER_NOTEBOOK_CLI" \
  --kind experiment \
  --title "Compare prompt variants" \
  --out output/jupyter-notebook/compare-prompt-variants.ipynb
```

```bash
uv run --python 3.12 python "$JUPYTER_NOTEBOOK_CLI" \
  --kind tutorial \
  --title "Intro to embeddings" \
  --out output/jupyter-notebook/intro-to-embeddings.ipynb
```

3. เติมโน้ตบุ๊กด้วยขั้นตอนขนาดเล็กที่รันได้.
Keep each code cell focused on one step.
Add short markdown cells that explain the purpose and expected result.
หลีกเลี่ยงผลลัพธ์ขนาดใหญ่ที่รกเมื่อสรุปสั้นๆ ก็เพียงพอ.

4. ใช้รูปแบบที่เหมาะสม.
For experiments, follow `references/experiment-patterns.md`.
For tutorials, follow `references/tutorial-patterns.md`.

5. แก้ไขอย่างปลอดภัยเมื่อทำงานกับโน้ตบุ๊กที่มีอยู่.
Preserve the notebook structure; avoid reordering cells unless it improves the top-to-bottom story.
Prefer targeted edits over full rewrites.
If you must edit raw JSON, review `references/notebook-structure.md` first.

6. ตรวจสอบผลลัพธ์.
Run the notebook top-to-bottom when the environment allows.
If execution is not possible, say so explicitly and call out how to validate locally.
Use the final pass checklist in `references/quality-checklist.md`.

## เทมเพลตและสคริปต์ช่วยเหลือ
- เทมเพลตอยู่ใน `assets/experiment-template.ipynb` และ `assets/tutorial-template.ipynb`.
- สคริปต์ช่วยเหลือจะโหลดเทมเพลต อัปเดตเซลล์ชื่อเรื่อง และเขียนโน้ตบุ๊ก.

Script path:
- `$JUPYTER_NOTEBOOK_CLI` (installed default: `$CODEX_HOME/skills/jupyter-notebook/scripts/new_notebook.py`)

## แบบแผนสำหรับไฟล์ชั่วคราวและเอาต์พุต
- ใช้ `tmp/jupyter-notebook/` สำหรับไฟล์ชั่วคราว; ลบเมื่อเสร็จ.
- เขียนผลลัพธ์สุดท้ายภายใต้ `output/jupyter-notebook/` เมื่อทำงานในรีโปนี้.
- ใช้ชื่อไฟล์ที่คงที่และมีคำอธิบาย (ตัวอย่างเช่น `ablation-temperature.ipynb`).

## การพึ่งพา (ติดตั้งเฉพาะเมื่อจำเป็น)
Prefer `uv` for dependency management.

Optional Python packages for local notebook execution:

```bash
uv pip install jupyterlab ipykernel
```

The bundled scaffold script uses only the Python standard library and does not require extra dependencies.

## สภาพแวดล้อม
ไม่มีตัวแปรสภาพแวดล้อมที่จำเป็น.

## แผนที่อ้างอิง
- `references/experiment-patterns.md`: โครงสร้างการทดลองและหลักเกณฑ์เชิงประสบการณ์.
- `references/tutorial-patterns.md`: โครงสร้างบทช่วยสอนและลำดับการสอน.
- `references/notebook-structure.md`: รูปแบบ JSON ของโน้ตบุ๊กและกฎการแก้ไขอย่างปลอดภัย.
- `references/quality-checklist.md`: เช็คลิสต์การตรวจสอบขั้นสุดท้าย.

---

<!-- CO-OP TRANSLATOR DISCLAIMER START -->
คำปฏิเสธ:
เอกสารฉบับนี้ได้รับการแปลโดยใช้บริการแปลด้วยปัญญาประดิษฐ์ [Co-op Translator](https://github.com/Azure/co-op-translator) แม้ว่าเราจะมุ่งมั่นให้การแปลมีความถูกต้อง โปรดทราบว่าการแปลอัตโนมัติอาจมีข้อผิดพลาดหรือความคลาดเคลื่อนได้ ฉบับต้นฉบับในภาษาต้นทางควรถือเป็นแหล่งอ้างอิงหลัก สำหรับข้อมูลที่มีความสำคัญ แนะนำให้ใช้บริการแปลโดยนักแปลมืออาชีพ เราไม่รับผิดชอบต่อความเข้าใจผิดหรือการตีความที่ผิดพลาดใด ๆ ที่เกิดขึ้นจากการใช้การแปลนี้
<!-- CO-OP TRANSLATOR DISCLAIMER END -->

---

**Source:** [`microsoft/ai-agents-for-beginners`](https://github.com/microsoft/ai-agents-for-beginners) → `translations/th/.agents/skills/jupyter-notebook/SKILL.md`

Files in this skill

  • SKILL.md8.6 KB
  • assets/experiment-template.ipynb4 KB
  • assets/tutorial-template.ipynb4.2 KB
  • references/experiment-patterns.md3.1 KB
  • references/notebook-structure.md2.1 KB
  • references/quality-checklist.md2.9 KB
  • references/tutorial-patterns.md3.1 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.