Use this skill when the request maps to one of the official Pretext demo families:
Accordion, Bubbles, Dynamic Layout, Variable Typographic ASCII, Editorial Engine,
Justification Comparison, Rich Text, or Masonry.
Default to browser-first implementations that keep Pretext in the actual layout path.
Do not fall back to DOM text measurement in resize or interaction hot paths.
Typical trigger patterns:
measure text height without DOM reflow
auto-fit text into a fixed number of lines
shrink-wrap multilingual bubbles
route text around an obstacle
build algorithmic typography or glyph-field motion
compare line-breaking strategies
Required Workflow
Pick the official demo family that best matches the request.
Pick the style profile that best matches the visual target.
Use the corresponding example or blueprint from the bundled resources.
Keep Pretext in the real measurement path:
prepare() and layout() for Accordion, Bubbles, Masonry
prepareWithSegments() and layoutNextLine() for Dynamic Layout and Editorial Engine
prepareWithSegments() and layoutWithLines() for Variable Typographic ASCII
walkLineRanges() for width-tight probing and comparison workflows
Keep the design intentional:
strong typography
clear compositional point of view
motion tied to text geometry rather than decorative-only animation
Validate:
desktop and mobile
resize reflow
no getBoundingClientRect() / offsetHeight in the text relayout hot path
Bundled Resources
references/official-notes.md for upstream author constraints
references/demo-family-map.md for official demo mapping and API pairing
references/prompt-recipes.md for high-quality prompt patterns
references/design-rules.md for visual direction and anti-generic rules
references/font-strategy.md for typeface selection and fallback rules
references/style-profiles.md for choosing the right visual profile before implementation
references/integration-gotchas.md for framework lifecycle, font loading, and SSR constraints
examples/README.md for example selection and recognition hints
examples/ for runnable starter examples
integrations/README.md for real TypeScript framework integrations
integrations/ for vanilla, React, Vue, and Svelte reference projects
blueprints/ for richer but non-runnable cases
{{quickReferenceSection}}
1---2name: object-object3description: [object Object]4---56# {{title}}78## Overview910Use this skill when the request maps to one of the official Pretext demo families:11Accordion, Bubbles, Dynamic Layout, Variable Typographic ASCII, Editorial Engine,12Justification Comparison, Rich Text, or Masonry.1314Default to browser-first implementations that keep Pretext in the actual layout path.15Do not fall back to DOM text measurement in resize or interaction hot paths.1617Typical trigger patterns:1819- measure text height without DOM reflow20- auto-fit text into a fixed number of lines21- shrink-wrap multilingual bubbles22- route text around an obstacle23- build algorithmic typography or glyph-field motion24- compare line-breaking strategies2526## Required Workflow27281. Pick the official demo family that best matches the request.292. Pick the style profile that best matches the visual target.303. Use the corresponding example or blueprint from the bundled resources.314. Keep Pretext in the real measurement path:32 - `prepare()` and `layout()` for Accordion, Bubbles, Masonry33 - `prepareWithSegments()` and `layoutNextLine()` for Dynamic Layout and Editorial Engine34 - `prepareWithSegments()` and `layoutWithLines()` for Variable Typographic ASCII35 - `walkLineRanges()` for width-tight probing and comparison workflows365. Keep the design intentional:37 - strong typography38 - clear compositional point of view39 - motion tied to text geometry rather than decorative-only animation406. Validate:41 - desktop and mobile42 - resize reflow43 - no `getBoundingClientRect()` / `offsetHeight` in the text relayout hot path4445## Bundled Resources4647- `references/official-notes.md` for upstream author constraints48- `references/demo-family-map.md` for official demo mapping and API pairing49- `references/prompt-recipes.md` for high-quality prompt patterns50- `references/design-rules.md` for visual direction and anti-generic rules51- `references/font-strategy.md` for typeface selection and fallback rules52- `references/style-profiles.md` for choosing the right visual profile before implementation53- `references/integration-gotchas.md` for framework lifecycle, font loading, and SSR constraints54- `examples/README.md` for example selection and recognition hints55- `examples/` for runnable starter examples56- `integrations/README.md` for real TypeScript framework integrations57- `integrations/` for vanilla, React, Vue, and Svelte reference projects58- `blueprints/` for richer but non-runnable cases5960{{quickReferenceSection}}
Run npx skillmds@latest add hongming-huang/object-object in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
[object Object] It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
HongMing-Huang (@hongming-huang) published this skill. Their other Agent Skills are listed on their SkillMD profile.