소스 정보
- 저장소
- ffsshhttiikk/opencode-agents-skills
- 최근 소스 활동
- 2026년 2월 28일 22:55
- 감지된 SKILL.md 언어
- 영어
- 스타
- 2
- 포크
- 2
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/ffsshhttiikk/opencode-agents-skills --skill vue명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SOC 직업 분류 기준
SKILL.md 표시 중
| name | vue |
| description | Vue.js progressive JavaScript framework for building user interfaces |
| category | web-development |
| difficulty | intermediate |
| tags | ["frontend","javascript","framework","component-based"] |
| author | Vue.js Team |
| version | 3.4 |
| last_updated | 2024-01-15T00:00:00.000Z |
I am Vue.js, a progressive JavaScript framework for building user interfaces. I combine declarative rendering with reactive data binding to create interactive web applications. My core philosophy centers on being incrementally adoptable - you can start using just my template syntax and gradually incorporate more advanced features as needed. I provide a reactive system that automatically tracks dependencies and updates the DOM when your data changes, eliminating the need for manual DOM manipulation. My Single File Components (SFCs) with .vue extension allow you to encapsulate template, logic, and styles in a single, maintainable file. I offer the Composition API for flexible code organization, built-in state management through Pinia, and seamless integration with the Vue Router for single-page application development. My gentle learning curve makes me an excellent choice for teams transitioning from traditional web development to modern frameworks.
Reactive Data Binding: Vue's reactivity system automatically updates the DOM when reactive data changes using ref() and reactive() declarations.
Component Architecture: Build encapsulated, reusable components that manage their own state and expose props for configuration.
Directives: Special attributes like v-if, v-for, v-bind, and v-on that provide declarative behavior to templates.
Composition API: Organize component logic by concern using functions like setup(), computed(), watch(), and lifecycle hooks.
Single File Components: .vue files containing <template>, <script>, and <style> blocks for complete component encapsulation.
Pinia State Management: Modern, type-safe state management with modular stores for centralized application state.
Vue Router: Official client-side routing solution for building single-page applications with nested routes and navigation guards.
Server-Side Rendering: Nuxt.js framework enables SSR, static site generation, and SEO-friendly Vue applications.
// UserProfile.vue
<script setup>
import { ref, computed, onMounted } from 'vue'
const props = defineProps({
userId: { type: String, required: true }
})
const user = ref(null)
const isLoading = ref(true)
const error = ref(null)
const fullName = computed(() =>
user.value ? `${user.value.firstName} ${user.value.lastName}` : ''
)
const fetchUser = async () => {
try {
isLoading.value = true
const response = await fetch(`/api/users/${props.userId}`)
if (!response.ok) throw new Error('User not found')
user.value = await response.json()
} catch (e) {
error.value = e.message
} {
isLoading. =
}
}
(fetchUser)
</script>
// composables/useFetch.js
import { ref } from 'vue'
export function useFetch(url) {
const data = ref(null)
const error = ref(null)
const loading = ref(false)
const execute = async () => {
loading.value = true
error.value = null
try {
const response = await fetch(url)
if (!response.ok) throw new Error(`HTTP error ${response.status}`)
data.value = await response.json()
} catch (e) {
error.value = e.message
} finally {
loading.value = false
}
}
return { data, error, loading, execute }
}
// Usage in component
// const { data, error, loading, execute } = useFetch('/api/products')
// stores/cart.js
import { defineStore } from 'pinia'
import { ref, computed } from 'vue'
export const useCartStore = defineStore('cart', () => {
const items = ref([])
const promoCode = ref('')
const discount = ref(0)
const totalItems = computed(() =>
items.value.reduce((sum, item) => sum + item.quantity, 0)
)
const subtotal = computed(() =>
items.value.reduce((sum, item) => sum + item.price * item.quantity, 0)
)
const total = computed(() => subtotal.value - discount.value)
function addItem(product, quantity = 1) {
const existing = items.value.find( => i. === product.)
(existing) {
existing. += quantity
} {
items..({ ...product, quantity })
}
}
() {
items. = items..( item. !== productId)
}
() {
(code === ) discount. = subtotal. *
}
() {
items. = []
promoCode. =
discount. =
}
{
items, promoCode, discount, totalItems,
subtotal, total, addItem, removeItem,
applyPromo, clearCart
}
})
// router/index.js
import { createRouter, createWebHistory } from 'vue-router'
import { useAuthStore } from '@/stores/auth'
const routes = [
{
path: '/',
name: 'Home',
component: () => import('@/views/Home.vue')
},
{
path: '/dashboard',
name: 'Dashboard',
component: () => import('@/views/Dashboard.vue'),
meta: { requiresAuth: true }
},
{
path: '/admin',
name: 'Admin',
component: () => import('@/views/Admin.vue'),
meta: { requiresAuth: true, role: 'admin' }
}
]
const router = createRouter({
history: createWebHistory(),
routes
})
router.beforeEach((to, from, next) => {
const authStore = useAuthStore()
if (to.meta. && !authStore.) {
({ : , : { : to. } })
} (to.. && authStore. !== to..) {
({ : })
} {
()
}
})
router
// directives/emailValidator.js
export default {
mounted(el, binding) {
const validateEmail = (value) => {
const regex = /^[^\s@]+@[^\s@]+\.[^\s@]+$/
const isValid = regex.test(value)
el.classList.toggle('valid', isValid)
el.classList.toggle('invalid', !isValid)
return isValid
}
const onInput = () => validateEmail(el.value)
el.addEventListener('input', onInput)
el.addEventListener('blur', () => validateEmail(el.value))
if (binding.value) {
el.value = binding.value
validateEmail(el.value)
}
},
updated(el, binding) {
el.value = binding.value
el.classList.remove('valid', 'invalid')
}
}
// Usage in template: <input v-email-validator="user.email">
<script setup> syntax for cleaner, more concise componentsdefineProps() for type safety and documentationdefineAsyncComponent() for code splittingerrorCaptured() hook