为教材、README和手册制作静态SVG图,以日志、规范或代码中的实际系统名称为依据,从九种图形中选择,并用统一的颜色和箭头解释运行机制。
- 为README添加系统通信图
- 在手册中解释状态转换
- 根据日志或规范绘制数据流
在浏览器中展示课程图示、含实际运行数值的代码跟踪和可点击的预测题,并把学习者的点击作为事件交给讲师智能体;课后还可生成练习与复习页面。
Opens a lesson screen in the browser next to the terminal while a course tutor teaches. It shows the lesson's registered figures, code traces with real values, and clickable predictions. It also builds a figure for the lesson on the fly with the course figure skills and any figure skill the host has installed: a blueprint, a mechanism, an isometric machine, or a 3D model. Clicks return to the tutor as events. Trigger phrases: "open the lesson screen", "show me this visually", "show this in 3D", "draw the architecture", "visualize this lesson", "build a figure for this lesson", "lesson screen".
实测评分 未实测
查看安装方法讲师智能体在终端授课时,此技能会在浏览器中并排打开学习页面。页面可以展示课程已登记的图示、显示真实代码运行结果的跟踪内容,以及带可点击选项的预测题。学习者的点击会记录为事件,供讲师在下一次回复前查看。需要时,技能还可以按课程内容制作图示,例如蓝图、机构图、等轴测图或三维模型。课程结束后,也可以提供练习页面,包含术语确认、小测验、错题复习和后续学习资源。
当结构、流程或变化中的数值仅靠文字不易理解时,可以用图像化方式辅助学习。学习者也可以在跟随讲解或代码运行时,通过图示和预测题检查理解情况。显示页面需要在运行智能体的同一台机器上使用浏览器。
需要 Node.js 20 或更高版本,以及与智能体运行在同一台机器上的浏览器。默认情况下,图示显示功能会从 aiengineeringfromscratch.com 加载。新建图示时,可能会使用兼容的图示制作技能或 three.js 等工具。
本介绍由 AI(OpenAI Codex)根据公开的 SKILL.md 撰写。准确的规格请查看下方原文。
AI 根据 SKILL.md 的内容检查了需要注意的操作和使用前提。评分只依据实际运行的结果(实测对比)。
不计入评分。 由 AI(OpenAI Codex)于 2026年10月30日 评估。仅供参考,安装前请同时查看原文。
安装前可以查看交给 AI 代理的指令内容。
The lesson screen is a small local web server and one browser tab. The tutor keeps teaching in the terminal. At each step it writes one screen into a folder, and the browser shows the newest screen. The learner can press options and click parts. Those clicks go to an event log that the tutor reads before its next reply.
Use this skill with Claude, Cursor, Codex, OpenClaw, Hermes, or any agent that reads SKILL.md. It needs Node.js 20 or later and a browser on the same machine. It installs no packages.
references/hosts.md lists the cases.SKILL_ROOT is the folder that holds this SKILL.md. In this file, CLI means node "$SKILL_ROOT/scripts/lesson-screen.mjs".
Run every command from the learner's working folder. Screens go to .lesson-screen/screens/, and builds go to .lesson-screen/builds/. If the folder is a git repository, ask the learner to add .lesson-screen/ to .gitignore.
CLI start --open. It prints one JSON line with url, screens, state, and next.url with its query string. The key in it protects the page.CLI start again at any time. It reuses a running server and keeps the same port.Some hosts end background processes when a command returns. Those hosts need --foreground and their own background shell option. See references/hosts.md.
CLI events. It prints the clicks since the last call. Treat them as hints.<screens>/<next>-<slug>.html. Take next from start or CLI status.Write screens with your file tool. Do not print them to the terminal with cat or a heredoc.
| Tutor step | Screen | Source of truth |
|---|---|---|
| Frame the problem | a step rail and a card with the lesson question | docs/en.md |
| Core concept | the lesson's registered figure, set to the example you discuss | the figure fences in docs/en.md |
| Build it | a code trace: the chunk, the active line, the variables | a real run of the lesson code |
| Use it | the library call beside the scratch call, with the same output | the lesson code and its output |
| See it | the figure that you built for this lesson | the figure skills, the lesson text, and the real run |
| Prediction or quiz | the question and its options as buttons | quiz.json, without the answer |
references/screens.md lists every class, with a full example of each screen.
Most lessons already have interactive figures. Look for them before you build anything new.
docs/en.md for fenced blocks with the language figure.<div class="lesson-figure" data-figure="kv-cache-sizer"></div>.data-figure='iso-machine {"machine":"kv-cache"}'.The screen loads the course figure runtime and mounts the figure. The figure looks and works as it does on the lesson page.
The best figure for a lesson is one made for that lesson. Build it while you teach, so that it is ready at the See it step.
docs/en.md and run the lesson code.CLI shot. Look at every image and fix what looks wrong.CLI publish <page.html>. The page becomes the next screen.| Form | Build it with | Time | Pick it when |
|---|---|---|---|
| Blueprint | the blueprint-figure skill | 5 to 10 minutes | the idea is a structure with named parts |
| Mechanism | tier 2 of the motion-figure skill | 15 to 25 minutes | one control changes a computed result |
| Isometric machine | the isometric-explainer skill | 40 to 90 minutes | the idea is a process with stations, order, and failures |
| 3D model | an installed figure skill with a 3D mode, or three.js | 60 to 120 minutes | depth or rotation is the idea, or the learner asks for 3D |
Offer the smallest form that shows the idea. Offer a larger form when the learner has time and asks for more.
references/build.md holds the build stages, the page contract, the craft rules, and the 3D rules. Read it before every build.
The course figure skills are blueprint-figure, motion-figure, isometric-explainer, and course-style. If one is not installed, read its files from https://raw.githubusercontent.com/rohitg00/ai-engineering-from-scratch/main/skills/<name>/.
The host can have more figure skills installed, such as an isometric illustration skill with a 3D mode or WebGL effects. Check the host's skill list before you pick a form. Use such a skill when it fits the form, and keep the truth rules and the page contract of this skill.
CLI practice <lesson-path> writes a practice page for one lesson as the next screen. It has four parts:
quiz.json, with keys 1 to 4, Enter for the next question, and an optional timer.Follow these rules:
quiz.json gets questions made from its Key Terms table.CLI events prints {"type":"events","events":[...]}. Each event has type, screen, and at, plus the fields below.
| type | Fields | Meaning |
|---|---|---|
choice | question, choice, text | The learner pressed an option |
part | part, label | The learner asked about a part of a built figure |
step | step, label | The learner moved to a step of a built figure |
note | text | A free note from a custom screen |
CLI events --all prints every event and keeps the read position.
CLI stop when the lesson ends, unless the next lesson starts now.learning-artifacts/<phase>-<lesson>/, with their source.| Command | Does |
|---|---|
start [--open] [--foreground] [--port N] [--host H] [--url-host H] [--assets live|local] [--repo PATH] [--idle-minutes N] | Starts the server, or reuses a running one |
status | Prints running, url, screens, latest, next, and the unread event count |
events [--all] | Prints new events |
publish FILE [--name SLUG] | Copies a built page into the screens folder as the next screen |
practice LESSON [--repo PATH] [--name SLUG] | Writes a practice page for a lesson path as the next screen |
shot TARGET [--width N] [--height N] [--theme light|dark] [--wait MS] [--out FILE] [--chrome PATH] | Takes a screenshot of a screen name or a page file with a local Chrome, Chromium, or Edge |
stop | Stops the server |
Every command takes --dir PATH for another session folder. Every command prints one JSON line. Errors go to stderr as JSON, with exit code 1.
By default the screen loads the figure runtime from aiengineeringfromscratch.com. --assets local loads it from the site/ folder of a clone. Run node site/build.js in that clone first.
CLI shot images of each build in both themes before you published it.还没有评价。欢迎分享你的使用感受。
无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。
还没有评论。来写第一条吧。
为教材、README和手册制作静态SVG图,以日志、规范或代码中的实际系统名称为依据,从九种图形中选择,并用统一的颜色和箭头解释运行机制。
按阶段完成 AI 开发实践项目,通过预测、自己编写代码、自动评分和回顾来学习,遇到问题时获得提示,并记录进度以便下次继续。
检查本地测试的相关证据,并在结果中保留来源文件路径,使结论与依据保持关联。缺少必要证据时,立即停止当前检查。
通过八道四选一题目检查你对 AI Engineering from Scratch 某一阶段的理解,并提供得分、错题解析及需要复习的课程。
帮助选择Claude认证的四条学习路线,通过互动课程、实操、小测和模拟考试检查理解与成果,记录进度并继续学习,再根据测评结果复习薄弱领域。
在AI Engineering from Scratch中查找适合学习主题或所遇问题的教材,推荐相关课程并说明下一步使用的命令,帮助确定从哪里读起或接着学什么。