Vue Component Development logo

Vue Component Development

Community
gdarko
vue-component-development

Activate when creating or modifying Vue 3 components, pages, layouts, stores, or services in the frontend. Covers component patterns, DaisyUI usage, icon system, toast notifications, drawer patterns, form handling, and the SPA routing/auth flow. Use when working in resources/app/.

Overview

Publishergdarko
Repositorylaravel-vue-starter
Skill namevue-component-development
Stars
145
Forks
61
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by gdarko on GitHub. Read the source before you install it.

Installation

Install the Vue Component Development AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/gdarko/laravel-vue-starter/tree/main/.claude/skills/vue-component-development
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/gdarko/laravel-vue-starter.git /tmp/laravel-vue-starter
mkdir -p .claude/skills
cp -r /tmp/laravel-vue-starter/.claude/skills/vue-component-development .claude/skills/vue-component-development
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Vue Component Development in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Vue Component Development on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Vue Component Development is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Vue Component Development

Patterns and conventions for building Vue 3 frontend components in this project.

Component Architecture

Directory Structure

  • views/layouts/ — Layout wrappers (Page, Menu, Auth)
  • views/components/ — Reusable UI components (Button, TextInput, Table, Modal, etc.)
  • views/components/icons/ — Icon system (Icon, Avatar, Spinner)
  • views/components/input/ — Form input components
  • views/components/filters/ — Filter components for list pages
  • views/pages/ — Page-level components organized by auth/private/shared
  • stores/ — Pinia stores (auth, toast, alert, global)
  • services/ — TypeScript API service classes extending BaseService
  • helpers/ — Pure utility functions

Component Conventions

  • Use Options API with defineComponent() and setup() function (project convention)
  • Use reactive() for form state, ref() for simple values, computed() for derived state
  • Import components explicitly — no global registration
  • Props use camelCase in JS, kebab-case in templates

UI Framework: DaisyUI 5

This project uses DaisyUI 5 on top of Tailwind CSS 4. Prefer DaisyUI component classes over hand-rolled Tailwind.

Key classes

  • Buttons: btn btn-primary, btn-success, btn-error, btn-outline, btn-ghost, btn-sm
  • Inputs: input input-bordered, textarea textarea-bordered, select
  • Cards: card bg-base-100 shadow, card-body, card-title
  • Tables: table with hover on <tr>
  • Badges: badge badge-success, badge-error, badge-warning, badge-info
  • Alerts: alert alert-success, alert-error
  • Modal: modal, modal-open, modal-box, modal-backdrop
  • Navigation: navbar, menu, breadcrumbs, dropdown
  • Loading: loading loading-spinner, skeleton
  • Layout: drawer, drawer-side, drawer-content

Theme Colors

Use semantic DaisyUI colors, not raw Tailwind colors:

  • primary (teal), secondary, accent, neutral
  • success, warning, error, info
  • base-100 (surface), base-200 (background), base-300 (border), base-content (text)
  • Opacity variants: text-base-content/50, border-base-300/50

Dark Mode

The project supports light/dark themes via data-theme attribute on <html>. Both themes use the same teal primary. Custom sidebar colors use --color-sidebar / --color-sidebar-content CSS variables that adapt per theme. Never hardcode white/black — use semantic DaisyUI colors.

Icon System

Icons use a thin wrapper around Heroicons:

vue
<Icon name="users" class="h-5 w-5" />

To add a new icon: import it in views/components/icons/Icon.vue from @heroicons/vue/24/outline and add a name→component entry to the iconMap.

Toast Notifications

Use the toast store for user feedback instead of inline alerts:

js
import {useToastStore} from "@/stores/toast";
const toastStore = useToastStore();
toastStore.success('Done!');
toastStore.error('Failed.');
toastStore.info('FYI...');
toastStore.warning('Careful!');

Toasts auto-dismiss after 5 seconds. They accept strings, arrays, or validation error objects.

Drawer Pattern for CRUD

List pages use a slide-in drawer instead of separate create/edit pages:

  • Drawer state: reactive({ open, mode, loading, form })
  • Open with drawer.open = true and set drawer.mode to 'create' or 'edit'
  • Close with drawer.open = false, refresh list on success
  • Use <Transition name="slide-right"> for animation and <Teleport> if needed

API Services

  • Services extend BaseService or ModelService (for CRUD)
  • ModelService provides: index(), store(), update(), delete(), edit(), find()
  • handleCreate() and handleUpdate() manage loading states and toast notifications
  • PUT/PATCH use POST with _method field to support FormData file uploads

Form Handling

  • Use reactive() for form state
  • Use reduceProperties(form, ['roles'], 'id') to flatten nested objects before submission
  • Use fillObject(form, data) to populate form from API response
  • Use clearObject(form) to reset form

Frequently asked questions

What does the Vue Component Development AI skill do?

Activate when creating or modifying Vue 3 components, pages, layouts, stores, or services in the frontend. Covers component patterns, DaisyUI usage, icon system, toast notifications, drawer patterns, form handling, and the SPA routing/auth flow. Use when working in resources/app/.

Why use Vue Component Development on TypingMind?

Because you install it once and use it with any model. Vue Component Development is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Vue Component Development in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/gdarko/laravel-vue-starter/tree/main/.claude/skills/vue-component-development. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Vue Component Development?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Vue Component Development?

As many as you like. As long as a model supports skills, you can use Vue Component Development with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Vue Component Development AI skill free?

Yes. It is published on GitHub by gdarko under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇