skills/vue3-naiveui-fsd/SKILL.md
Senior-level Vue 3 + Naive UI + Feature-Sliced Design with TypeScript, Clean Code & SOLID principles
npx skillsauth add shohzod-abdusamatov-7777777/claude-skills vue3-naiveui-fsdInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Expert-level skill for building production-ready Vue 3 applications with Naive UI, Feature-Sliced Design architecture, TypeScript, and industry best practices.
<script setup>)Detailed documentation is organized in the references/ folder:
| File | Description | |------|-------------| | fsd-architecture.md | FSD directory structure and layer rules | | api-layer.md | Axios setup, interceptors, service pattern | | types.md | TypeScript patterns, I-prefix convention | | stores.md | Pinia global stores (auth, operation) | | composables.md | usePagination, useValidationRules, useTheme | | forms.md | Form composable pattern (useXxxForm) | | pages.md | Page component with table, CRUD | | shared-ui.md | BaseTable, BaseModal, buttons | | utilities.md | Formatters, helpers | | router.md | Router config, guards, loading bar |
<script setup lang="ts">
import { ref, computed, onMounted } from 'vue'
import { NCard, NButton } from 'naive-ui'
import type { IUser } from '@/entities/user'
const props = defineProps<{ userId: number }>()
const emit = defineEmits<{ success: [] }>()
const loading = ref(false)
// ... logic
</script>
<template>
<NCard>
<!-- content -->
</NCard>
</template>
app → pages, features, entities, shared
pages → features, entities, shared
features → entities, shared
entities → shared only
shared → nothing (self-contained)
IUser // Base entity
IUserList // List item (simplified)
IUserDetail // Full detail
IUserForm // Form data
IUserListParams // Query params
I prefix conventionshared/api/useXxxForm)usePaginationuseValidationRulesdevelopment
Feature-Sliced Design architecture for Vue 3 applications. Use when structuring large-scale Vue projects with clear boundaries, scalable folder structure, and maintainable code organization.
development
Use when building Vue 3 applications with Composition API, Nuxt 3, Naive ui , or Quasar. Invoke for Pinia, TypeScript, PWA, Capacitor mobile apps, Vite configuration.
tools
Tailwind CSS v4 with CSS-first configuration, @theme directive, OKLCH colors, and Vite integration. Use for modern utility-first styling with the new v4 architecture.
development
Maintainer-only workflow for handling GitHub Secret Scanning alerts on OpenClaw. Use when Codex needs to triage, redact, clean up, and resolve secret leakage found in issue comments, issue bodies, PR comments, or other GitHub content.