Files
dotfiles/agents/.agents/skills/jupyter-notebook/assets/tutorial-template.ipynb
T
ddadmin 0009270c6e feat(agents): добавлены skills для PDF, docs, slides, jupyter и spreadsheet
- Зачем:
  - расширены возможности AI-ассистентов для работы с документами и презентациями
- Что:
  - добавлен skill pdf для работы с PDF файлами
  - добавлен skill doc для работы с Word документами
  - добавлен skill slides для создания презентаций PowerPoint
  - добавлен skill jupyter-notebook для работы с Jupyter ноутбуками
  - добавлен skill spreadsheet для работы с таблицами (Excel/CSV)
  - изменена модель Claude с sonnet на opus
- Проверка:
  - проверка доступности skills в AI-ассистентах
2026-03-13 23:35:45 +03:00

2.4 KiB

Tutorial: TITLE

Audience:

  • Describe who this is for.

Prerequisites:

  • List required concepts or setup.

Learning goals:

  • By the end, the reader can...

Outline

  1. Setup
  2. A minimal working example
  3. Variations and pitfalls
  4. Exercises
In [ ]:
# Setup cell: keep it short and deterministic
from __future__ import annotations

import math
import random

SEED = 21
random.seed(SEED)
SEED

Step 1 - Start with a tiny example

Explain what the next cell does in plain language.

In [ ]:
# Minimal working example
angles = [0, math.pi / 4, math.pi / 2]
sines = [math.sin(a) for a in angles]
list(zip(angles, sines))

Exercises

  • Try a different input.
  • Predict the output before running the code.
  • Note one common mistake and how to fix it.
In [ ]:
# Exercise answer scaffold
def describe(values: list[float]) -> dict[str, float]:
    return {"min": min(values), "max": max(values)}

describe(sines)