卧槽。一个 800 KB 的离线页面,一辆能让你以 50 km/h 在碎石路上驾驶的 6WD 卡车,然后按一个按钮,它就拆解成底盘、动力总成、悬架、内饰和电气系统。别再给机械演示添加手动打关键帧的动画了。 别再让一个智能体在还没确定卡车怎么运动之前,就先把它画出来。 这个技能叫 Elvar's teardown。免费,采用 MIT 许可证,在 Claude Code 中运行。这样的页面背后,工作是这么拆分的: → 智能体阅读一份真实参考资料,在画出任何一个零件之前,先把模型写成其输入的纯函数 → 智能体用代码按真实单位构建机器:外观、底盘、动力总成,以及各自配有独立悬架的 6 个车轮 → 智能体把每个面板都接到这个模型上:速度、挡位、路面,以及从 FL 到 RR 每个车轮各自的实时条形指示器 → 智能体为每个系统添加一个按钮:车灯、绞盘、车门、舱盖,以及一个控制爆炸视图的滑块 → 智能体在导览的每个节点渲染一张静帧,用数值修正每一处穿模,绝不靠调整相机 → 智能体逐步添加画质档位,直到页面在集成显卡上也能流畅运行。文章中的六足机器人从 15 fps 提升到了 75 你只需查看三个环节: → 参考资料。Elvar 要求生成一只不带任何附加物的穿山甲、一只犰狳和一只蝎子,结果得到了 3 个毫无特色的玩具。提供一张真实机器的图片是你的工作 → 手算核验。对于 Cessna 的齿轮,Claude 必须展示:32 个齿、模数 4 mm,对应一个 128 mm 的齿轮,转半圈对应 201 mm。任何一个数字,只要它找不到依据,你就当场叫停 → 静帧。它们发现了 2 个 Elvar 原本会带着发布的 bug:兔子的脸穿过了帽子,用一个数字 0.222 m 就修好了;还有一条六足机器人的腿,每次切换步态都会飞出去 完整提示词在回复里。 值得照搬的是这个顺序。先建模型,再做卡车,而相机永远不负责修复任何问题。 你上一个 3D 演示在发布前,有人逐个节点查看静帧吗,还是靠某个相机角度把车轮穿过挡泥板的问题藏起来了?
看原文
holy sh*t. one 800 KB offline page, a 6WD truck you drive at 50 km/h on gravel, then one button and it comes apart into chassis, powertrain, suspension, interior and electrical. stop adding hand-keyed animations to machine demos. stop letting one agent draw the truck before anything decides how it moves. the skill is Elvar's teardown. free, MIT, runs in Claude Code. the split behind a page like this: → Agent reads one real reference and writes the model as pure functions of its inputs before it draws a single part → Agent builds the machine from code in real units: exterior, chassis, powertrain, 6 wheels on their own suspension → Agent wires every panel to that model: speed, gear, surface, a live bar for each wheel from FL to RR → Agent adds one button per system: lights, winch, doors, hatches, an exploded slider → Agent renders a still at every tour beat and fixes each collision with a number, never with the camera → Agent adds quality steps until the page holds on integrated graphics. the hexapod in the article went from 15 fps to 75 You only look at three moments: → the reference. Elvar asked for a pangolin, an armadillo and a scorpion with nothing attached and got 3 generic toys. one picture of the real machine is your job → the hand check. on the Cessna gear Claude has to show that 32 teeth at a 4 mm module make a 128 mm gear and half a turn is 201 mm. any number it can't source, you stop it right there → the stills. they caught 2 bugs Elvar would have shipped: a rabbit's face through its hat, fixed by one number, 0.222 m, and a hexapod leg that flew off on every gait change full prompt in the reply. the part worth copying is the order. model first, truck second, and the camera never fixes anything. your last 3D demo, did anyone read a still per beat before it shipped, or did a camera angle hide the wheel going through the fender?