# loading-skeletons

A Claude Code skill for building loading skeletons that match each component’s layout. It applies when adding a loading state or replacing a spinner in a content area.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf (Devin Desktop), Claude.ai · ★ 1120 repo stars
- Author: rerun-build
- License: AGPL-3.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/rerun-build/rerun/tree/HEAD/.claude/skills/loading-skeletons/SKILL.md
- Updated: 2026-11-16
- Security check: automated, 2026-11-17 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/loading-skeletons

## What it does

The skill sets guidelines for loading placeholders in `apps/ui`: each one follows the structure and dimensions of the content it will replace. Start from the component’s markup, keep its container hierarchy, and swap content for `Skeleton` elements sized to fit. Components built with `Card` or `ScrollFade` can use those same primitives in their placeholders.

Reusable options include `SkeletonTable`, `SkeletonChat`, and `SkeletonForm`; share one only when its shape fits the surface. `SkeletonRows` uses uniform bars and is rarely suitable for lists with thumbnails and badges. A button in mid-action uses `<Button loading>`, while full-screen loading uses `AnimatedLogo` and `Shimmer`.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add rerun-build/rerun --skill loading-skeletons -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/loading-skeletons/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/loading-skeletons/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add rerun-build/rerun --skill loading-skeletons -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/loading-skeletons/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add rerun-build/rerun --skill loading-skeletons -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/loading-skeletons/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install rerun-build/rerun .claude/skills/loading-skeletons
```

2. **Manually: put the files in place**
- File: `.github/skills/loading-skeletons/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add rerun-build/rerun --skill loading-skeletons -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/rerun-build/rerun --path .claude/skills/loading-skeletons
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/loading-skeletons/SKILL.md` — The legacy .windsurf/skills/ path still works

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/rerun-build/rerun/tree/HEAD/.claude/skills/loading-skeletons/SKILL.md

## When to use it
- replace a content-area spinner with a placeholder shaped like its component
- keep rows and cards the same size before and after data loads
- choose a matching skeleton variant for a table or form
- distinguish content loading from a button’s pending action

## Example prompts
- Add a loading state for this list and match the placeholder to its row layout.
- Replace the spinner in this content area with a skeleton shaped like the component.
- Work out which skeleton fits the table in `apps/ui`.

## Similar
- [loading-states](https://affpapa.org/en/nevibecode/skills/dylantarre-loading-states.md) — skill · 640 installs
- [loading-states-and-perceived-performance](https://affpapa.org/en/nevibecode/skills/loading-states-and-perceived-performance.md) — skill · 1000 installs
- [transitions-ui-generation](https://affpapa.org/en/nevibecode/skills/transitions-ui-generation.md) — skill · 1100 installs
- [loading-sequence](https://affpapa.org/en/nevibecode/skills/loading-sequence.md) — skill · 1700 installs
- [ui-designer](https://affpapa.org/en/nevibecode/skills/ui-designer.md) — skill · 3700 installs
- [frontend-crafting](https://affpapa.org/en/nevibecode/skills/frontend-crafting.md) — skill · 3400 installs

From the same set: [rerun-build/rerun](https://affpapa.org/en/nevibecode/by/rerun-build/rerun.md) — 25 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
