Help developers use @chenglou/pretext 1.0+, which measures and lays out multiline text without DOM reflow. Use for pretext, /rich-inline, layoutNextLine, upgrading from 0.0.x, text height, line count, shrink-wrap, auto-fit font size, line clamp, inline chips, mentions or images computed in JS; text around obstacles, even sprites or masks moving every frame; and canvas text whose letters move on their own: particles, game pieces, kinetic type, ASCII art. Also for its errors: "font must be a font string Canvas takes", "Text measurement requires OffscreenCanvas", or a layoutNextLine loop that never ends. Do NOT use for CSS-only layout, generic typography, or CSS shrink-to-fit questions.
Help developers use @chenglou/pretext 1.0+, which measures and lays out multiline text without DOM reflow. Use for pretext, /rich-inline, layoutNextLine, upgrading from 0.0.x, text height, line count, shrink-wrap, auto-fit font size, line clamp, inline chips, mentions or images computed in JS; text around obstacles, even sprites or masks moving every frame; and canvas text whose letters move on their own: particles, game pieces, kinetic type, ASCII art. Also for its errors: "font must be a font string Canvas takes", "Text measurement requires OffscreenCanvas", or a layoutNextLine loop that never ends. Do NOT use for CSS-only layout, generic typography, or CSS shrink-to-fit questions.
Installation & variants
Download the repository, including the skill’s supporting files.
Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's capabilities with specialized knowledge, workflows, or tool integrations.
Generate valid fancy-kanban boards — markdown-embedded kanban boards with typed fields, swimlanes, workflow rules, and card face configuration for Obsidian and compatible tools
No comments yet