schwarzit/onyx/onyx-setup
Claude Code and agent skill by schwarzit/onyx
- community
Checking that the SKILL.md file is still in the repository.
One-time configuration, initialization, CSS/font imports, i18n, and layout scaffolding for the Onyx design system. Use when setting up a new project or integrating Vue Router.
Install
npx vskill@latest install schwarzit/onyx/onyx-setupSKILL.md
Onyx Setup & Integration
Configure and initialize the Onyx Vue 3 design system, mandatory styles, fonts, internationalization, and root layout scaffolding.
Setup & Initialization
Vue 3 Setup
- Install
sit-onyx. - Import style files and initialize the Onyx plugin.
Nuxt Setup
- Install
@sit-onyx/nuxt. - Register the module in
nuxt.config.ts. Do not manually callcreateOnyx().
Internationalization (i18n) Setup
English (en-US) is default and registered out-of-the-box. Additional languages must be registered manually.
Vue 3 Integration with vue-i18n
To sync translations, import the JSON file from Onyx and register it in the createOnyx initialization options:
_Note: Onyx translations update automatically whenever you change the active language inside vue-i18n._
Nuxt Integration with @nuxtjs/i18n
The @sit-onyx/nuxt module automatically registers the corresponding Onyx languages for you.
Strict BCP 47 Rule: If you use 2-digit locale codes (e.g. es instead of es-ES), you MUST configure the language property inside nuxt.config.ts so Onyx can map the translation correctly:
Recommended Font Setup
Install font packages @fontsource-variable/source-sans-3 and @fontsource-variable/source-code-pro. Import them into your main entrypoint:
Vue (main.ts)
Nuxt (nuxt.config.ts)
App Layout Scaffolding (Boilerplate)
Use Onyx layout components to manage structural complexity, scroll behaviors, and responsive constraints.
Root Shell (OnyxAppLayout)
Place OnyxAppLayout at the root of the application (e.g. App.vue or app/app.vue). Use class modifiers to cap maximum width on large screens.
Vue Router Integration
Pass the Vue router instance to createOnyx({ router }) to enable native routing integration:
- Internal links (e.g.,
/my-page) passed to navigation components (OnyxLink,OnyxNavBar,OnyxNavItem,OnyxMenuItem) navigate via Vue Router automatically. - Active states on
OnyxNavItemandOnyxMenuItemupdate automatically depending on the active route. - Mobile flyouts close automatically upon navigation.
- Fallback: Uses native browser navigation for external links, links with
target="_blank", or when no router is registered.
Security
- Security scanPassed, 96 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingpackages/modelcontextprotocol/src/resources/skills/onyx-setup/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
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/schwarzit/onyx/onyx-setup)