Multiline text measurement and line breaking without DOM layout (Pretext / @chenglou/pretext). Use when implementing virtualization (fixed/predictable row heights), masonry or custom text layouts, canvas/SVG text, textarea auto-height, shrink-to-fit width, or avoiding getBoundingClientRect/offsetHeight reflows. Also use when the user says Pretext, 文本测量, 无 DOM 换行高度, or line-break layout in TypeScript.
Implements Manus-style file-based planning to organize and track progress on complex tasks. Creates task_plan.md, findings.md, and progress.md. Use when asked to plan out, break down, or organize a multi-step project, research task, or any work requiring >5 tool calls. Supports automatic session recovery after /clear.