From vue3-js-assistant
Creates Vue 3 Single File Components (SFC) using Composition API with <script setup>. Use when creating new Vue components, refactoring options API to composition API, or building UI components with Vue 3.
How this skill is triggered — by the user, by Claude, or both
Slash command
/vue3-js-assistant:vue-componentThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Create Vue 3 SFC components following these conventions:
Create Vue 3 SFC components following these conventions:
Every component must use <script setup> syntax with Composition API (no Options API, no TypeScript).
<ComponentName>.vue
├── <script setup> — imports, props, emits, reactive state, methods
├── <template> — HTML template
└── <style> — (optional) scoped styles
defineProps() with object syntax for type declarations and defaultsdefineEmits() with array of event names: defineEmits(['add', 'delete'])@add, @toggle, @delete, @updateref() for primitive values and single objectscomputed() for derived statewatch() with { deep: true } when watching objects/arraysreactive() — prefer ref() for consistencyflex, gap-4, mb-6, rounded-xl, etc.)style bindings, NOT Tailwind color classes
style="color: var(--text)" — text colorstyle="background: var(--surface)" — backgroundstyle="border-color: var(--border)" — bordersstyle="box-shadow: var(--shadow-md)" — shadowsprovide/inject for simple parent-child)ref())defineExpose() only when parent needs imperative access (e.g., focus())v-for with :key alwaysv-if / v-show appropriately (v-if for conditional rendering, v-show for frequent toggles)@click over v-on:clickGenerate a Vue 3 SFC component following this pattern:
<!--
ComponentName.vue — One-line description
Features: list key features
-->
<script setup>
import { ref, computed, watch } from 'vue'
const props = defineProps({
items: { type: Array, default: () => [] },
active: { type: Boolean, default: false },
})
const emit = defineEmits(['select', 'delete'])
const localState = ref('')
const derivedValue = computed(() =>
props.items.filter(item => item.active)
)
const handleAction = () => {
emit('select', localState.value)
}
</script>
<template>
<div class="flex flex-col gap-3"
style="background: var(--surface); color: var(--text);">
<div v-for="item in derivedValue" :key="item.id"
class="px-4 py-2 rounded-lg transition-all duration-200"
style="border: 1px solid var(--border);"
@click="handleAction">
{{ item.name }}
</div>
</div>
</template>
npx claudepluginhub xqgerogia/claude-skills --plugin vue3-js-assistantProvides behavioral guidelines to reduce common LLM coding mistakes, focusing on simplicity, surgical changes, assumption surfacing, and verifiable success criteria.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.