boneyard-js
Installation
SKILL.md
boneyard-js
Use this skill when implementing automatic skeleton loading UIs that are captured from real rendered content instead of hand-built placeholders.
Install
npm install boneyard-js
Core workflow
- Wrap real content in
<Skeleton name="..." loading={...}>. - Add
fixturewhen capture-time auth/data would otherwise block rendering. - Run
npx boneyard-js buildwhile your dev server is running. - Import generated registry once (for example
import './bones/registry') in your app entry. - Re-run build after layout changes.