/frontend-vue:skeleton-componentsfrom frontend-vue
Use when a Vue component renders data that loads asynchronously and you must decide whether it needs a loading skeleton, or how to build one — a panel that shows a blank gap or a "Loading…" line while a Pinia store, useFetch, useAsyncState or a TanStack Query for Vue query is pending, a request to add a loading state, a Suspense fallback, a question whether to install a skeleton library, or a review of async-data UI. NOT for the shimmer animation itself or its reduced-motion rule (frontend-vue:motion), and NOT for React (frontend-react:skeleton-components).
Ships in frontend-vue. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
The Vue counterpart of frontend-react:skeleton-components. A skeleton is not a default: it earns
its place only where a component has a real loading window. When it does, it is a separate
component next to the real one, built from the shared Skeleton primitive.
In: a Vue component that renders asynchronously-loaded data, a request for a loading state, or a review of async-data UI.
Out: the decision made first, so a skeleton exists only where a real loading window exists.
Where it does, <Component>Skeleton.vue sits in the same folder as the real component, is built
from the shared Skeleton.vue primitive, has the real component's shape, and is chosen by the
consumer while data loads. The checkable expectations are in evals/rubric.json.
The default is no. A skeleton is warranted only when the first paint waits for data: a
status === 'pending' or isLoading in a store, isFetching from useFetch, isLoading from
useAsyncState, a pending from Nuxt useFetch, or an async setup() under <Suspense>.
| Situation | Skeleton? |
|---|---|
| The component, or the store it reads, loads data and the user sees a gap first | Yes |
| A presentational component that gets its data through props | No |
| The data is synchronous, or already in the store when the component mounts | No |
| A parent already renders a skeleton for this whole region | No, do not double up |
No loading window → stop here, and build nothing.
Skeleton primitiveNever install a skeleton library, and never write a pulsing <div> inline. Use the project's
Skeleton.vue in src/components/ui/ and compose several to match the shape of what loads. If the
project has none, create it once as a ui primitive (frontend-vue:component-architecture). Its
shimmer is a CSS keyframe on a token background, and its reduced-motion rule belongs to
frontend-vue:motion.
Name it <Component>Skeleton.vue and put it in the same folder as the component it stands in for.
Export it wherever the real component is exported; a folder with an index.ts exports both.
features/feed/
FeedPanel.vue
FeedPanelSkeleton.vue ← built from <Skeleton />
index.ts ← exports both
v-if="loading" inside FeedPanel.vue; the
skeleton is a sibling that the consumer picks.<FeedPanelSkeleton v-if="feed.status === 'pending'" />
<FeedPanel v-else :items="feed.items" />
With <Suspense>, the skeleton is the #fallback slot. If the store does not expose its loading
state, add it there (frontend-vue:state-pinia); do not guess it from empty data.
If the project writes stories (frontend-vue:storybook-stories), the skeleton gets no story file of
its own. It is a state of the real component: render it directly below the real one in each story,
the real one on top. Stack them; never place them side by side.
isFetching, pending). If
there is none, no skeleton was built.grep -rn "skeleton" package.json → no skeleton library.ls <component folder> → <Component>Skeleton.vue beside <Component>.vue, and
grep -n "Skeleton" <Component>Skeleton.vue shows it is built from the shared primitive.grep -n "v-if" <Component>.vue → no loading branch inside the real component; the consumer
holds the v-if/v-else or the #fallback.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
11 skills in this plugin
/bem-stylesBEM in scoped stylesUse when writing or reviewing the styles of a Vue component — the <style scoped> block, BEM class names for its block, elements and modifiers, state classes bound from the template, design tokens as CSS variables, SCSS inside the component, Stylelint complaints about selector patterns, or moving rules from a global stylesheet into a component. Also when two components share a class name by accident. NOT for the SCSS token system itself or rem sizing (frontend-css:scss-modules, frontend-css:rem), nor for React components (frontend-react:component-structure)./component-architectureComponent architectureUse before creating a Vue component or when deciding where one lives and what it may know — a reusable UI primitive, a feature component bound to the domain, a layout piece of the app chrome, a page or view, a component that only exists for one parent. Also when a component grew into two, when a feature reaches into another feature's component, when a page holds logic, or when asked "where does X go" in a Vue project. NOT for the inside of the .vue file (frontend-vue:sfc-conventions), nor for React (frontend-react:component-placement).npx claudepluginhub aquivalabs/bladeforge --plugin frontend-vue