skills/tiktok-shop-embed/SKILL.md
Embed TikTok Shop product cards and affiliate links into vibe-kit Next.js pages. Supports product widget, video embed, and shop affiliate link generation. For Vietnamese sellers who also sell on TikTok Shop.
npx skillsauth add Hikkywannafly/vibe-kit tiktok-shop-embedInstall 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.
Let Vietnamese sellers display their TikTok Shop products on their website without leaving TikTok's ecosystem. Drives cross-traffic between website and shop.
TikTok Shop provides an embeddable product card via their seller center.
// components/tiktok-product-card.tsx
"use client"
interface TikTokProductCardProps {
productId: string
shopRegion?: string // default: "VN"
}
export function TikTokProductCard({ productId, shopRegion = "VN" }: TikTokProductCardProps) {
return (
<div className="rounded-xl overflow-hidden border border-slate-200 shadow-sm">
<iframe
src={`https://www.tiktok.com/embed/product/${productId}?region=${shopRegion}`}
className="w-full h-[500px]"
allowFullScreen
loading="lazy"
title="San pham TikTok Shop"
/>
</div>
)
}
interface TikTokShopLinkProps {
affiliateUrl: string
productName: string
priceVnd: number
}
export function TikTokShopLink({ affiliateUrl, productName, priceVnd }: TikTokShopLinkProps) {
return (
<a
href={affiliateUrl}
target="_blank"
rel="noopener noreferrer"
className="flex items-center gap-3 p-3 rounded-lg bg-[#FE2C55] text-white hover:bg-[#e0264b] transition-colors"
>
<span className="font-medium">Mua tren TikTok Shop</span>
<span className="ml-auto font-bold">{priceVnd.toLocaleString('vi-VN')}d</span>
</a>
)
}
export function TikTokVideo({ videoId }: { videoId: string }) {
return (
<blockquote
className="tiktok-embed rounded-xl overflow-hidden"
cite={`https://www.tiktok.com/@shop/video/${videoId}`}
data-video-id={videoId}
>
<section />
</blockquote>
)
}
Add to app/layout.tsx:
<Script src="https://www.tiktok.com/embed.js" strategy="lazyOnload" />
import { TikTokProductCard } from "@/components/tiktok-product-card"
import { TikTokShopLink } from "@/components/tiktok-product-card"
export default function ProductPage() {
return (
<div className="max-w-md mx-auto p-4 space-y-4">
<TikTokProductCard productId="1234567890" />
<TikTokShopLink
affiliateUrl="https://s.tiktok.com/abc123"
productName="Giay sneaker nam"
priceVnd={450000}
/>
</div>
)
}
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".