Shadcn vue
Thin core + domain sets for a fast, stack-aware project start. Cross-agent (Claude Code, Cursor, Codex, Gemini) via the SKILL.md standard. MIT.
npx -y skills add Neznakometz/StackForge --skill shadcn-vueAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Setting up and using shadcn-vue in a Vue 3 / Nuxt project — CLI, components.json, Reka UI, tokens, hydration pitfalls. Apply when building UI on Vue/Nuxt with shadcn-vue components.
SKILL.md
2.2 KB, as published. Nobody here has run it
shadcn-vue (Vue 3 / Nuxt)
The Vue counterpart of shadcn/ui: Tailwind v4 + Reka UI (unstyled primitives). Not an npm library — the CLI copies component sources into the project (you own the code).
Installation
- Tailwind v4 in the project (see the
frontend-stylingpack). - Initialization:
npx shadcn-vue@latest init— installs dependencies, adds thecnutility, configures CSS variables, writescomponents.json(framework, aliases, icons, path). To the "CSS variables for colors?" question — yes. - Nuxt: use the
shadcn-nuxtmodule; wire global CSS vianuxt.config(css: [...]). Vite-Vue: import inmain.ts. - Adding components:
npx shadcn-vue@latest add button card …(project-aware — readscomponents.json).
Tokens (we inherit our palette)
Import at the root of the styles in order:
templates/tokens.css— our tokens (light+dark, AA).templates/tokens-shadcn.css— the bridge: our tokens → shadcn names (--background,--primary,--muted-foreground,--border,--radius…) +@theme inlinefor Tailwind v4.
After this, shadcn-vue components (bg-background, bg-primary, text-muted-foreground) render in our palette, dark mode — via .dark/data-theme automatically. Brand customization — change primitives in tokens.css without touching components.
Pitfalls (Nuxt SSR)
reka-uimay break on undefined/hydration — transpile the library innuxt.config(build.transpile) or wrap the problematic component in<ClientOnly>.- Reactivity/state — per the
frontend-vue-nuxtpack (Composition API,useState); business logic outside the component (ui-architecture).
Rules
- Before a custom component — check whether there's a ready one in shadcn-vue/registries (the
design-systemskill,scout). - Tokens only, no hardcoding (
design-tokens); numeric scales —visual-craft; accessibility —web-a11y.
The same
tokens-shadcn.cssbridge also works for shadcn/ui on React — the variable nomenclature is shared.