Agent skill
vue
Vue coding style and best practices.
Install this agent skill to your Project
npx add-skill https://github.com/rakibdev/dotfiles/tree/main/home/.config/ai/skills/vue
SKILL.md
- Always use
toast.error(error.message)in catch blocks, neverconsole.error - Minimize DOM nesting by avoiding unnecessary wrappers ()
- Use modern v3.5+ syntax (e.g. defineModel, defineEmits named tuple, useTemplateRef)
- Use shorthands prop in templates (e.g.
propinstead of:prop={true}) - PascalCase for component, camelCase for prop e.g.
@update:modeValueover@update:model-value - Structure: First , then , then
- Prefer
@update:modelValueinstead ofwatch - Use
<template v-if>instead of empty<div v-if>. Putv-fordirectly on components, not wrapper divs
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
valibot
Valibot schema validation for backend and frontend forms.
tailwind
Tailwind CSS styling conventions.
websearch
Search Google
github
Fetch GitHub URLs, repos, issues, pull requests, code search
figma
Tool for fetching Figma design data and downloading images.
shadcn
shadcn/ui component library conventions.
Didn't find tool you were looking for?