SKILL.md 共 185 行,第 10 步叫「Verify like a critic」,要求 node build.mjs --audit 必須以 audit passed 結尾,每一條失敗項目都歸 0。我想知道的是:一份寫給 agent 的指令,為什麼會把驗收寫得這麼硬?

先把時間線排出來,因為它比文件的任何一段都更能回答這個問題。

wheresryan22/anatomy 的時間線(2026-11-28 以 gh api 取證)

2026-10-08

repo 建立(created_at 2026-10-08T10:12:49Z),授權 MIT。

2026-10-10

v1.0.0 發佈。release notes 寫它是「a Claude Code skill that explains an idea by building it as a real, working object」,附 8 份 references、8 個範例。

2026-10-12

v1.1.0 發佈。新增社群 gallery 的發佈流程,另有「38 fixes, mostly in the checks that keep figures honest」;同時支援 OpenCode 與 Codex。

2026-10-18

main 最後一筆 commit(1482e84)與 pushed_at 都落在這天。到 11 月 28 日取證,過了 41 天沒有新 push。

2026-11-28

我取證的這一天:stargazers_count 為 29599,contributors 清單長度 13,只有 v1.0.0 與 v1.1.0 兩個 release。

兩天之內從 v1.0.0 走到 v1.1.0,而後者最大的一塊不是新功能,是 38 個修正,release notes 說「mostly in the checks that keep figures honest」。我的讀法是:檢查本身也會寫錯,寫錯的檢查會放過有問題的圖,所以要一直修。這只是我的推測,我沒有逐項讀那 38 項修正,只能引這句自述。

先發明一台機器,再談畫圖

SKILL.md 最核心的一句:「The object is the explanation. Don’t draw boxes, arrows and labels. Invent a real, well-made physical thing whose working is the concept.」

它給的對照表有 7 列,我挑兩列抄在這裡:「A cache key that skips work when nothing changed」對應「A pin-tumbler lock: when every pin matches, the plug turns and nothing is redrawn」;「A separable blur (49 × 49 taps vs 49 + 49)」對應「A bed-of-nails stamp beside two combs on rails」。概念先被換成一台能看得懂怎麼動的機器,圖才開始畫。

它也列了兩種要避開的失敗:「Too abstract」,疊起來的板子、漂浮的方塊、貼標籤的框不構成任何東西;「Too flat and bland」,一大塊板子上幾條線,沒有體積、沒有零件、沒有可以發現的東西。SKILL.md 開頭另有一句規定:圖上顯示的每個數字,都來自同一個驅動零件移動的模型(「Every number the figure shows comes from the same model that moves its parts」)。

10 步裡,我停在第 10 步

10 步的標題依序是:Size it before you start、Truth first、Invent the object、Parts list、Plan the world、Build geometry once、Paint back to front, bottom to top、Frame it、Make it live、Verify like a critic。前面九步都是在把圖做出來,只有最後一步是在逼 agent 承認哪裡沒做好。

第 10 步原文列的關卡,我整理成一條一條:

  • node build.mjs --audit 要以 audit passed 結尾,每一條失敗項目為 0。
  • node scripts/lines.mjs page.html --out shots/lines.png 要印出 line ends: 0。
  • 每個接點、兩種主題(深色與淺色)各做 4 倍特寫。
  • shader 以 ["slow", 0.05] 做 contact sheet。
  • 「Read every PNG you make.」

最後一句最特別。它要求 agent 自己產生的每一張圖都要讀,不能只看指令的退出碼。理由寫在同一段:「The owner finds faults by zooming in, so you zoom in first.」使用者會放大看,所以 agent 要先放大。

audit 本身查哪些東西?SKILL.md 的 Setup 表說 auditOrExit(R, P) 跑 12 項:clearances、solidClearances、terminals、looseEnds、supports、folds、selfOverlaps、crowding、coverage、wobble、seats、depthOrder。名字我看得懂一半,另一半(例如 wobble、seats)我只知道它們在清單上,不知道各自的判定門檻,因為我沒有去讀 kit/audit.mjs。

有兩條規定我認為是整份文件最有意思的地方。步驟 7 寫「Record the true shape of what you draw: a stand-in shape that silences the audit is a bug, and the audit fails one.」拿一個替身形狀把稽核蓋掉,算 bug,稽核也會判它不過。步驟 10 寫「Fix an interlock in the geometry, never with a key bias.」interlock 與 key bias 這兩個詞,文件裡我沒找到定義,我的字面理解是:幾何上的接合有問題,就改幾何本身,不要用別的調整把問題蓋過去。這兩條看起來都在預防同一件事:agent 為了讓關卡變綠而去改關卡看的東西,不改圖。後半句是我的解讀,不是文件的說法。

scripts/lines.mjs 是另一道關:Setup 表說它在任何失敗時 exit 1。「Lines resolve」是 craft rules 裡的一條,原文是「Every line ends on something: a face, another line or a terminal dot.」每條線都要停在某個東西上,面、另一條線或端點圓點。這條規則有個對應的指令去數 line ends,而不是留給 agent 目測。

我的立場

我覺得,要 agent 做視覺產出,驗收一定要寫成「會印出數字或退出碼的指令」,再加上「要求逐張讀自己產生的圖」,只寫「檢查看起來對不對」會太鬆。這份 SKILL.md 把兩層都寫進去了:機器能數的(line ends、audit)交給指令,機器數不了的(接點看起來對不對)交給 4 倍特寫,再要求 agent 逐張讀圖。

會讓我改變想法的條件有兩個。一個是有人拿 audit passed 與 line ends: 0 都通過的圖,舉出仍然明顯有問題的案例,而且比例不低,那代表這些關卡在擋的不是真正的問題。另一個是有人把關卡全拿掉、同一個 prompt 跑一樣多次,品質沒有差別,那這一整層就是儀式。目前這兩種證據我都沒看到,因為我沒跑過它,也沒讀到別人的對照。

規模分級:Epic 先不要動手

步驟 1 把工作量分三級:

級別 原文描述 零件數
Figure one mechanism, SVG with at most one WebGL layer 40–80
Hero a dense object, several WebGL layers or one 3D subject;About 2–4 hours 80–150
Epic a whole vehicle, building or plant with many moving systems;6 hours or more 更多

Epic 那一格的指示我覺得寫得很不尋常:「Do not start it. Give the estimate, propose a Hero version that keeps the core of the idea, and list what the full version would add. Build the Epic only when the user chooses it.」不要開工,先給估時,提一個保留核心的 Hero 版本,再列出完整版會多什麼,使用者選了才做。

另外有一句約束時間的原文:「Whatever the size, have a working page that opens in the browser within the first hour, and deepen it from there.」不管多大,第一個小時內要有一頁能在瀏覽器打開的東西。還要求在開始與每個步驟執行 date,某步超過它分到的估時的兩倍,就告訴使用者進度。

這裡我讀到文件自己改過口。SKILL.md 現在說 Figure 不要報時間:「Do not quote a time to the user, since a Figure often finishes in well under an hour.」CHANGELOG 的 [Unreleased] 段有一條對應:「A Figure no longer quotes a time to the user. The 30–90 minute estimate was often far longer than the build itself (#41).」原本報的 30 到 90 分鐘常常比實際建置久得多。這條只出現在 [Unreleased],v1.1.0 的 release notes 沒列。

文件對不上、或容易看岔的三處

我在 README、SKILL.md、CHANGELOG 與 repo 目錄之間找到三處對不上或容易看岔的地方,都是照原文與目錄對出來的:

  1. 範例數量。README 的 Examples 表列 8 個(dial-indicator、desk-computer、arcade-cabinet、raptor-engine、ripple-tank、test-rig、spot-plate、turning-dial),SKILL.md 寫「Eight complete examples ship with the skill.」。examples/ 目錄實際有 9 個子目錄,多出來的是 push-button,裡面有 build.mjs、sheet.mjs 與三份 A4 PDF;SKILL.md 在別處引用它當 pdfButton 的參考。
  2. Node 門檻有兩個。README 的需求表寫 Node.js 20.10+(用於 builds、kit、checks,只用內建模組);但 README 另一處說 skills CLI 1.7.1 版要 22.20 以上,v1.0.0 release notes 也寫 skills CLI 需要 Node 22。前者是 kit 的門檻,後者是安裝工具的門檻,同一份文件裡兩個數字都出現。SKILL.md 另說在 Node 20 上,瀏覽器腳本會帶 --experimental-websocket 自己重啟。
  3. 列印功能的位置。SKILL.md 與 README 都已經在描述可列印頁(poster、drawing、detailed 三種 A4 PDF),但 CHANGELOG 把它放在 [Unreleased],v1.0.0 與 v1.1.0 的 release notes 都沒有提。我沒有 checkout 任一個 tag,所以我只能說「文件寫了、release notes 沒提」,無法確定 v1.1.0 的 tag 裡有沒有列印腳本。

references 也有同樣的時間差:v1.0.0 的 release notes 寫「Eight references」,現在目錄裡是 10 份(3d、craft、kit、motion、print、publish、react、verify、walkthrough、webgl)。這個比較單純,應該是發版之後又長出來的,我沒有逐版比對。

另有一個小對照。我先前記在 Notion 筆記裡的星數是 29,481,今天重取是 29,599;筆記裡說測試約 40 個,我今天數 scripts/ 底下的 *.test.mjs 是 45 個。兩個數字都會隨時間變動,所以文中的星數我都標日期。

作者自述的效能數字

SKILL.md 與 README 對 3D 模式的效能有一段話,我全部標成作者自述。它說小圖 60 fps;一隻 380 個零件、會彎曲的手,在 1440 寬度大約 20 fps,在手機設定(390 px、4× CPU 節流)約 13–15 fps,測量環境是「a heavily loaded machine」。3D 模式還明寫是 beta:「the engine is proved on its example and one test figure, not yet on a production figure」,也就是引擎只在它的範例與一個測試圖上證明過。完整驗證 30 個零件要 15 到 20 分鐘,建議放背景跑。我沒有量測任何一個數字。

我沒做的

我沒有安裝 anatomy,沒有執行 /anatomy,沒有跑 build.mjs、audit 或 capture,也沒有打開任何範例的 HTML。這篇所有內容來自 SKILL.md、README、CHANGELOG、release notes 與 gh api 的輸出。我沒有看社群 gallery 的 repo,也沒有讀 kit/audit.mjs 的實作,12 項檢查的門檻我也不知道。各範例的零件與路徑數(例如 test-rig 的 53 個 solids、約 470 個 paths)是 SKILL.md 的自述,我沒數。

最後留一個我沒解開的問題:repo 的最後一次 push 停在 10 月 18 日,列印功能在 main 上描述得很完整,卻沒出現在兩份 release notes 裡。是發版流程還沒走到,還是有什麼東西卡住?CHANGELOG 把它放在 [Unreleased],但沒說為什麼還沒發,我也沒去翻 issue。下一次打開這個 repo,我會先看有沒有 v1.2.0。

參考來源:wheresryan22/anatomy(README、SKILL.md、CHANGELOG.md、v1.0.0 與 v1.1.0 release notes,main 取自 commit 1482e84;gh api 於 2026-11-28 取證;本文沒有安裝或執行過 anatomy)