Back to list
select

vue-component-setup

by select

Free legal movie streams from Archive.org and YouTube

0🍴 0📅 Jan 24, 2026

SKILL.md


name: vue-component-setup description: Rules for vue component setup. Use this when writing a new vue component or when reviewing an exisinging component. license: MIT

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

Score

Total Score

50/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

Reviews

💬

Reviews coming soon