skeleton.emit
Convert a captured skeleton into ready-to-paste HTML, CSS, React, Vue, Svelte, or JSON source, with mobile-first CSS, percentage-based geometry, and reduced-motion support.
Instructions
Turn a captured skeleton into ready-to-paste source: html, css, react, vue, svelte, or the raw json. Output is mobile-first CSS - the narrowest captured width is the base rule and wider ones are min-width overrides - with horizontal geometry in percentages so it stretches between breakpoints. Honours prefers-reduced-motion.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>"
},
"name": "skeleton.emit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| color | No | Bone fill. Default a theme-neutral translucent grey. | |
| format | No | Default "html". | |
| animation | No | Default "shimmer". | |
| component | No | Component name for react/vue/svelte output. | |
| highlight | No | Shimmer sweep colour. | |
| save_path | No | Also write the generated source here. | |
| breakpoints | No | What the breakpoints ask about. "container" (default) uses @container queries keyed on the width of the skeleton itself, which is what its geometry is relative to. "media" uses viewport @media queries: only correct when the skeleton fills the viewport, but needed for browsers older than Chrome 105 / Safari 16 / Firefox 110. | |
| class_prefix | No | CSS class prefix. Default skeleton-<name>. | |
| container_color | No | Surface fill for container bones. Defaults to the bone colour at lower opacity. |