davidcoachdev/dcfiles/boneyard-skeleton-screens
Claude Code and agent skill by davidcoachdev/dcfiles
- community
Checking that the SKILL.md file is still in the repository.
Use when building loading states, skeleton screens, or perceived-performance placeholders in Next.js/React (or Vue/Svelte) apps to avoid layout shift.
Install
npx vskill@latest install davidcoachdev/dcfiles/boneyard-skeleton-screensSKILL.md
The same SKILL.md was published earlier as davidcoachdev/dcfiles/boneyard-skeleton-screens.
Boneyard Skeleton Screens
Overview
boneyard-js auto-generates pixel-perfect skeleton screens by snapshotting your real rendered UI with a headless browser. Wrap a component in <Skeleton>, run the CLI, and it emits .bones.json placeholders that match the real layout — killing hand-measured skeletons and layout shift (CLS).
When to Use
- Async loading UIs (data fetch, Suspense,
useSuspenseQuery) in Next.js + React. - You currently hand-roll skeleton placeholders or suffer CLS.
- Vue / Svelte 5 projects when the same need arises.
When NOT to use:
- Qwik or vanilla HTML/JS — no framework wrapper exists.
- A critical/production-only path today — package is v1.9.0, ~6 days old. Validate in a non-critical project first.
Supported vs Not
| Framework | Use Boneyard? | |
|---|---|---|
| React / Next | ✅ primary | |
| Vue, Svelte 5, Preact, Angular, React Native | ✅ | |
| Astro | ⚠️ via React/Vue/Svelte island only | |
| Qwik | ❌ | |
| Vanilla JS/HTML | ❌ |
Execution (Next.js + React)
- Use the CLI, not the Vite plugin — Next is not Vite-based:
npx boneyard-js build http://localhost:3000(auto-detects dev server). <Skeleton>must be a client component ('use client') in App Router.- For Suspense data, use
<BoneSuspense>; noplaceholderDataneeded. - Import the generated registry once at app entry:
import './bones/registry'. - Exact flags, breakpoints, dark-mode and
fixtureoptions: runnpx boneyard-js --helpand read https://boneyard.vercel.app. Do NOT pin exact flags here — the API is young and churns.
Hard Rules
- CI cost: requires Chromium (Playwright). Reuse an existing browser with
--cdp 9222to skip the download behind auth. - Pages needing auth or dynamic data need a
fixturefor capture. - Treat as UX polish, not core infra.
Common Mistakes
- Using the Vite plugin in a Next project (won't apply) → use the CLI.
- Forgetting
'use client'in App Router → bones never resolve. - Trusting download-count hype (~45k/wk at 6 days) as a maturity signal → spike first.
References
- Docs: https://boneyard.vercel.app
- npm: https://www.npmjs.com/package/boneyard-js
- Repo: https://github.com/0xGF/boneyard
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingconfig/.config/opencode/skills/boneyard-skeleton-screens/SKILL.md
Popularity
- 7-day trend score
- 5
Refreshed 7 Oct 2026, a month ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/davidcoachdev/dcfiles/boneyard-skeleton-screens)