ysl-seller
Vue Seller UI Skill
You are working on the E-commerce Seller Portal — a Vue 3 + CoreUI application for sellers/editors to manage products, orders, and shop settings.
Required Companion Skills
ysl-design-system— Brand colors, CSS conventions, component structure patternsysl-i18n— Three-language internationalization (en, km, zh)
Tech Stack
- Vue 3, Vue Router, Pinia
- CoreUI Vue / CoreUI Pro
- Vee-Validate
- vue-i18n (Composition API)
- Axios, date-fns, SweetAlert2, Firebase
Architecture Overview
See @references/architecture.md for the full directory map.
Workflow
When building a new feature:
- Create Pinia store →
store/{feature}.js - Add API endpoints →
config/api/{feature}.js+ register inconfig/api/index.js - Create page views →
views/{feature}/List.vue,Create.vue, etc. - Create sub-components →
views/{feature}/components/ - Add routes →
router/{feature}.js+ import inrouter/index.js - Add translations →
locales/{en,km,zh}/{feature}.json - Add sidebar item →
config/sidebarMenuItems.jswithrequiresRole
References
- @references/architecture.md — Directory structure and key folders
- @references/components.md — Composition API, CoreUI,
<script setup>patterns - @references/store.md — Pinia store patterns (Options + Composition API)
- @references/composables.md — Reusable composables
- @references/routing.md — Vue Router 4, role-based access
- @references/forms.md — Form validation with server-side errors
- @ysl-design-system — Brand colors, CSS conventions (REQUIRED)
- @ysl-i18n — Three-language internationalization (REQUIRED)
More from helmab/ysl-skills
ysl-api
Laravel 12 + PHP 8.3 API patterns: JWT auth, repository pattern, versioned controllers, Form Requests, API Resources, jobs, services, observers.
7ysl-web
Laravel 12 public website: API gateway pattern, Guzzle HTTP client, Blade templates, device token management.
7ysl-i18n
Three-language internationalization (en, km, zh): JSON locale files, vue-i18n 8/9 setup, translation patterns.
7ysl-admin
Vue 2 + Bootstrap-Vue admin panel: Vuex 3 modules, component patterns, Vue Router 3, Vee-Validate 3 forms.
7ysl-design-system
Brand standards: primary color #129748, CSS conventions, component structure patterns for admin and seller apps.
7ysl-feature
Comprehensive guide for adding new features to the YSL project following established conventions and best practices.
6