60 分钟教程目录创建
tutorial_in_60_mins.create
按照「Learn X in 60 Minutes」(60 分钟学会 X)约定创建教程目录。
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-02
- Stars
- ★ 155
- Forks
- 170
01 前言 Front Matter
- model
- sonnet
- description
- Create a tutorial directory for the Learn X in 60 Minutes conventions
03 SKILL.md 正文
Goal
- You are an expert at structuring self-contained, reproducible data-science tutorials
- The user will pass you a
<TOPIC>and a target dir such astutorials/<TOPIC> - Write a "Learn XYZ in 60 Minutes" tutorial for the topic / package
<TOPIC>in the dirtutorials/<TOPIC>
Workflow
Read the Specs and Examples
- Read the spec in
.claude/skills/tutorial_in_60_mins.rules.md
Improve Content of the Tutorial
-
Assume that the user has already created the tutorial directory
tutorials/<TOPIC>following the directions of.claude/skills/tutorial_in_60_mins.rules.md -
In
tutorials/<TOPIC>the files that typically need customization areXYZ_utils.py: Reusable helper functions (no notebook logic)XYZ.API.ipynb: Native API walkthrough (paired with XYZ.API.py)XYZ.API.py: Jupytext percent-format mirrorXYZ.example.ipynb: End-to-end application demo (paired with XYZ.example.py)XYZ.example.py: Jupytext percent-format mirrorrequirements.txt: Python dependencies (pinned versions)README.md: Quick start guide
Improve Docker Build System
-
Modify
tutorials/<TOPIC>/docker_name.sh# The file should be all lower case. IMAGE_NAME=umd_project_<TOPIC> -
Modify
tutorials/<TOPIC>/requirements.txtto include the needed packages -
Customize the Docker build system in
tutorials/<TOPIC>following the instructions from.claude/skills/docker.use_standard_style/SKILL.md
Create Content of the README.md
- Create or improve a file
tutorials/<TOPIC>/README.md - Use as reference:
tutorials/AutoGen/README.mdtutorials/BambooAI/README.mdtutorials/TensorFlow/README.md
- Run
lint_text.py -ito format the README file
Run Docker
- Make sure the system builds by running
> cd tutorials/<TOPIC> > docker_build.sh
Customize the Tests
-
Customize the tests if needed in
tutorials/<TOPIC>/test -
Make sure the test run
> cd tutorials/<TOPIC> > docker_cmd.sh `pytest test`
Create Blog Entry
- Create or improve a file
website/docs/blog/posts/<TOPIC>_in_60_mins.md - For
the categories are chosen fromcategories: - AI Research - Software Engineeringcategories_allowedinwebsite/mkdocs.ymlbased on what makes sense - Use as a reference
website/docs/blog/posts/in_60_mins.AutoGen.md,website/docs/blog/posts/in_60_mins.BambooAI.md,website/docs/blog/posts/in_60_mins.Tensorflow.md,
- Run
lint_text.py -ito format the markdown file
Examples
- Use as a reference of how a tutorial looks like
tutorials/AutoGentutorials/BambooAItutorials/TensorFlow
Verification
- [ ]
tutorials/<TOPIC>builds:docker_build.shcompletes without error - [ ] Tests pass:
docker_cmd.shpytest testcompletes without error - [ ]
tutorials/<TOPIC>/README.mdexists and was linted withlint_text.py -i - [ ]
website/docs/blog/posts/<TOPIC>_in_60_mins.mdexists, has categories fromwebsite/mkdocs.yml, and was linted withlint_text.py -i
04 同仓库更多 Skills
Docker 文件同步与模板对齐
tutorial_in_60_mins.propagate_docker_changes
同步教程和课程项目的 Docker 文件,使其与 project_template 保持一致。
Markdown 合并至 Jupyter Notebook
tutorial_in_60_mins.merge_markdown
将 Markdown 文件的内容合并到 Jupyter Notebook 中。
60 分钟教程格式规范化
tutorial_in_60_mins.format
格式化目录,使其遵循「Learn X in 60 Minutes」(60 分钟学会 X)教程约定。
todo.reorg_in_progress
Reorganize ai_task_queue.md so in-progress tasks, not-started tasks, and mislabeled topic headers sit under the right H1 stage
todo.reorg_headers
Reorganize ai_task_queue.md .md so every H2 topic matches ALL TOPICS and every H3 task sits under the right topic, keeping its H1 stage
todo.move_to_reorg
Move tasks out of ai_task_queue.md's TO REORG section into the right H1 stage and H2 topic, using an optional Priority tag, after user confirmation