This skill converts mathematical textbooks into interactive, hands-on courseware with a hacker mindset: treat formulas as legacy code to refactor.
Located at /mnt/ai/textbooks/:
lihang-code - Statistical Learning Methods (李航)
d2l-zh - Dive into Deep Learning
Book-Mathematical-Foundation-of-Reinforcement-Learning
python3 scripts/compile-textbook.py --source /mnt/ai/textbooks/d2l-zh --output staging/
For each day's content:
templates/exercise_template.pytemplates/test_template.pynp.testing.assert_allclose| Job | Schedule | Action |
|---|---|---|
| weekend-batch-compile | Sat 10:00 AM | Generate 7 days of materials |
| daily-deploy | Daily 14:00 PM | Deploy + git push + notify |
staging/
├── course_day1.html
├── course_day2.html
├── ...
├── exercises/
│ ├── day1_task.py
│ ├── day2_task.py
│ └── ...
└── tests/
├── test_day1.py
├── test_day2.py
└── ...
Daily at 14:00 PM:
staging/ to courseware/, exercises/, tests/