with one click
create-playground-entry
// Create or update Skeleton React and Svelte playground component pages for a given component, including route generation steps.
// Create or update Skeleton React and Svelte playground component pages for a given component, including route generation steps.
Create framework components across all supported packages using the repository's anatomy/modules conventions.
Scaffold a new Tailwind utility (CSS-only utility class) in the Skeleton core package, following @utility conventions used by buttons, badges, cards, etc.
Scaffold a new documentation page for the Skeleton documentation site (sites/skeleton.dev), including frontmatter, optional boilerplate, examples, and API reference.
Scaffold an example file (Astro or framework-specific) for a Skeleton documentation page, including the MDX import wiring and Preview/Framework blocks.
| name | create-playground-entry |
| description | Create or update Skeleton React and Svelte playground component pages for a given component, including route generation steps. |
Create playground pages for a component in one or both playground apps.
Use this when a component needs a hands-on demo page under components/<slug> in:
Recommend destination from component slug and target framework(s), explain why, then accept overrides.
my-component:
playgrounds/skeleton-react/src/routes/components/my-component/index.tsxplaygrounds/skeleton-svelte/src/routes/components/my-component/+page.svelte'use client';@skeletonlabs/skeleton-reactRoute with createFileRoute('/components/<slug>/')function Page() and return demo JSX<script lang="ts">@skeletonlabs/skeleton-svelte+page.svelte), no explicit route helperReference files:
Ask one at a time, confirm each answer, write nothing until all are answered and the user confirms.
floating-panel).react, svelte, or both (recommend both when the component exists in both packages).pnpm --filter @skeletonlabs/playground-skeleton-react exec tsr generatepnpm --filter @skeletonlabs/playground-skeleton-react run checkpnpm --filter @skeletonlabs/playground-skeleton-svelte run checkList: framework targets, files created/updated, whether React route generation was run, and any intentional parity differences between React and Svelte demos.