create-example
Skill6.1k starsChanged 4 days agoMITView on GitHub
Scaffold an example file (Astro or framework-specific) for a Skeleton documentation page, including the MDX import wiring and Preview/Framework blocks.
3 other projects use a version of this.
Trending
More talk lately.about the whole repository
Most recently taken up by
- TypeCellOS/BlockNotetheir own version, first seen Oct 8, 2026
- microsoft/webuitheir own version, first seen Sep 26, 2026
- liveblocks/liveblockstheir own version, first seen Sep 1, 2026
Who's talking about skeletonlabs/skeleton
- storybookjs/storybook“[Bug]: Storybook + Tailwind does not load tailwind plugins”GitHub · Sep 22, 2023 · 6 reactions
- AdrianGonz97/vite-plugin-tailwind-purgecss“Fixed: Peer Dep versioning”GitHub · Dec 15, 2023 · 5 reactions
- A Hacker News story“Skeleton UI – v2.0 Release Candidate”Hacker News · Aug 15, 2023 · 3 points
- A Hacker News story“Skeleton v4.0 has launched (Tailwind-based component library)”Hacker News · Oct 14, 2025 · 2 points
- @htnabe.bsky.social“skeltonとかいうtailwindベースのCSSライブラリを見つけた ちょっと使ってみたさがある github.com/skeletonlabs...”Bluesky · Jun 12, 2026 · 1 likes
The biggest 5 of 53 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 53
Talked about on GitHub, Hacker News and Bluesky (53 times).
On GitHub · 50
- Sep 22, 2023[Bug]: Storybook + Tailwind does not load tailwind plugins — storybookjs/storybook6 reactions · 10 comments
- Dec 15, 2023Fixed: Peer Dep versioning — AdrianGonz97/vite-plugin-tailwind-purgecss5 reactions · 2 comments
- Feb 12, 2025Superforms + Skeleton V3 modals [maybe minor doc update] — ciscoheat/sveltekit-superforms1 reaction · 1 comment
- Oct 23, 2024Svelte: Combobox $state.frozen is now $state.raw — chakra-ui/zag1 reaction
- Oct 26, 2023Faux Italic and Faux Bold Issue in iPhone Safari — skeletonlabs/create-skeleton-app1 reaction · 3 comments
45 more on GitHub
- Nov 13, 2026chore(deps-dev): bump @skeletonlabs/skeleton from 3.2.2 to 5.0.4 — synyx/kudos0 reactions
- Nov 13, 2026chore(deps-dev): bump @skeletonlabs/skeleton-svelte from 1.5.3 to 5.0.4 — synyx/kudos0 reactions
- Nov 13, 2026fix(deps): bump the web group in /svelte with 8 updates — FreezeManny/FSTouchCompanion0 reactions
- Nov 13, 2026fix(deps-dev): bump @skeletonlabs/skeleton from 5.0.1 to 5.0.4 in /fsConnect/frontend in the companion-web group — FreezeManny/FSTouchCompanion0 reactions
- Nov 13, 2026chore(deps-dev): bump the skeleton group with 2 updates — akiomik/nosey0 reactions · 1 comment
- Nov 12, 2026build(deps): bump the minor-and-patch group across 1 directory with 21 updates — xoxd-ai/scheduling-bridge.tinyland.dev0 reactions
- Nov 12, 2026dependabot: bump the minor-and-patch group across 1 directory with 2 updates — mirasen-io/cloudflare-site0 reactions · 3 comments
- Nov 12, 2026chore(deps-dev): bump @skeletonlabs/skeleton from 5.0.1 to 5.0.4 — br1ansouza/portfolio-v30 reactions
- Nov 10, 2026chore(deps-dev): bump @skeletonlabs/skeleton from 2.11.0 to 5.0.1 — NathanielBrewer/svelte-sveltkit-template0 reactions
- Nov 10, 2026chore(deps-dev): bump the frontend group across 1 directory with 2 updates — NathanielBrewer/svelte-sveltkit-template0 reactions
- Nov 3, 2026Bump the node-deps group across 1 directory with 30 updates — RosstheRoss/trinkets0 reactions · 3 comments
- Oct 26, 2026[pnpm] Bump @skeletonlabs/skeleton-svelte from 1.5.1 to 5.0.1 — hms-dbmi/PIC-SURE-Frontend0 reactions · 4 comments
- Oct 14, 2026feat(sveltekit): migrate SVForge templates and tooling to SvelteKit 3 — lelabdev/svforge0 reactions
- Oct 10, 2026Adopt Changesets for package versions, changelogs and release PRs — lelabdev/svforge0 reactions
- Oct 10, 2026Automate Changesets stable releases and npm canary snapshots — lelabdev/svforge0 reactions · 1 comment
- Sep 13, 2026build(deps-dev): bump @skeletonlabs/skeleton-svelte from 4.15.2 to 5.0.0 — rabbit-will-run/astro-charts0 reactions
- Aug 29, 2026Bump @skeletonlabs/skeleton from 3.2.2 to 5.0.1 in /psp-ui — oMaN-Rod/palstudio0 reactions
- Aug 29, 2026Bump @skeletonlabs/skeleton-svelte from 1.5.3 to 5.0.1 in /psp-ui — oMaN-Rod/palstudio0 reactions
- Aug 28, 2026Bump @skeletonlabs/skeleton-svelte from 5.0.0 to 5.0.1 in /extension — alexeyfv/slopless0 reactions
- Aug 28, 2026Bump @skeletonlabs/skeleton from 5.0.0 to 5.0.1 in /extension — alexeyfv/slopless0 reactions
- Jul 24, 2026chore(deps-dev): bump @skeletonlabs/skeleton from 2.11.0 to 5.0.0 — Sub-organization-maternal-mind/UBAG0 reactions
- Jul 21, 2026Bump the frontend group across 1 directory with 3 updates — BreathCodeFlow/t3lang0 reactions · 1 comment
- Jul 20, 2026Bump @skeletonlabs/skeleton-svelte from 1.5.1 to 5.0.0 — simmons-tech/new-simmons0 reactions · 1 comment
- Jul 20, 2026Bump @skeletonlabs/skeleton from 3.2.2 to 5.0.0 — simmons-tech/new-simmons0 reactions · 1 comment
- Jul 19, 2026build(deps): Bump the frontend group across 1 directory with 3 updates — beardcoder/t3lang0 reactions · 1 comment
- Jul 15, 2026build(deps-dev): bump @skeletonlabs/skeleton from 3.2.2 to 4.15.2 in /ui — JunesuChoi/Palworld-save-pal-rust-KR-0 reactions
- Jun 14, 2026Bump @skeletonlabs/skeleton-svelte from 1.5.3 to 4.15.2 — BCYCAData/soc-dev0 reactions · 1 comment
- Jun 14, 2026Bump @skeletonlabs/skeleton from 3.2.2 to 4.15.2 — BCYCAData/soc-dev0 reactions · 1 comment
- Jun 8, 2026Bump @skeletonlabs/skeleton from 2.11.0 to 4.15.2 — Fraser-Chapman/qr-code-utils0 reactions
- May 25, 2026Implement baseline blocks — skeletonlabs/skeleton-plus-free0 reactions
- Apr 13, 2026chore(deps-dev): bump @skeletonlabs/skeleton from 4.15.1 to 4.15.2 in /sveltekit-embed/template — arielsrv/recipes0 reactions · 1 comment
- Feb 28, 2026chore(deps-ui): bump svelte, @skeletonlabs/skeleton, @sveltejs/kit and svelte-check in /ui — ebarped/sego0 reactions · 1 comment
- Jan 2, 2026build(deps): bump @skeletonlabs/skeleton-svelte from 4.8.0 to 4.9.0 — DerTyp7214/synara-electron0 reactions
- Jan 2, 2026build(deps): bump @skeletonlabs/skeleton from 4.8.0 to 4.9.0 — DerTyp7214/synara-electron0 reactions
- Dec 31, 2025Carousel component is non-functional in RTL mode — chakra-ui/zag0 reactions · 2 comments
- Oct 30, 2025chore(deps-dev): bump @skeletonlabs/skeleton-svelte from 1.2.1 to 4.2.2 — jarpex/ssdlc-svelte-frontend0 reactions
- Oct 27, 2025chore(deps-dev): bump @skeletonlabs/skeleton-svelte from 1.5.3 to 4.1.5 — CristiCriss17G/ESP32-SMS-Sender-Control-App0 reactions
- Oct 27, 2025Bump @skeletonlabs/skeleton from 2.11.0 to 4.1.5 — Fraser-Chapman/valentines-20250 reactions
- Oct 27, 2025Bump @skeletonlabs/skeleton-svelte from 1.4.0 to 4.1.5 — ST2Projects/vizgraph0 reactions · 1 comment
- Oct 27, 2025chore(deps-dev): bump @skeletonlabs/skeleton-svelte from 1.5.3 to 4.1.5 — mistersilver-uk/fabricate-legacy0 reactions · 1 comment
- Oct 17, 2025Svelte class props not properly merged in `mergeProps` — chakra-ui/zag0 reactions · 1 comment
- Apr 28, 2025Bump @skeletonlabs/skeleton from 2.11.0 to 3.1.3 — strangelightstudios/cuddlepuff0 reactions · 1 comment
- Mar 12, 2025Migrate to stable Skeleton v3 — Mesnage-Org/glam0 reactions · 2 comments
- Feb 25, 2025Migrate Skeleton to RC2 + Tailwind v4 — SnotyMe/snoty-frontend0 reactions · 1 comment
- Jan 17, 2025Svelte Adapter is broken for DatePicker component — chakra-ui/zag0 reactions
On Hacker News · 2
- Aug 15, 2023Skeleton UI – v2.0 Release Candidate3 points
- Oct 14, 2025Skeleton v4.0 has launched (Tailwind-based component library)2 points
On Bluesky · 1
- Jun 12, 2026skeltonとかいうtailwindベースのCSSライブラリを見つけた ちょっと使ってみたさがある github.com/skeletonlabs... — @htnabe.bsky.social1 likes and repost
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 3
- TypeCellOS/BlockNote★ 10ksame name
- liveblocks/liveblocks★ 4.8ksame name
- microsoft/webui★ 102same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository4 other files it gives its agents.
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 1 is distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 72
Only renders its children when the active framework switcher matches id.
- Distinctive: line 96
Ask only what can't be inferred:
- Very specific: line 103
When invoked from /create-doc with a list of examples and an inferred type per example, skip prompting and scaffold directly.
≈ “Common” is an estimate: at least 1 in 5 of the 364,980 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Create Example
Scaffold a new example for a Skeleton doc page under sites/skeleton.dev/src/components/examples/, and add the import + render wiring to the parent .mdx.
Folder layout mirrors the docs tree: examples/<category>/<slug>/.
Example types
| Type | Path | When to use |
| Astro (neutral) | <slug>/<name>.astro | HTML/CSS-only demo; no state, events, or framework imports needed |
| React | <slug>/react/<name>.tsx | Demo needs React state/events or imports from @skeletonlabs/skeleton-react |
| Svelte | <slug>/svelte/<name>.svelte | Demo needs Svelte runes/snippets or imports from @skeletonlabs/skeleton-svelte |
A single doc page can mix types per example. Defaults:
- Tailwind-component pages →
.astro, fall back to framework-specific only when the demo requires state/events (see buttons/ —default.astro+react/group.tsx+svelte/group.svelte). - Framework-component pages → both
react/andsvelte/, always paired (see accordion/).
File conventions
- First example on a page is always named
default(lowercase). Subsequent examples use descriptive kebab-case (e.g.sizes,controlled,indicator). - Astro file starts with an Astro frontmatter block (
---\n...imports...\n---) even when empty. - React file
default-exports a function component; import icons fromlucide-react. - Svelte file uses
<script lang="ts">; import icons from@lucide/svelte/icons/<name>.
Reference files:
- Astro: buttons/sizes.astro
- React: accordion/react/default.tsx
- Svelte: accordion/svelte/default.svelte
MDX wiring
In the parent .mdx, import both the component and its raw source:
import Default from "@/components/examples/<category>/<slug>/default.astro";
import DefaultRaw from "@/components/examples/<category>/<slug>/default.astro?raw";For framework-specific examples, append framework suffix to the import name:
import DefaultReact from "@/components/examples/<category>/<slug>/react/default";
import DefaultReactRaw from "@/components/examples/<category>/<slug>/react/default?raw";
import DefaultSvelte from "@/components/examples/<category>/<slug>/svelte/default.svelte";
import DefaultSvelteRaw from "@/components/examples/<category>/<slug>/svelte/default.svelte?raw";<Preview> block
Wraps the rendered example in a card with a code-toggle and (when framework is set) a Stackblitz button.
<Preview files={{ "app.astro": DefaultRaw }} client:visible>
<Default />
</Preview>files—{ '<filename>': RawSource }. Multiple keys render tabs; first key shows by default. Filename extension drives syntax highlighting.framework="react" | "svelte"— required for framework examples; enables Stackblitz.client:visible— always set on<Preview>and (for React/Svelte) on the rendered child.
<Framework> block
Only renders its children when the active framework switcher matches id. Use it to show parallel React/Svelte versions of the same example.
<Framework id="react">
<Preview framework="react" files={{ "app.tsx": DefaultReactRaw }} client:visible>
<DefaultReact client:visible />
</Preview>
</Framework>
<Framework id="svelte">
<Preview framework="svelte" files={{ "app.svelte": DefaultSvelteRaw }} client:visible>
<DefaultSvelte client:visible />
</Preview>
</Framework>Astro examples do not need a <Framework> wrapper — they render universally.
Placement in the page
- The
defaultexample is rendered at the top of the page with no heading. - Each subsequent example gets its own
## SectionNameheading (PascalCase or Title Case), with the<Preview>(or<Framework>pair) directly underneath.
Standalone invocation
Ask only what can't be inferred:
- Target doc page — the
.mdxfile the example will be added to. - Example name — kebab-case, used as filename and (PascalCase) MDX import name.
- Type — astro, react, svelte, or framework-pair (react + svelte). Recommend a default based on the parent page's category and accept overrides.
- What it should demonstrate — one line; informs the placeholder body.
When invoked from /create-doc with a list of examples and an inferred type per example, skip prompting and scaffold directly.
Output
For each example, produce:
- Example file(s) with minimal placeholder body matching the reference convention.
- Inserted import lines at the top of the parent
.mdx. - Inserted
<Preview>(and<Framework>if applicable) block in the appropriate location — top of page fordefault, under a new## SectionNameheading otherwise.
Summarize: files created, import lines added, section headings inserted.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

