new-notebook
/new-notebook
Tworzy nowy notatnik w repozytorium serii JAX na TPU i rejestruje go w pliku konfiguracyjnym.
Ocena i bezpieczeństwo
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 1
Brak sygnałów. Repozytorium zmienione 04.11.2026, bez odwołań do wycofanych modeli i API.
Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.
Co robi i kiedy
Tworzy nowy notatnik w repozytorium serii JAX na TPU i rejestruje go w pliku konfiguracyjnym.
Oryginalny opis (EN)
Scaffold a new notebook in this repo - creates the py:percent source in src/, registers it in notebooks.json with an accelerator, and builds it. Use when adding a notebook to the JAX-on-TPU series.
Jak działa
- 1. Pick the number and name
- 2. Create src/<stem>.py
- 3. Register it in notebooks.json
- 4. Build and confirm
Podgląd SKILL.md
---
name: new-notebook
description: Scaffold a new notebook in this repo - creates the py:percent source in src/, registers it in notebooks.json with an accelerator, and builds it. Use when adding a notebook to the JAX-on-TPU series.
disable-model-invocation: true
---
Scaffold a new notebook. `$ARGUMENTS` is the notebook name (e.g. `03_sharding_on_tpu`).
These three steps are coupled — a source with no `notebooks.json` entry is silently skipped by the
build, and an entry with no source fails it. Do all three.
## 1. Pick the number and name
Read `notebooks.json` for the existing entries and continue the numbering. The stem must be
`NN_snake_case`, matching the existing files. If `$ARGUMENTS` is empty or has no number, ask.
## 2. Create `src/<stem>.py`
Start from the header block that `src/01_jax_tpu_mechanics.py` uses:
```python
# ---
# jupyter:
# jupytext:
# text_representation:
# extension: .py
# format_name: percent
# ---
```
Then a `# %% [markdown]` title cell and the section skeleton. Follow the house style of the existing
sources: each section states what it teaches, names the source file in `~/tpu-jax` it draws from, and
lists the beats to hit. Leave `# TODO` in the code cells rather than inventing content.
Do **not** add an Apache-2.0 header or a Colab badge — `tools/build_notebooks.py` injects both.
## 3. Register it in `notebooks.json`
Add to the `notebooks` object:
```json
"<stem>.py": { "title": "...", "accelerator": "TPU", "tpu": "v6e1" }
```
Use `"tpu": "v5e1"` if the notebook is specifically about the 16 GB chip's constraints. Set
`"accelerator": "None"` only if the notebook genuinely does not need an accelerator.
## 4. Build and confirm
Run `make build`, then `make check` to confirm the build is reproducible. Report the new notebook's
cell count and its Colab URL:
`https://colab.research.google.com/github/<repo>/blob/main/notebooks/<stem>.ipynb`
Do not run `make verify` — a skeleton of TODO cells has nothing to verify.
Wersje
W bazie nie ma innych skilli o nazwie new-notebook.
Migawka bazy z 13.11.2026 · wersja paczki 802570c6cd1f (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 90port-finding
Zamienia wynik pomiaru z repozytorium TPU w sekcję notatnika, która mierzy wynik ponownie na czipie czytelnika. - 100code-notebooks
Generuje notatniki z krokami samouczka, w których każde twierdzenie jest sprawdzone asercją, a wynik zapisuje się bez błędów. - 100export-ml-notebook
Zapisuje plik jupytext percent jako notebook z puustymi wynikami, na przykład dla data_analysis, experiments i audit, opcjonalnie od razu jako widok HTML na stronie. - 100add-notebook
Dodaje lub aktualizuje notebook przykładowy w dokumentacji finitevolX: plik .py w formacie jupytext z wykresami zapisywanymi jako PNG, renderowany przez mkdocs-jupyter bez wykonywania i wpisany do nawigacji. - 100blog-notebooklm
Odpytuje Gemini Notebook, dawniej NotebookLM, o odpowiedzi oparte na źródłach przez zalogowaną sesję przeglądarki, uruchamiając się tylko na jawne polecenie lub gdy użytkownik wskazał notatnik do researchu. - 95neqsim-notebook-patterns
Pokazuje wzorce notebooków Jupyter z NeqSim: konfigurację środowiska, strukturę, wizualizację i schemat wyników.