Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

vue-component-setup

БесплатноБез исполняемых скриптовНе проверен

Rules for vue component setup. Use this when writing a new vue component or when reviewing an exisinging component.

selectот select★ 19 звёзд на GitHub

Об этом скилле

Use these patterns when createing a vue components

<template>...</template>
<script setup lang="ts">
...
</script>
<style scoped>
...
</style>

Only use style for custom animations, use unocss for all styling

Script setup GOOD

const props = defineProps<{collection: { id: string name: string }}>()
const emit = defineEmits<{ updated: [newId: string] }>()
const model = defineModel({ required: true }) // making the v-model required
const model = defineModel({ default: 0 }) // providing a default value

Use VueUse composables that are installed in this project, vueuse needs to be imported GOOD

import { onClickOutside } from '@vueuse/core'
onClickOutside(themeMenuRef, () => { ... }

When using refs and functions from pinia stores GOOD

// do not import useSomeStore they are always auto-imported
const { progress } = storeToRefs(useAdminStore()) // use a reactive ref from store
const { setProgress } = useAdminStore() // use a store action
const archiveProgress = computed(() => progress.value.archive)
function onUpdate(event: string) {
  setProgress(event)
}

Never use the following patterns BAD

// utils/ and shared/types/ are alway auto-imported
import { utilFkt } from '../utils/utilName'
import { MovieMetadata } from '../shared/types/movie' alway

Установить vue-component-setup в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл vue-component-setup?

Rules for vue component setup. Use this when writing a new vue component or when reviewing an exisinging component.

Как установить скилл vue-component-setup?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл vue-component-setup запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить vue-component-setup с