English | 한국어
This project mixes a Jupyter Book and local-only Manim video workflows. Keep changes small, explicit, and compatible with both local development and hosted book environments.
-
Use the repo skills first.
- Codex workflows live in
.codex/skills/. - Claude bridge workflows live in
.claude/skills/when the task matches the documented trigger.
- Codex workflows live in
-
Keep book and video dependencies separated.
requirements.txtis the full local environment for book + video work.requirements-book.txtis the minimal runtime for book, Binder, and GitHub Pages style builds.- If a notebook under
book/imports a package at runtime, updaterequirements-book.txttoo. - If Binder needs a system package, update
binder/apt.txt.
-
Write Binder-safe notebook paths.
- Do not assume the current working directory is the notebook directory.
- Prefer paths that work from repo root as well as notebook-local execution.
- For packaged data in the book, prefer
pathlib.Pathwith a repo-root path and a local fallback when appropriate.
-
Treat local-only assets as local-only.
3b1b/andvideos/assets/tabler-icons/are setup assets, not core repo content.- Do not commit generated caches, renders, or machine-local settings unless the change explicitly requires it.
-
Verify the path you changed.
- Book changes: build or otherwise verify the affected book content.
- Binder-facing changes: check Binder config and notebook runtime assumptions together.
- Video pipeline changes: prefer the bundled skill scripts instead of ad hoc shell rewrites.
- Keep unrelated changes out of the same commit.
- Avoid committing
.env, local settings, or other machine-specific files. - If a change affects published notebooks, include the dependency/config updates in the same PR.