isometric-explainer
它能做什么
这项技能构建一个交互式单页面,其中有一台带三维效果的机器,用来解释某个流程。适合希望读者亲眼看到并操控系统运作方式的教育工作者和作者。
适用场景
- ✓当某个概念是一个包含工位、顺序和故障点的流程时,例如流水线或队列。
- ✓当你希望读者破坏流程中的某个部分,看看会出现什么故障时。
- ✓当交互式机器是页面的主要内容时。
技能链接
https://github.com/rohitg00/ai-engineering-from-scratch/blob/main/.claude/skills/isometric-explainer/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请制作一个交互式机器页面,展示一个请求如何经过缓存、队列和重试策略。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体设计一台与流程相匹配的机器,并以三维风格的场景绘制它。一个经过测试的模型驱动运动、数字和文字,使画面与解释始终保持一致。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Isometric Explainer
This skill makes a single-page interactive figure. The figure is a solid isometric machine on a bench. Each station of the machine stands for one step of a process. For example, a request card moves on a carriage, a probe drops, and a press stamps the card. A pure state model decides every move, so the picture, the numbers and the words match. The templates/ folder holds a working starter, and kit/ holds the geometry library it uses.
When to use
- The concept is a process with stations, order and failure modes: a loop, a pipeline, a cache, a queue, a retry policy.
- The reader can break one part and see what fails.
- The figure is the main content of a page.
When not to use
- A static diagram explains the idea. Make a flat SVG figure instead.
- The concept has no order or state change. Make a static figure instead.
- The figure is a small diagram inside a lesson or a README. Use the sibling skill
blueprint-figure. - You cannot write a deterministic model of the behavior. Do not animate a guess.
- The job needs more than 150 parts and the user has not approved the size.
Method
Invent the machine. Write one sentence: "X moves through Y, and that motion means Z." If you cannot write it, pick another machine. See
references/concept.md.Count the parts on paper before you draw, and pick a tier.
Tier Parts Approval Figure 40 to 80 not needed Hero 80 to 150 not needed Larger more than 150 get the user's approval first Write the state model first. Make
model.mjspure and deterministic, with no DOM and no clock.simulate(config)returns an event list and totals. Test it before any geometry. Seereferences/state-model.md.Map each concept to a station. Write a table: station, concept word for its label, what it does, what fails without it.
Write the parts list. List each part with its assembly, size in world units, tone and whether it moves. Geometry comes after the list.
Set the camera. Use world units and one isometric camera. Set elevation to 30 degrees. Pick the azimuth so the working faces point at the viewer. Fit the projection over the assembled and the exploded pose.
Build the static geometry once. Each part becomes one SVG group with a depth key. Movers get a
data-livehook. Seereferences/geometry.md.Animate by translation. Move a part by changing its
transformonly. Rebuild a path only when its shape changes, such as a rod that gets longer.Paint from back to front. Sort groups by depth key plus the depth of their current offset. Reorder the DOM only when the order changes.
Paint with colour and ink. Each material has three flat tones, the main bodies have a heavy ink silhouette, and each body casts a short, flat, warm grey shadow on the bench. Exactly one accent colour marks the active part and its pill label. See
references/colour-and-ink.md.Add controls that change the model. Run, step, break, repair, reset and the config switches all act on a real
simulaterun. Write the config to the URL. Seereferences/live.md.Verify the page in a headless browser. Take screenshots at desktop and phone width in both themes. Add 4x close-ups, a line-end check, a scenario sweep with zero console errors and a contact sheet. See
references/verify.md.
Rules
Truth:
- The state model is the single source of truth. Motion, readouts, trace lines and outcome text all come from its events.
simulatewith the same config returns the same events. A test proves this for every config combination.- Never fake a real model, a real service or real metrics. A scripted part says "fixed script" in the page copy.
- Every page with simulated timing shows a sentence that starts "This is a simulation." and says that times are fixed costs, not measurements.
- Use real arithmetic in the model. Tests assert the exact numbers that the page prints.
Geometry:
- All coordinates are world units. Pixels appear only in the projection.
- Elevation is 30 degrees. The azimuth is one fixed value for the whole page. The reference page uses 60.
- Solids use
inkSolidfromkit/ink.mjs: three flat tones for each material, an ink outline, and a heavier silhouette round each main body. - Every line ends on a solid or on another line. A line with a deliberate loose end carries
data-free="start","end"or"". - Each station carries a pill label with a leader line to its working part, wi
常见问题
什么时候不应使用它?
如果一张平面图就能说明的静态概念,或者无法精确建模的流程,请不要使用它。
机器可以有多大?
除非你批准更大的规模,否则机器的部件数量限制在约 150 个。
页面包含什么?
包括控件、可视化的机器,以及用于确认其运行正常的检查循环。
详情
作者的原始描述
Builds an interactive isometric machine page. Each station of one invented machine stands for one step of a process. A pure, tested state model drives the motion, the readouts and the copy. The page has controls and a verification loop. Trigger phrases: "isometric explainer", "machine explainer", "explain this as a machine", "interactive isometric figure", "explorable explainer", "show how it works inside".
热度
- GitHub 星标
- 76k
- 排名
- #2618
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
blueprint-figure
76k帮你的智能体为课程、README 和手册绘制清晰的静态 SVG 图示,展示系统中真实部件之间的连接关系。
build-project
76k充当项目导师,每次带你完成一个实践 AI 项目阶段,提供提示和评分,但不给出完整答案。
check-understanding
76k对 AI Engineering from Scratch 课程中已完成的阶段进行小测验,让你在进入下一阶段前检查自己学到了什么。
claude-certification
76k在 AI Engineering from Scratch 课程的 Claude 认证路线中充当分步导师,提供课程、实验和练习考试。