본문으로 건너뛰기
Skillpedia
웹사이트 및 UI (프런트엔드)12k · #11468

vue-expert

하는 일

Vue 3 컴포넌트, 상태 스토어, Nuxt 프로젝트를 만들도록 AI 에이전트를 안내합니다. Vue를 쓰는 웹 개발자를 위한 스킬입니다.

사용하는 경우

  • ✓Composition API로 Vue 3 인터페이스를 만들 때.
  • ✓서버 렌더링이나 정적 생성이 있는 Nuxt 3 사이트를 설정할 때.
  • ✓Quasar나 Capacitor로 Vue 앱을 모바일 앱으로 패키징하고 싶을 때.

스킬 링크

https://github.com/Jeffallan/claude-skills/blob/main/skills/vue-expert/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/Jeffallan/claude-skills/blob/main/skills/vue-expert/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“재사용 가능한 컴포저블과 Pinia 스토어가 있는 Vue 3 대시보드를 만들도록 도와줄 수 있나요?”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

AI는 컴포넌트 구조를 계획하고, Vue의 반응형 도구로 코드를 작성한 뒤, 타입 검사를 실행하고 컴포넌트 테스트를 실행합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Vue Expert

Senior Vue specialist with deep expertise in Vue 3 Composition API, reactivity system, and modern Vue ecosystem.

Core Workflow

  1. Analyze requirements - Identify component hierarchy, state needs, routing
  2. Design architecture - Plan composables, stores, component structure
  3. Implement - Build components with Composition API and proper reactivity
  4. Validate - Run vue-tsc --noEmit for type errors; verify reactivity with Vue DevTools. If type errors are found: fix each issue and re-run vue-tsc --noEmit until the output is clean before proceeding
  5. Optimize - Minimize re-renders, optimize computed properties, lazy load
  6. Test - Write component tests with Vue Test Utils and Vitest. If tests fail: inspect failure output, identify whether the root cause is a component bug or an incorrect test assertion, fix accordingly, and re-run until all tests pass

Reference Guide

Load detailed guidance based on context:

Topic Reference Load When
Composition API references/composition-api.md ref, reactive, computed, watch, lifecycle
Components references/components.md Props, emits, slots, provide/inject
State Management references/state-management.md Pinia stores, actions, getters
Nuxt 3 references/nuxt.md SSR, file-based routing, useFetch, Fastify, hydration
TypeScript references/typescript.md Typing props, generic components, type safety
Mobile & Hybrid references/mobile-hybrid.md Quasar, Capacitor, PWA, service worker, mobile
Build Tooling references/build-tooling.md Vite config, sourcemaps, optimization, bundling

Quick Example

Minimal component demonstrating preferred patterns:

<script setup lang="ts">
import { ref, computed } from 'vue'

const props = defineProps<{ initialCount?: number }>()

const count = ref(props.initialCount ?? 0)
const doubled = computed(() => count.value * 2)

function increment() {
  count.value++
}
</script>

<template>
  <button @click="increment">Count: {{ count }} (doubled: {{ doubled }})</button>
</template>

Constraints

MUST DO

  • Use Composition API (NOT Options API)
  • Use <script setup> syntax for components
  • Use type-safe props with TypeScript
  • Use ref() for primitives, reactive() for objects
  • Use computed() for derived state
  • Use proper lifecycle hooks (onMounted, onUnmounted, etc.)
  • Implement proper cleanup in composables
  • Use Pinia for global state management

MUST NOT DO

  • Use Options API (data, methods, computed as object)
  • Mix Composition API with Options API
  • Mutate props directly
  • Create reactive objects unnecessarily
  • Use watch when computed is sufficient
  • Forget to cleanup watchers and effects
  • Access DOM before onMounted
  • Use Vuex (deprecated in favor of Pinia)

Output Templates

When implementing Vue features, provide:

  1. Component file with <script setup> and TypeScript
  2. Composable if reusable logic exists
  3. Pinia store if global state needed
  4. Brief explanation of reactivity decisions

Knowledge Reference

Vue 3 Composition API, Pinia, Nuxt 3, Vue Router 4, Vite, VueUse, TypeScript, Vitest, Vue Test Utils, SSR/SSG, reactive programming, performance optimization

Maintained by @jeffallan, Principal Consultant at Synergetic Solutions

Documentation

자주 묻는 질문

어떤 타입 검사를 실행하나요?

타입 오류를 찾기 위해 vue-tsc를 실행하므로, 그 도구를 쓰는 Vue 프로젝트에 맞습니다.

Nuxt도 도와줄 수 있나요?

네. 서버 사이드 렌더링, 정적 사이트, 파일 기반 라우팅을 위한 Nuxt 3을 다룹니다.

오프라인 앱도 다루나요?

네. 서비스 워커 같은 PWA 기능을 다룹니다.

상세 정보

작성자의 원본 설명

Builds Vue 3 components with Composition API patterns, configures Nuxt 3 SSR/SSG projects, sets up Pinia stores, scaffolds Quasar/Capacitor mobile apps, implements PWA features, and optimises Vite builds. Use when creating Vue 3 applications with Composition API, writing reusable composables, managing state with Pinia, building hybrid mobile apps with Quasar or Capacitor, configuring service workers, or tuning Vite configuration and TypeScript integration.

repo: Jeffallan/claude-skills

인기도

GitHub 스타
12k
순위
#11468
라이선스
MIT
업데이트
2026. 10. 30.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬