vue-layer-shared

Generate a Vue 3 shared layer scaffold with 21 files under src/shared and src/types.

Updated Mar 16, 2026
One-click install
npx skills add https://github.com/limkyulee/front-skills --skill vue-layer-shared
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vue-layer-shared
Source: https://github.com/limkyulee/front-skills/tree/main/.opencode/vue-framework/vue-layer-shared
Command: npx skills add https://github.com/limkyulee/front-skills --skill vue-layer-shared

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Vue 3 projects often lack a centralized shared layer for UI components, utilities, and types, leading to duplication and inconsistency. This skill generates a complete shared layer (src/shared, src/types) with Base UI components (BaseButton, BaseInput, BaseTextarea, BaseSelect, BaseField, BaseCard, BaseModal, BaseTable), common composables, utilities, design-token CSS, and type definitions to standardize development.

Core Features & Use Cases

  • Centralized shared layer scaffold including styling tokens, UI components, composables, utilities, and types.
  • Automated generation of 21 required files and optional directories for scripts, references, and assets.
  • Quick adoption by adding the shared layer into an existing Vue 3 project to unify design and behavior.

Quick Start

Generate the vue-layer-shared scaffold into an existing Vue 3 project to bootstrap the shared UI layer and types.

Frequently Asked Questions about vue-layer-shared

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a shared UI layer in a Vue 3 project to standardize components and types?

To create a shared UI layer in a Vue 3 project, you can scaffold a centralized structure that generates 21 required files under src/shared and src/types, covering design tokens, Base UI components, composables, and type definitions to standardize development.

What is included in a Vue 3 shared layer scaffold for UI components and design tokens?

A Vue 3 shared layer scaffold includes design-token CSS, Base UI components like BaseButton and BaseModal, common composables, utilities, type definitions, optional directories for scripts and assets, and a references doc to guide token usage.

Can I add a shared UI layer to an existing Vue 3 application without rebuilding the project?

Yes, you can add a shared UI layer to an existing Vue 3 application by generating the complete src/shared and src/types directories, which unifies design and behavior across the project without requiring a full rebuild.

How do I manage design tokens and common composables consistently across multiple Vue 3 apps?

You can manage design tokens and composables consistently by generating a centralized shared layer that enforces a strict 21-file structure under src/shared, ensuring all UI components and utilities reference the same standardized definitions.

Does the Vue 3 shared layer scaffold include type definitions and utilities for standard development?

Yes, the Vue 3 shared layer scaffold includes comprehensive type definitions under src/types alongside common composables and utilities, ensuring standardized behavior and type safety across the application's Base UI components.

What are the limitations of using a generated shared layer structure for Vue 3 UI components?

The main limitation is that the shared layer enforces an exact 21-file structure for Vue 3 UI components, meaning you must adapt your existing project architecture to fit this predefined scaffold rather than customizing the generated file layout.