Skip to content

Frontend Development

Vue 3 Composition API, strict TypeScript, and production-grade design — all enforced automatically.

Best for: UI features, component development, styling
Time estimate: 15-60 minutes
Skills used: meow:vue, meow:typescript, meow:frontend-design
Agents involved: developer, tester, reviewer

Overview

MeowKit has three specialized frontend skills that auto-activate based on file types:

  • meow:vue — activates on .vue files → enforces Composition API, Pinia, <script setup>
  • meow:typescript — activates on .ts/.tsx files → enforces strict null checks, type guards
  • meow:frontend-design — activates on design/styling tasks → enforces anti-AI-slop checklist

Building a Vue component

When you create or modify a .vue file, meow:vue enforces:

RuleEnforcement
<script setup lang="ts"> alwaysOptions API (data(), methods:) blocked
defineProps<T>() with TypeScript interfacesRuntime validation objects blocked
storeToRefs() for Pinia destructuringDirect store state destructuring blocked
No v-html with user contentXSS vector (MeowKit security rule)
ref() for primitivesreactive() only for complex objects
PascalCase components, kebab-case filesMeowKit naming-rules.md enforced

TypeScript patterns

When editing .ts files, meow:typescript enforces:

RuleExample
No any typeUse unknown + type guards
No implicit truthinessif (user !== null) not if (user)
import type for type-onlyimport type { User } from './types'
Named exports over defaultexport const X not export default
Discriminated unions for results{ ok: true; data: T } | { ok: false; error: string }

Design quality

Before delivering any UI, meow:frontend-design runs the anti-AI-slop checklist:

CheckFail conditionFix
TypographyAll text same sizeAdd hierarchy: display → heading → body → caption
ColorPure #000 on #fffSoften: #111827 on #fafafa
LayoutCentered everythingIntentional asymmetry, whitespace variation
SpacingSame padding everywhereUse 4px-base scale consistently
AccessibilityContrast < 4.5:1Adjust colors to meet WCAG AA

The review dimension

The reviewer agent checks a performance dimension specific to frontend:

  • No unnecessary re-renders
  • No unbounded data fetches
  • No blocking in async
  • Components lazy-loaded where appropriate

Next workflow

Researching Libraries — evaluate tech options before building

Released under the MIT License.