skills/shadcn-ui/SKILL.md
Install and use shadcn/ui components in vibe-kit projects. Covers Button, Card, Form, Table, Dialog, Toast, and navigation patterns. Activated when building UI components in Next.js App Router with Tailwind.
npx skillsauth add Hikkywannafly/vibe-kit shadcn-uiInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Install shadcn/ui components and apply correct usage patterns for the vibe-kit stack (Next.js 14 App Router + Tailwind CSS).
npx shadcn@latest add button
npx shadcn@latest add card form table dialog toast
npx shadcn@latest add navigation-menu dropdown-menu sheet
import { Button } from "@/components/ui/button"
<Button variant="default">Mua ngay</Button>
<Button variant="outline">Xem them</Button>
<Button variant="destructive">Xoa</Button>
<Button disabled>Dang xu ly...</Button>
import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card"
<Card>
<CardHeader>
<CardTitle>San pham noi bat</CardTitle>
</CardHeader>
<CardContent>
<p>Mo ta san pham</p>
</CardContent>
</Card>
import { useForm } from "react-hook-form"
import { zodResolver } from "@hookform/resolvers/zod"
import { z } from "zod"
import { Form, FormField, FormItem, FormLabel, FormControl, FormMessage } from "@/components/ui/form"
import { Input } from "@/components/ui/input"
const schema = z.object({ email: z.string().email("Email khong hop le") })
export function ContactForm() {
const form = useForm({ resolver: zodResolver(schema) })
return (
<Form {...form}>
<form onSubmit={form.handleSubmit(onSubmit)}>
<FormField name="email" control={form.control} render={({ field }) => (
<FormItem>
<FormLabel>Email</FormLabel>
<FormControl><Input placeholder="[email protected]" {...field} /></FormControl>
<FormMessage />
</FormItem>
)} />
<Button type="submit">Gui</Button>
</form>
</Form>
)
}
import { Table, TableBody, TableCell, TableHead, TableHeader, TableRow } from "@/components/ui/table"
<Table>
<TableHeader>
<TableRow><TableHead>San pham</TableHead><TableHead>Gia</TableHead></TableRow>
</TableHeader>
<TableBody>
{items.map(item => (
<TableRow key={item.id}>
<TableCell>{item.name}</TableCell>
<TableCell>{item.price_vnd.toLocaleString('vi-VN')}đ</TableCell>
</TableRow>
))}
</TableBody>
</Table>
npx shadcn@latest add sonner
import { toast } from "sonner"
toast.success("Da luu thanh cong!")
toast.error("Co loi xay ra, vui long thu lai.")
npx shadcn@latest init
# Choose: TypeScript, Default style, Slate base color, src/ directory: No
Adds components/ui/ and updates tailwind.config.ts automatically.
data-ai
Generate Vietnamese marketing copy, UI strings, CTAs, error messages, and email templates for vibe-kit projects. Tone: friendly, conversational, Southern Vietnamese style. Activated for any user-visible text generation.
development
One-shot orchestrator. Turns the prose after /vibe into a shipped product by clarifying intent, rendering a plan, gating on approval, then spawning planner+researcher+fullstack-dev+tester+reviewer agents in sequence. User-visible strings match the user's input language (Vietnamese by default for VN users). Two modes: SAFE (default — clarify + show plan + wait for approval, max 1 round-trip) and YOLO (skip clarify+approval, run full auto with smart defaults — for demos and power users). YOLO triggers: prose contains `yolo`, `nhanh nha`, `lam luon`, `khoi hoi`, `auto`, or args start with `yolo`. Trigger phrases (EN + VN): "build me a site", "make me a landing page", "create a shop", "I need an app", "vibe lam website", "tao cho toi mot", "xay dung shop online", "lam landing page", "can mot app".
tools
On-demand security audit for vibe-kit projects. Stack-aware checks for Next.js App Router + Supabase + Polar: secrets leak, RLS gaps, service-role key in client bundle, missing webhook signature verification, unprotected API routes, weak headers, dependency vulns. Outputs a Vietnamese P0/P1/P2 report with file:line + fix hints. User-visible strings match the user's input language (Vietnamese by default for VN users). Trigger phrases (EN + VN): "check security", "audit it", "security scan", "is this safe to launch", "kiem tra bao mat", "quet bao mat", "audit du an", "co an toan khong", "scan bao mat truoc khi deploy".
tools
Wire Supabase JS client into a React Native (Expo) vibe-kit project: session persistence via AsyncStorage, magic-link OAuth callback via expo-linking deep links, Realtime subscriptions on RN, and shared TypeScript types with the Next.js webapp twin (vibe-kit's typical web<->mobile pair pattern). This is the mobile counterpart of `auth-magic-link` (web). User-visible strings match the user's input language (Vietnamese by default for VN users). Trigger phrases (EN + VN): "supabase react native", "supabase mobile", "auth mobile expo", "magic link mobile", "tich hop supabase vao app", "supabase deep link".