소스 정보
- 저장소
- pluginagentmarketplace/custom-plugin-vue
- 최근 소스 활동
- 2025년 12월 30일 12:45
- 감지된 SKILL.md 언어
- 영어
- 스타
- 1
- 포크
- 0
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/pluginagentmarketplace/custom-plugin-vue --skill vue-nuxt명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
Master Vue Composition API - Composables, Reactivity Utilities, Script Setup, Provide/Inject
Master Vue.js core concepts - Components, Reactivity, Templates, Directives, Lifecycle
Master Pinia State Management - Stores, Actions, Getters, Plugins, Persistence
SOC 직업 분류 기준
SKILL.md 표시 중
| name | vue-nuxt |
| description | Master Nuxt.js - SSR, SSG, Nitro Server, Modules, Auto-imports, Deployment |
| sasmp_version | 1.3.0 |
| bonded_agent | 05-vue-nuxt |
| bond_type | PRIMARY_BOND |
| version | 2.0.0 |
| last_updated | 2025-01 |
Production-grade skill for mastering Nuxt 3 and building full-stack Vue applications.
Single Responsibility: Teach Nuxt 3 architecture including SSR/SSG, Nitro server, modules, auto-imports, and deployment strategies.
interface NuxtParams {
topic: 'config' | 'ssr' | 'ssg' | 'api' | 'modules' | 'deploy' | 'all';
level: 'beginner' | 'intermediate' | 'advanced';
context?: {
hosting?: 'vercel' | 'netlify' | 'cloudflare' | 'node';
rendering?: 'ssr' | 'ssg' | 'hybrid';
};
}
Prerequisites: vue-fundamentals, vue-composition-api
Duration: 3-4 hours
Outcome: Set up and configure Nuxt 3
| Topic | Concept | Exercise |
|---|---|---|
| Installation | nuxi create | New project |
| Config | nuxt.config.ts | Basic setup |
| Directory | pages/, components/ | Structure app |
| Auto-imports | No manual imports | Use composables |
| Dev tools | Nuxt DevTools | Debugging |
Prerequisites: Module 1
Duration: 2 hours
Outcome: Master Nuxt routing conventions
| Pattern | File | Route |
|---|---|---|
| Static | pages/about.vue | /about |
| Dynamic | pages/user/[id].vue | /user/:id |
| Catch-all | pages/[...slug].vue | /* |
| Optional | pages/[[optional]].vue | /:optional? |
| Nested | pages/dashboard/settings.vue | /dashboard/settings |
Page Metadata:
<script setup>
definePageMeta({
layout: 'admin',
middleware: ['auth'],
title: 'Dashboard'
})
</script>
Prerequisites: Module 2
Duration: 3-4 hours
Outcome: Fetch data correctly in Nuxt
| Composable | Use Case | Example |
|---|---|---|
| useFetch | Simple fetching | API calls |
| useAsyncData | Full control | Transform data |
| useLazyFetch | Non-blocking | Secondary data |
| $fetch | Server-side | API routes |
Fetching Patterns:
// Block navigation
const { data } = await useFetch('/api/user')
// Non-blocking
const { data, pending } = useLazyFetch('/api/posts')
// With transform
const { data } = await useAsyncData('user',
() => $fetch('/api/user'),
{ transform: (d) => d.user }
)
Prerequisites: Module 3
Duration: 3-4 hours
Outcome: Build server API routes
| Topic | Location | Exercise |
|---|---|---|
| GET | server/api/users.get.ts | List users |
| POST | server/api/users.post.ts | Create user |
| Dynamic | server/api/users/[id].ts | Get by ID |
| Middleware | server/middleware/ | Auth check |
| Utils | server/utils/ | Shared code |
API Route Example:
// server/api/users/[id].get.ts
export default defineEventHandler(async (event) => {
const id = getRouterParam(event, 'id')
if (!id) {
throw createError({ statusCode: 400, message: 'ID required' })
}
const user = await db.user.findUnique({ where: { id } })
if (!user) {
throw createError({ statusCode: 404, message: 'Not found' })
}
return user
})
Prerequisites: Modules 1-4
Duration: 3 hours
Outcome: Deploy Nuxt applications
| Mode | Config | Use Case |
|---|---|---|
| SSR | ssr: true | Dynamic content |
| SSG | routeRules: { prerender } | Static content |
| SPA | ssr: false | Client-only |
| Hybrid | routeRules per route | Mixed content |
Deployment Targets:
| Platform | Preset | Config |
|---|---|---|
| Vercel | vercel | Zero-config |
| Netlify | netlify | netlify.toml |
| Cloudflare | cloudflare-pages | wrangler.toml |
| Node | node-server | Docker |
const skillConfig = {
maxAttempts: 3,
backoffMs: [1000, 2000, 4000],
onFailure: 'simplify_config'
}
tracking:
- event: project_created
data: [template, modules]
- event: api_route_built
data: [method, path]
- event: deployed
data: [platform, render_mode]
| Issue | Cause | Solution |
|---|---|---|
| Hydration mismatch | SSR/client diff | Use <ClientOnly> |
| Auto-import fails | Wrong directory | Check naming |
| API 500 error | Server error | Check server logs |
| Build fails | Config error | Validate nuxt.config |
import { describe, it, expect } from 'vitest'
import { setup, $fetch } from '@nuxt/test-utils'
describe('API Routes', async () => {
await setup({ server: true })
it('returns users', async () => {
const users = await $fetch('/api/users')
expect(Array.isArray(users)).toBe(true)
})
it('returns 404 for missing user', async () => {
const response = await $fetch('/api/users/999', {
ignoreResponseError: true
})
expect(response.statusCode).toBe(404)
})
})
Skill("vue-nuxt")
vue-composition-api - Prerequisitevue-testing - Testing Nuxt appsvue-typescript - Type-safe Nuxt