anatomy
它能做什么
这项技能指导 AI 智能体制作可交互的等距插图,例如仪表、机器或机柜,展示事物的运作方式。适合希望制作清晰解说图的设计师、教师和开发者。
适用场景
- ✓当你想要一张图,解释某个技术设备或过程的运作方式时。
- ✓当示意图以带有活动部件的实体外观呈现会更清楚时。
- ✓当你需要一个可交互的图形,其读数会随部件移动而变化时。
技能链接
https://github.com/wheresryan22/anatomy/blob/main/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请画一个等距的表盘仪表图,展示压力如何带动指针移动。”
每周 5 个新技能,1 分钟读完。
工作原理
技能会用许多带阴影的小型实体部件构建图形,并配以带边框的卡片。屏幕上的每个数字都与驱动部件移动的同一模型相对应。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Anatomy
This skill makes figures like a small instrument on a bench: a heavy base on feet, rails with tick rulers, a carriage on bushings, knurled knobs, coil springs, a dial gauge whose needle moves, screws as tiny dots. The reader understands the idea because they recognise the machine. Every number the figure shows comes from the same model that moves its parts.
Eight complete examples ship with the skill. Open the closest one before you start. Each framework-free example is built with node examples/<name>/build.mjs, which writes a standalone HTML page next to the script; add --light for the light theme.
examples/dial-indicator/is the smallest: a dial gauge on a stand, about 300 lines in all.examples/desk-computer/is framework-free SVG: a desk computer with a keyboard you can type on. The typed line appears on a CRT screen drawn in the plane of the case front, and the picture collapses to a line and a dot when you switch it off. It has about 85 solids and 850 paths.examples/arcade-cabinet/is an upright arcade cabinet with its side panel off, a Hero of about 240 solids and 15 cables. A quarter flies into the slot, rolls down the coin chute at the speed a rolling disc reaches on a 30° slope, trips the coin-switch wire and drops into the cash box; the switch's pulse runs chunk by chunk along its cable to the board, and the CRT warms up, self-tests and runs an attract mode drawn in the plane of the tilted monitor. The stick tilts and closes a microswitch under the panel. It shows how to place a camera so a cutaway's mechanism stays in view, a concave board drawn as a prism along any axis, moving parts rebuilt in the page from the same module the build uses, and live coins and a wire drawn in reserved slots of the settled order.node build.mjs --auditproves the geometry.examples/raptor-engine/is a rocket engine hanging in a test stand. Its round parts come fromkit/lathe.mjsand its pipes and harness fromkit/tube.mjs. It comes apart into 11 assemblies with staggered springs and per-frame depth re-sorting. Every part records its true shape, andnode build.mjs --audit(kit/audit.mjs) proves, at rest, apart and in every replayed frame of the explode, that nothing passes through anything, that every end sits on a real mount, that no bend pinches, folds or lands on another line, that no curved profile's slope wobbles, and that every overlap is drawn in depth order. A WebGL plume, shock, splash and steam render between the back and front SVG. It is the reference for dense pipework, smooth shading and fades.examples/ripple-tank/is a school ripple tank on tall legs over a paper screen, seen from 44° up. Two WebGL layers (lamp light, shadows and caustics on the paper, and the water's reflections and glass) are registered to the isometric planes and driven by a pure dispersion and optics model (model.mjs); a frequency change travels out from the dippers through a history texture.examples/test-rig/is a production figure from a real site (React/Next): a glass button on a spring-mounted carriage, a finger probe on a rail that presses and pulls, and a dial gauge reading the lean. It has 53 solids and about 470 paths.examples/spot-plate/is a second production figure from the same site: six pairs of glass drops on a spot plate, each pair drawn from one distance field, so a pair closer thanmergeruns together into one piece of glass. A fan of feeler blades setsmerge, one blade per gap. It is the reference for shapes that morph into each other and for one control driving many parts.examples/turning-dial/is the optional 3D mode: a combination dial that turns in true 3D with a small robot hand on it. It has about 90 live parts in metal materials, a second turn group, a hinge, a three-hinge finger that lifts and a pod that breaks off as a free body. A WebGL LED, its light pool and sparks follow the moving parts.stress.mjsbeside it is a dense hand of about 380 parts in a cluttered workshop, used to measure performance.
The test rig is the quality bar for the drawing itself. The Raptor is the bar for shader work: a WebGL effect has to reach its standard of world-space, no-pop, seamless rendering.
The one idea that matters
The object is the explanation. Don't draw boxes, arrows and labels. Invent a real, well-made physical thing whose working is the concept. Here is how earlier figures mapped:
| Concept | Object |
|---|---|
| One shared GPU context se |
常见问题
它生成什么类型的文件?
它会生成一个独立的 HTML 页面,其中包含可交互的 SVG 图形,你也可以要求浅色或深色主题。
它附带示例吗?
附带。技能包含八个完整示例,其中最简单的是带支架的表盘仪表。
使用它需要框架吗?
不需要。示例使用无框架的 SVG,因此不需要任何框架。
详情
作者的原始描述
Build crafted, highly detailed, interactive isometric SVG figures that explain a technical idea as a real physical object (a test rig, a dial gauge, a cabinet of drawers, a plotter, a lock), with many small precise solid parts, four-tone shading, correct painter's order, a framed card with title, hint and live readout, and calm eased motion. Use this whenever someone wants an isometric illustration, an explanatory diagram or figure for docs, a blog post, a landing page or an article, a "Linear-style" or "premium" technical drawing, an interactive explainer, or an SVG that shows how a system, a
repo: wheresryan22/anatomy
热度
- GitHub 星标
- 24k
- 排名
- #10119
- 许可证
- MIT
- 更新时间
- 2026/10/18
评论
- …