Agent skill
Frontend Master
Master skill for all Frontend Vue 3 development. Covers Components, Pinia, VueUse, Reactivity, CSS, and UI/UX.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/dev-frontend-master
SKILL.md
Frontend Master Skill
🎯 Capabilities
- Vue 3 Components: Creation and refactoring (
<script setup>, TypeScript) - State Management: Pinia stores, actions, and persistence
- Reactivity: Debugging
ref,reactive,computed,watch - UI/UX: Tailwind CSS, Design Tokens, Animations
- VueUse: Implementation of browser APIs and utilities
🛠️ Best Practices
Component Structure
<script setup lang="ts">
import { computed } from 'vue'
// Imports...
// Props/Emits...
// Composables...
// Computed...
// Methods...
</script>
<template>
<!-- Semantic HTML -->
</template>
Pinia Patterns
- Use Setup Stores (
export const useStore = defineStore(...)) - Always type state interfaces
- Use
storeToRefsfor destructuring reactive state
Debugging Reactivity
- Check for lost reactivity on destructuring (use
toRefs) - Verify
computeddependencies - Ensure deeply nested objects are reactive
🧹 Action Protocol
- Analyze: Understand the UI/UX requirement or bug.
- Plan: Identify which components/stores are affected.
- Implement: Write clean, typed Vue 3 code.
- Verify: Check for reactivity leaks and console errors.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?