vue-layer-domain

Generate Vue 3 domain pages and register Vue Router 4 routes.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

도메인 페이지를 수동으로 생성하고 라우트를 등록하는 반복 작업을 자동화합니다.

Core Features & Use Cases

  • 도메인 이름을 받아 src/pages/[domain]/ 폴더에 3개의 페이지 파일을 생성합니다: [Domain]IndexPage.vue, [Domain]DetailPage.vue, [Domain]FormPage.vue.
  • Vue Router 4 공식 권고 방식(children + named routes + props)으로 라우터를 자동 등록합니다.
  • 도메인이 늘어날 때마다 반복 실행하여 개발 속도를 높이고 중복 작업을 줄입니다.

Quick Start

도메인 이름을 입력하면 해당 도메인의 파일과 라우터가 자동으로 생성됩니다.

Frequently Asked Questions about vue-layer-domain

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

FAQPage Schema
How do I auto-generate Vue 3 domain pages and router scaffolding?

Vue 3 domain page scaffolding creates three Vue files under src/pages/[domain]/: [Domain]IndexPage.vue, [Domain]DetailPage.vue, and [Domain]FormPage.vue. It automatically registers these files using Vue Router 4 to streamline repetitive page creation and accelerate domain development.

How does Vue Router 4 automatically register routes for new domain pages?

Vue Router 4 automatically registers new domain pages by utilizing children routes, named routes, and props. This official guidance approach ensures maintainable navigation and predictable routing while leaving business logic and UI implementation entirely to the developers.

What is the fixed file structure generated for a new Vue domain?

The fixed file structure for a new Vue domain consists of a folder named src/pages/[domain]/ containing three specific files: [Domain]IndexPage.vue, [Domain]DetailPage.vue, and [Domain]FormPage.vue. Component names are generated using PascalCase for predictable imports.

Does the Vue domain scaffolding include business logic and UI components?

The Vue domain scaffolding does not include business logic or UI components. It strictly generates the file structure and router entries, leaving developers free to implement the actual application logic and user interface design within the generated pages.

Can I use this scaffolding for an existing Vue project with custom routing?

You can use this scaffolding if your Vue project follows the src/pages/[domain]/ directory structure and Vue Router 4 conventions. It enforces named routes and children configurations, so existing custom routing setups may require adjustment to match the generated output.

Why use named routes and children in Vue Router 4 for domain page generation?

Using named routes and children in Vue Router 4 for domain page generation ensures maintainable navigation and predictable routing behavior. This official guidance approach prevents hard-coded paths, making it easier to scale applications as new domains are continuously added.