pretext-skill 是做什麼的?
用於 @chenglou/pretext 的 AI 技能 — 無需 DOM 重排即可獲取精確的文字度量
用於 @chenglou/pretext 的 AI 技能 — 無需 DOM 重排即可獲取精確的文字度量
這個 AI 技能專為 @chenglou/pretext 工具而設計,它提供了一種無需觸發 DOM 重排即可計算精確文字度量(如寬度與高度)的方法。對於前端開發者和設計師而言,這項技能在進行文字排版、動畫處理或佈局運算時特別有用,因為它能避免因頻繁的 DOM 操作而導致的性能瓶頸。此技能支援在命令列環境(如 Claude Code 或 Cursor)中整合,透過簡單的步驟即可在專案中測量文字,提升開發效率。其運作原理是直接操作文字字串並利用底層字型引擎計算度量,完全不依賴瀏覽器或 DOM 環境,因此適合在伺服器端或建置流程中使用。
npx skills add yaniv-golan/pretext-skillInstalled? Explore more 程式設計與開發 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →
用於 @chenglou/pretext 的 AI 技能 — 無需 DOM 重排即可獲取精確的文字度量
Send and manage iMessages via BlueBubbles, including attachments, tapbacks, edits, replies, and groups.
Control Eight Sleep pods (status, temperature, alarms, schedules).
BluOS CLI (blu) for discovery, playback, grouping, and volume.
Create, search, and manage Bear notes via grizzly CLI.
Capture frames or clips from RTSP/ONVIF cameras.
Search GIF providers with CLI/TUI, download results, and extract stills/sheets.