Communitygithub.com

lexuanthanhhy/MKT.LANDINGPAGE.SKILLS

Setup SMTP-based email auto-responder cho landing page bán hàng — tự động gửi email sau khi user điền form (tên/SĐT/email), KHÔNG cố định vào provider nào. Skill này (1) hỏi user chọn SMTP provider (Gmail/Google Workspace, Resend SMTP, SendGrid, Mailgun, Brevo, Zoho, hoặc SMTP custom của hosting VN) và detect Next.js stack đang dùng, (2) đọc context từ `offer.json` + `conversion-copy.md` (từ `/biz-offer-alex-hormozi`) HOẶC đọc trực tiếp Next.js project đã build qua `ui-ux-pro-max` (file `app/page.tsx`) HOẶC đọc HTML landing page đã deploy để hiểu offer, dream outcome, mechanism, bonus. Lưu ý: skill `biz-sales-page-layout` đã DEPRECATED 2026-05-14 — pipeline mới skip layout/copy.json, (3) **draft 2 email**: email A — auto-responder gửi cho lead (warm welcome + deliver lead magnet/booking confirm/payment link tuỳ offer type), email B — notification gửi cho owner (lead alert + thông tin liên hệ), (4) **show draft cho user duyệt và chỉnh sửa** trước khi wire vào code, (5) cài `nodemailer`

¿Qué es MKT.LANDINGPAGE.SKILLS?

MKT.LANDINGPAGE.SKILLS is a Claude Code agent skill that setup SMTP-based email auto-responder cho landing page bán hàng — tự động gửi email sau khi user điền form (tên/SĐT/email), KHÔNG cố định vào provider nào. Skill này (1) hỏi user chọn SMTP provider (Gmail/Google Workspace, Resend SMTP, SendGrid, Mailgun, Brevo, Zoho, hoặc SMTP custom của hosting VN) và detect Next.js stack đang dùng, (2) đọc context từ `offer.json` + `conversion-copy.md` (từ `/biz-offer-alex-hormozi`) HOẶC đọc trực tiếp Next.js project đã build qua `ui-ux-pro-max` (file `app/page.tsx`) HOẶC đọc HTML landing page đã deploy để hiểu offer, dream outcome, mechanism, bonus. Lưu ý: skill `biz-sales-page-layout` đã DEPRECATED 2026-05-14 — pipeline mới skip layout/copy.json, (3) **draft 2 email**: email A — auto-responder gửi cho lead (warm welcome + deliver lead magnet/booking confirm/payment link tuỳ offer type), email B — notification gửi cho owner (lead alert + thông tin liên hệ), (4) **show draft cho user duyệt và chỉnh sửa** trước khi wire vào code, (5) cài `nodemailer`.

Compatible con~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/lexuanthanhhy/MKT.LANDINGPAGE.SKILLS/tree/main/.claude/skills/biz-email-setup

Preguntar en tu IA favorita

Abre un nuevo chat con esta habilidad de agente ya precargada.

Documentación

Biz SMTP Form Autoresponder — Auto-email sau khi lead điền form

Skill này biến form đăng ký trên landing page (tên/SĐT/email theo chuẩn VN traffic) thành 2 email tự động ngay khi user submit: (A) email warm welcome gửi cho lead, (B) email notification gửi cho owner. Email được draft riêng cho từng offer dựa vào context có sẵn từ pipeline biz-* (không generic "Cảm ơn anh/chị đã đăng ký, chúng tôi sẽ liên hệ sớm" — đó là copy đốt lead).

Triết lý: Email auto-responder là moment vàng. Lead vừa nhấn nút submit = đang ở peak intent. Email đến trong 30 giây phải (1) confirm họ submit đúng, (2) deliver thứ đã promise trong CTA (lead magnet / booking / payment link), (3) set expectation rõ bước tiếp theo. Một email auto-responder tốt = chuyển 20-40% lead nguội thành lead nóng. Một email generic = lead block sender hoặc forget tên brand trong 24h.

Tại sao SMTP (không lock vào 1 provider): SMTP là chuẩn mở — user pick được provider hợp túi tiền + region + compliance. Gmail SMTP free 500/ngày (đủ cho landing page <50 lead/ngày), Resend SMTP 3000/tháng, SendGrid 100/ngày forever-free, Brevo (popular VN) 300/ngày free, hosting VN (Mắt Bão/PA/Inet) thường tặng kèm SMTP. Code dùng nodemailer — swap provider chỉ cần đổi 4 env var, không sửa code. Tránh vendor lock-in.

Output skill: code patch + 2 email draft HTML responsive + env vars list + test plan. Skill KHÔNG tự gửi test email — user phải confirm draft trước, vì lead magnet link, brand voice, urgency wording đều thuộc tài sản của user.


Khi nào dùng skill này

  • User vừa deploy landing page xong (qua /biz-deploy-vercel) và form đang submit vào hư không.
  • User có landing page sẵn (Next.js, Vite, hoặc static HTML trên Vercel) và muốn wire email auto-responder.
  • User đang build mới và muốn email integration ngay từ đầu trước khi deploy.
  • User đã có Gmail/Google Workspace muốn tận dụng SMTP free thay vì tạo account provider mới.
  • User có hosting VN (Mắt Bão, PA, Inet) có sẵn SMTP server muốn dùng.

KHÔNG dùng skill này khi:

  • User muốn email marketing broadcast (newsletter, drip campaign 7-30 ngày) → Mailchimp/ConvertKit/MailerLite phù hợp hơn.
  • User muốn SMS/Zalo OA auto-responder → use case khác.
  • User muốn CRM tích hợp (lead vào Hubspot/Pipedrive/Notion DB) → skill khác.
  • User cần cold email outreach hàng loạt → Instantly/Smartlead, không phải transactional.

Workflow tổng quan (7 phase)

Phase 0: DETECT PROJECT STACK (Next.js App / Pages / Vite / static HTML)
       ↓
Phase 1: PICK SMTP PROVIDER (Gmail / Resend SMTP / SendGrid / Mailgun / Brevo / Zoho / Custom)
       ↓
Phase 2: GATHER CONTEXT (offer.json + conversion-copy.md, hoặc đọc Next.js app/page.tsx, hoặc đọc HTML đã deploy)
       ↓
Phase 3: PICK EMAIL PATTERN (lead magnet / booking / payment / nurture)
       ↓
Phase 4: DRAFT 2 EMAIL (auto-responder + owner notification) — show user
       ↓
Phase 5: USER REVIEW & EDIT — iterate cho đến khi user duyệt
       ↓
Phase 6: WIRE CODE (install nodemailer + API route + form binding + env vars)
       ↓
Phase 7: PROVIDER SETUP + TEST PLAN — hướng dẫn lấy SMTP credentials, verify domain (nếu cần), test live

Mỗi phase dừng để user xác nhận — đặc biệt Phase 1 (provider choice), Phase 4-5 (email content), Phase 7 (provider DNS) vì đó là tài sản brand của user. Code generation ở Phase 6 thì skill chủ động hơn.


Phase 0 — Detect Project Stack

Đọc file root của project để xác định stack. Stack quyết định: API route đặt ở đâu, syntax import nodemailer, kiểu form binding (fetch hay form action).

File phát hiệnStackAPI route pathForm binding
next.config.js/mjs/ts + app/ folderNext.js App Routerapp/api/submit/route.tsclient component fetch('/api/submit')
next.config.js/mjs/ts + pages/ folderNext.js Pages Routerpages/api/submit.tsclient component fetch('/api/submit')
vite.config.js/tsVite (React/Vue/Svelte)api/submit.js (Vercel function)client component fetch('/api/submit')
package.json không có framework, có index.htmlStatic HTMLapi/submit.js (Vercel function)inline <script> với fetch('/api/submit')
Không có project local, chỉ có URLExisting deployed pageCần user clone repo trước hoặc chỉ ra repo path—

Đọc thêm để xác định form fields:

  • Tìm <form> trong code → liệt kê các <input name="..."> đã có
  • Default expected (per project memory): name, phone, email. Một số page thêm: company, message, budget, utm_source.
  • Nếu form chưa có → skill sẽ tạo form mới với 3 field tối thiểu (tên/SĐT/email) trong Phase 6.

Quan trọng: Nếu user chưa có project local (chỉ deploy được URL), dừng lại hỏi: "Anh/chị có repo local để em wire code không? Em cần edit file source. Nếu chỉ có URL, anh/chị clone repo về và chỉ em đường dẫn nhé." Không thể wire chỉ qua URL.


Phase 1 — Pick SMTP Provider

Hỏi user chọn 1 trong 7 provider. Mỗi provider có config SMTP khác nhau (host/port/auth), skill auto-fill template env vars khi user pick.

#ProviderFree tierPhù hợp khiSMTP hostPortNotes
1Gmail / Google Workspace500/ngàyUser có sẵn Gmail/Workspace, traffic thấpsmtp.gmail.com587 (STARTTLS)Bắt buộc App Password (2FA), KHÔNG xài password chính
2Resend SMTP3000/thángMuốn deliverability cao + log đẹp, OK setup DNSsmtp.resend.com587User = resend, Pass = API key. Cần verify domain để gửi từ custom @brand.vn
3SendGrid SMTP100/ngày forever-freeStack đã quen SendGrid, cần webhooksmtp.sendgrid.net587User = apikey literal, Pass = API key
4Mailgun SMTP100/ngày × 3 thángEU/US region, dev-friendlysmtp.mailgun.org (US) hoặc smtp.eu.mailgun.org (EU)587User/pass từ Mailgun domain settings
5Brevo (Sendinblue) SMTP300/ngày forever-freePopular VN, free tier rộng nhất, có VN supportsmtp-relay.brevo.com587User = login email, Pass = SMTP key (khác API key)
6Zoho Mail SMTP5/ngày free, $1/user/thángUser đã xài Zoho Workspacesmtp.zoho.com587Cần App Password nếu bật 2FA
7Custom SMTPPhụ thuộc hostingHosting VN (Mắt Bão/PA/Inet/Nhân Hòa) tặng kèm SMTP, hoặc dùng Postfix tự hostUser cung cấpUser cung cấpUser paste full host/port/user/pass

Default recommendation theo offer type:

  • Landing page <50 lead/ngày, user có Gmail → Gmail SMTP (zero cost, 5 phút setup).
  • Landing page >50 lead/ngày hoặc cần deliverability pro → Brevo (free 300/ngày, deliverability tốt cho VN) hoặc Resend SMTP (3000/tháng, log đẹp).
  • User muốn migration-proof, có thể self-host sau này → Custom SMTP ngay từ đầu.

Format câu hỏi cho user:

Anh/chị muốn dùng SMTP provider nào để gửi email tự động?

1. Gmail / Google Workspace (free 500/ngày, dễ nhất nếu đã có Gmail)
2. Resend SMTP (free 3000/tháng, deliverability cao, cần verify domain)
3. SendGrid SMTP (free 100/ngày forever, đã quen API)
4. Mailgun SMTP (free 100/ngày × 3 tháng)
5. Brevo / Sendinblue SMTP (free 300/ngày, popular VN)
6. Zoho Mail SMTP (nếu đã xài Zoho Workspace)
7. Custom SMTP (hosting VN của anh/chị có sẵn / tự host)

Nếu chưa có sẵn account nào, em đề xuất [Gmail nếu traffic thấp / Brevo nếu cần deliverability cao]. Anh/chị chọn số mấy?

Sau khi user chọn → lưu lại để Phase 6 inject vào env template + Phase 7 hướng dẫn lấy credentials đúng provider.

⚠️ Quan trọng — security: SMTP credentials (đặc biệt App Password Gmail) có quyền gửi email từ tài khoản của user. Không bao giờ hardcode vào source code. Luôn qua env var. Cảnh báo user rotate ngay nếu vô tình commit.


Phase 2 — Gather Context

Mục tiêu: hiểu offer đủ sâu để draft email không generic. 3 mode input:

Mode A — Có pipeline artifacts (richest)

User vừa chạy /biz-offer-alex-hormozi và/hoặc ui-ux-pro-max → có file:

  • output/<case-slug>/offer.json — segment, dream outcome, mechanism, bonus stack, guarantee, pricing (PRIMARY source of truth)
  • output/<case-slug>/conversion-copy.md — hero block paste-ready (headline, subhead, CTA wording)
  • output/<case-slug>/landing-page/app/page.tsx — Next.js sales page hiện tại đã build (đọc để biết sections + form fields đang dùng)

⚠️ Update 2026-05-14: Pipeline cũ có layout.json + copy.json (từ biz-sales-page-layout đã DEPRECATED) — quy trình mới SKIP 2 file đó. Chỉ cần offer.json + đọc page.tsx là đủ context.

Đọc 3 source trên. Trích ra cho email:

  • Segment + dream outcome → personalize subject line ("[Tên], lộ trình AI Agent 8 tuần đã sẵn sàng" thay vì "Welcome")
  • Mechanism name → reinforce trong body ("Hệ thống PROMPT framework anh/chị sắp học...")
  • Bonus stack → list trong email (nếu offer free/low-ticket có bonus deliver ngay)
  • Guarantee text → quote nguyên trong email để giảm anxiety
  • CTA wording → mirror trong email final CTA

Mode B — Có landing page nhưng không có json

User có HTML deployed nhưng không chạy biz-offer/biz-sales-page. Skill đọc HTML:

  • curl -s <URL> hoặc đọc file index.html local
  • Parse hero h1, subheading, CTA button text, pricing block, guarantee block
  • Từ đó infer offer type + segment

Mode B đủ tốt 80% case nhưng email kém personalized hơn Mode A. Suggest user: "Có thể chạy /biz-offer-alex-hormozi để có offer.json rồi quay lại đây, email sẽ chất hơn. Hoặc tiếp tục Mode B."

Mode C — Không có gì

User chỉ có form HTML, chưa có context. Skill phải phỏng vấn 5 câu nhanh:

  1. Sản phẩm/dịch vụ anh/chị bán là gì? (1 câu)
  2. Sau khi user điền form, anh/chị muốn gửi cho họ thứ gì? (PDF tải về / link booking / link payment / chỉ confirm và sẽ gọi sau)
  3. Tên brand + tên người gửi (sẽ hiện trong "From:")
  4. Email anh/chị muốn nhận notification lead mới
  5. Domain anh/chị sở hữu để verify SPF/DKIM (nếu chọn Resend/SendGrid/Mailgun/Brevo — Gmail thì skip)

Phase 3 — Pick Email Pattern

Mô hình 2-trigger (cho offer có checkout flow): Với low-ticket course / digital product có thanh toán online, có 2 trigger điểm khác nhau, gửi 2 email khác nhau. Đừng gộp vào 1 email duy nhất.

Lead điền form trên landing page
         ↓
   [Trigger A — /api/submit]
         ↓
   Email P3 (PRE-PAYMENT REMINDER, slim)
         ↓
Lead thanh toán xong → payment provider webhook
         ↓
   [Trigger B — /api/payment-webhook]
         ↓
   Email P5 (POST-PURCHASE ONBOARDING, full)

Quy tắc nội dung:

  • P3 (pre-payment): chỉ có payment link + guarantee ngắn + urgency. KHÔNG list full deliverables/bonus stack — lead chưa "earn" được, list ra giảm urgency thanh toán.
  • P5 (post-payment): deliver TOÀN BỘ — access link, full deliverables, bonus stack, group link, lịch office hour, 1 câu hỏi follow-up để personalize. Đây mới là moment vàng.

(Đọc memory feedback_email-autoresponder-2-stage-flow cho rationale chi tiết.)


Từ context Phase 2, chọn pattern phù hợp. Đọc references/email-formulas.md cho template chi tiết tiếng Việt.

PatternTriggerKhi nào dùngSubject hint
P1 — Lead Magnet DeliveryForm submitOffer = tải PDF/ebook/template/swipe file/checklist free"[Tên], tài liệu [X] đã sẵn sàng — mở file ngay 👇"
P2 — Booking ConfirmationForm submitOffer = đặt lịch call/consultation/demo/free strategy session"[Tên], đã ghi nhận đăng ký buổi tư vấn — bước tiếp theo bên trong"
P3 — Pre-Payment ReminderForm submit (chưa pay)Offer = sản phẩm low-ticket (199K-3M VND), email dẫn về checkout"[Tên], link thanh toán [Khóa X] — giữ giá ưu đãi 24h ⏰"
P4 — Nurture (Sale call upcoming)Form submitOffer = high-ticket coaching/agency 5M-50M+ VND, sales team sẽ call trong 24h"[Tên], em [Người gọi] sẽ liên hệ trong 24h — checklist chuẩn bị bên trong"
P5 — Post-Purchase OnboardingPayment webhookLead vừa thanh toán xong — deliver full value + 1 câu hỏi personalize"🎉 Chào mừng [Tên] vào [Khóa X] — mở khoá ngay"

Quy tắc chọn pattern:

  • Offer = free download/training → P1 only (1 trigger, 1 email).
  • Offer = booking call free → P2 only (1 trigger, 1 email).
  • Offer = low-ticket có thanh toán online (Stripe/Momo/ZaloPay/Sepay) → P3 + P5 (2 trigger, 2 email).
  • Offer = high-ticket sale call → P4 only, follow-up qua sales team (onboarding sau khi close deal là 1 process khác).

Skill đề xuất pattern phù hợp + lý do, hỏi user confirm. Ví dụ: "Dựa vào offer.json em thấy đây là khoá 1.99M VND có payment integration. Em đề xuất setup 2 email: P3 (nhắc thanh toán khi điền form) + P5 (onboarding sau khi pay xong + 1 câu hỏi personalize). Anh/chị đồng ý hay chỉ muốn 1 email P3 trước?"


Phase 4 — Draft 2 Email

Generate 2 email tiếng Việt thuần (xưng anh/chị), mobile-responsive HTML.

Email A — Auto-responder gửi cho lead

Cấu trúc 6 block (đọc references/email-formulas.md cho wording cụ thể per pattern):

  1. Subject line — personalized với {{name}}, ngắn dưới 50 ký tự, có 1 emoji nhẹ ở cuối nếu phù hợp brand voice (✉️ 👇 ✓), tránh spam trigger ("FREE", "$$$", "guarantee" caps).
  2. Preview text — 1 câu hiển thị dưới subject trong inbox, giải thích value email mở ra.
  3. Greeting — "Chào anh/chị {{name}}," — không "Dear", không "Xin chào quý khách".
  4. Body chính — theo pattern đã chọn. Quy tắc:
    • Ngắn (dưới 200 từ).
    • Có 1 link/button CTA primary rõ ràng.
    • Reference cụ thể tên offer/mechanism từ context (không "sản phẩm của chúng tôi").
    • Nếu Pattern P3/P4 → có 1 urgency reminder + 1 reassurance (guarantee).
  5. Signature — Tên người gửi + tên brand + 1 link contact (Zalo/Phone/Website).
  6. Footer — Address (luật anti-spam yêu cầu) + unsubscribe link (cần cho compliance, dù transactional cũng nên có).

Email B — Notification gửi cho owner

Cấu trúc gọn (owner cần info nhanh, không cần style):

Subject: 🔥 Lead mới — {{name}} ({{phone}}) — {{landing_page_slug}}

Tên: {{name}}
SĐT: {{phone}}
Email: {{email}}
Source: {{utm_source || 'direct'}}
Page: {{landing_page_url}}
Thời gian: {{timestamp_vn}}

Suggested action: {{action_per_pattern}}
- P1: Lead vừa nhận PDF, follow-up trong 48h
- P2: Vào lịch call, gọi xác nhận trong 1h
- P3: Theo dõi payment, gọi nếu chưa pay sau 2h
- P4: Gọi ngay trong 5 phút (hot lead, intent peak)

Show to user

Sau khi draft xong, show full HTML preview của Email A + plain text của Email B. Format response:

📧 EMAIL A (gửi cho lead) — Pattern P3

Subject: Anh Tony, link thanh toán "AI Agent + Personal Branding" bên trong — giữ giá 1.99M trong 24h ⏰

Preview: Em vừa nhận thông tin đăng ký của anh. Link thanh toán + lộ trình 8 tuần ngay dưới đây...

[HTML rendered]
<HTML preview here>

---

📧 EMAIL B (gửi cho owner — [email protected])

Subject: 🔥 Lead mới — Anh Tony (0901234567) — ai-agent-course

Tên: Tony
SĐT: 0901234567
Email: [email protected]
...

---

Anh/chị review giùm em:
1. Subject line OK không, có muốn em thử variant?
2. Body tone đã đúng brand voice chưa?
3. CTA button có cần đổi text/link?
4. Có thiếu thông tin gì (URL bonus, guarantee detail, Zalo link)?

Phase 5 — User Review & Edit

Đợi user feedback. 3 loại feedback thường gặp:

FeedbackHành động
"OK, gửi đi" / "Duyệt"Đi Phase 6 wire code
"Đổi câu X thành Y" / "Subject ngắn hơn" / "Thêm link Zalo"Edit inline, show lại preview, hỏi confirm
"Tone chưa đúng, làm lại từ đầu"Hỏi rõ tone họ muốn (chuyên nghiệp / thân thiện / hài hước / formal), redraft

Quan trọng: Không tự ý "polish" thêm khi user đã OK. User OK = wire code ngay. Skill bị fail mode là loop polish vô tận khi user đã sign-off.


Phase 6 — Wire Code

Skill thực thi 4 thay đổi:

6.1 Install nodemailer

# Detect package manager qua lockfile
# pnpm-lock.yaml → pnpm add nodemailer && pnpm add -D @types/nodemailer
# yarn.lock → yarn add nodemailer && yarn add -D @types/nodemailer
# package-lock.json → npm install nodemailer && npm install -D @types/nodemailer
# Static HTML không có package.json → tạo package.json mới với "nodemailer": "^6.9.0"

@types/nodemailer chỉ cần nếu project TypeScript.

6.2 Tạo API route

Theo stack đã detect Phase 0, đọc template tương ứng:

StackTemplateĐích copy
Next.js App Routertemplates/api-route-nextjs-app.tsapp/api/submit/route.ts
Next.js Pages Routertemplates/api-route-nextjs-pages.tspages/api/submit.ts
Vite / Static HTMLtemplates/api-route-vercel-function.jsapi/submit.js

API route làm 5 việc:

  1. Parse body (JSON từ fetch hoặc form-data từ form action).
  2. Validate fields cơ bản (name, phone, email không empty; email regex check; phone là string).
  3. Render 2 email HTML từ template (inject biến {{name}}, {{phone}}, {{offer_name}}).
  4. Tạo nodemailer.createTransport({ host, port, secure, auth: { user, pass } }) từ env vars, gọi transporter.sendMail() 2 lần. Promise.all() để parallel.
  5. Return 200 { ok: true } hoặc 500 { error }.

Quan trọng — runtime: Next.js App Router phải set export const runtime = "nodejs" ở đầu file route. nodemailer dùng Node net/tls module, KHÔNG chạy được trên Edge runtime.

Lý do tách 2 email call: Owner email không cần template phức tạp (plain HTML đủ), nhưng lead email cần responsive. Tách giúp debug dễ hơn khi 1 cái fail.

6.3 Wire form

Đọc HTML/JSX hiện tại, thay đổi:

  • Form action: <form onSubmit={handleSubmit}> (React) hoặc <form id="lead-form"> + inline script (static HTML)
  • Add validation client-side cơ bản (required, type="email", pattern="[0-9]{9,11}" cho SĐT VN)
  • Add loading state ("Đang gửi..." button text khi submit)
  • Add success/error state hiển thị inline (không alert)

Template snippet: templates/form-binding-react.tsx và templates/form-binding-vanilla.html.

Success state wording (VN):

✓ Đã nhận thông tin! Anh/chị check email (và spam folder) trong 1 phút tới. Có gì cần hỗ trợ liên hệ Zalo: 09xx.xxx.xxx

Error state wording:

⚠️ Có lỗi gửi form. Anh/chị thử lại hoặc liên hệ trực tiếp Zalo 09xx.xxx.xxx

6.4 Setup env vars

Tạo/update .env.local (nếu Next.js/Vite) hoặc thêm vào Vercel dashboard env (static HTML). Template chung cho mọi provider:

# SMTP transport — đổi 4 biến này để swap provider, code không sửa
SMTP_HOST=smtp.gmail.com
SMTP_PORT=587
SMTP_SECURE=false              # false = STARTTLS (port 587), true = SSL (port 465)
[email protected]
SMTP_PASS=xxxx-xxxx-xxxx-xxxx  # Gmail App Password / Resend API key / SendGrid API key / ...

# Email addresses
MAIL_FROM="Tên Brand <[email protected]>"
[email protected]

# Branding
LANDING_PAGE_URL=https://yourbrand.vn

Preset SMTP_HOST/SMTP_PORT theo provider Phase 1:

Provider chọn ở Phase 1SMTP_HOSTSMTP_PORTSMTP_SECURESMTP_USER ví dụSMTP_PASS ví dụ
Gmail / Workspacesmtp.gmail.com587false[email protected]App Password 16 ký tự
Resend SMTPsmtp.resend.com587falseresend (literal)re_xxxxxxxx API key
SendGridsmtp.sendgrid.net587falseapikey (literal)SG.xxxxxxxx API key
Mailgun USsmtp.mailgun.org587false[email protected]Mailgun SMTP password
Mailgun EUsmtp.eu.mailgun.org587false(same)(same)
Brevo / Sendinbluesmtp-relay.brevo.com587falselogin email BrevoSMTP key (Brevo dashboard → SMTP & API)
Zoho Mailsmtp.zoho.com587false[email protected]App Password Zoho
CustomUser cung cấpUser cung cấpUser cung cấpUser cung cấpUser cung cấp

Quan trọng — không hardcode:

  • Add .env.local vào .gitignore nếu chưa có.
  • Nếu deploy Vercel, hướng dẫn user vào Vercel dashboard → Project → Settings → Environment Variables → paste vào → redeploy. (Không thể setup env qua CLI nếu user chưa link project.)
  • Cảnh báo nếu thấy hardcode SMTP_PASS/App Password trong code: rollback ngay + suggest user rotate password.

Phase 7 — Provider Setup + Test Plan

7.1 Lấy SMTP credentials theo provider

Hướng dẫn cụ thể trong references/domain-verification.md. Tóm tắt nhanh per provider:

Gmail / Google Workspace

  1. Bật 2FA tại myaccount.google.com/security (BẮT BUỘC, không xài password thường được nữa từ 2022).
  2. Vào App Passwords → chọn "Mail" + "Other (Custom name)" → đặt tên (vd: "Landing Page yourbrand.vn") → copy 16 ký tự (dạng abcd efgh ijkl mnop, bỏ space khi paste).
  3. [email protected], SMTP_PASS=abcdefghijklmnop.
  4. MAIL_FROM phải = SMTP_USER (Gmail không cho phép gửi từ alias khác trừ khi setup "Send mail as").
  5. Giới hạn: 500 email/ngày cho Gmail personal, 2000/ngày cho Workspace.

Resend SMTP

  1. Login resend.com → API Keys → tạo key mới (read+write).
  2. SMTP_USER=resend (literal), SMTP_PASS=re_xxxxxxxx.
  3. Verify domain → add DNS record (SPF/DKIM) — xem references/domain-verification.md section "Resend".
  4. Sau verify, MAIL_FROM="Brand <[email protected]>". Trước verify chỉ dùng [email protected].

SendGrid SMTP

  1. Login sendgrid.com → Settings → API Keys → Create → Full Access → copy key (chỉ hiện 1 lần).
  2. SMTP_USER=apikey (literal — đúng chữ "apikey"), SMTP_PASS=SG.xxxxxxxx.
  3. Sender Authentication → Domain Authentication → add DNS record.

Mailgun SMTP

  1. Login mailgun.com → Sending → Domains → chọn domain → SMTP credentials.
  2. Copy username ([email protected]) + reset password để lấy.
  3. Add DNS record (Mailgun cung cấp 4-5 record).

Brevo (Sendinblue) SMTP

  1. Login brevo.com → SMTP & API → SMTP tab → Generate a new SMTP key.
  2. SMTP_USER = email đăng nhập Brevo, SMTP_PASS = SMTP key vừa generate (KHÔNG dùng API key).
  3. Senders → add domain → DNS record.

Zoho Mail SMTP

  1. Cần đã có Zoho Mail account.
  2. Bật 2FA → Security → App Passwords → tạo mới.
  3. [email protected], SMTP_PASS=app-password.

Custom SMTP (hosting VN)

  1. Liên hệ hosting (Mắt Bão / PA / Inet / Nhân Hòa) lấy: SMTP host, port (thường 587 hoặc 465), email account user/pass.
  2. Test bằng swaks hoặc telnet smtp.host 587 trước khi cấu hình.

7.2 Domain verification (chỉ áp dụng provider 2-7, KHÔNG cần cho Gmail nếu gửi từ chính địa chỉ Gmail)

Đọc references/domain-verification.md cho hướng dẫn chi tiết SPF/DKIM theo provider + theo DNS provider (Cloudflare/Namecheap/GoDaddy/Mắt Bão).

Dừng skill ở đây nếu domain chưa verified (với provider yêu cầu verify). Báo user: "Em đã wire code xong. Anh/chị add DNS record vào domain provider, đợi verify (5-30 phút), báo em khi xanh dấu tick để em test live."

7.3 Test plan

3 cách test, đi từ nhẹ đến nặng:

Test 0 — Sanity check SMTP credentials với swaks (terminal):

# Cài: brew install swaks
swaks --to [email protected] \
      --from "$SMTP_USER" \
      --server "$SMTP_HOST" \
      --port 587 --tls \
      --auth-user "$SMTP_USER" --auth-password "$SMTP_PASS" \
      --header "Subject: SMTP test" \
      --body "Test from skill"

# Expect: "250 OK" cuối log = SMTP credentials đúng.
# Nếu fail ở "AUTH LOGIN" → user/pass sai.
# Nếu fail ở "TLS" → port hoặc SMTP_SECURE setting sai.

Test 1 — Local API endpoint:

# Sau khi `npm run dev` chạy local
curl -X POST http://localhost:3000/api/submit \
  -H "Content-Type: application/json" \
  -d '{"name":"Test User","phone":"0901234567","email":"[email protected]"}'

# Expect: {"ok":true}
# Check email [email protected] — phải nhận 2 email (1 auto-responder + 1 notification).

Test 2 — Live form trên localhost:

  • Mở http://localhost:3000 (hoặc port tương ứng), điền form thực tế.
  • Submit, xem có success state hiện không.
  • Check email inbox + spam folder.

Test 3 — Production sau khi deploy:

  • Suggest user chạy /biz-deploy-vercel để push code mới.
  • Sau khi deploy, test live URL với email thực của owner.
  • Check provider dashboard (Resend / SendGrid / Brevo dashboard có log; Gmail xem Sent folder).

7.4 Monitor sau test

  • Resend / SendGrid / Mailgun / Brevo: dashboard có log Delivered/Opened/Bounced/Complained. Pin tab.
  • Gmail SMTP: không có dashboard, check Sent folder của Gmail. Nếu bounce, Gmail gửi lại notification email.
  • Custom SMTP: log thường ở /var/log/mail.log trên server, hoặc cPanel → Mail Logs.

Nếu thấy bounce rate >5% hoặc complaint >0.5% → email content có vấn đề, redraft.


Quy tắc viết email tiếng Việt thuần (NEVER VIOLATE)

  1. Xưng hô: "anh/chị" (default), hoặc "anh" / "chị" nếu biết giới tính từ form. Không "bạn", không "quý khách", không "Mr./Ms.".
  2. Người gửi xưng: "em" (default cho B2C VN), hoặc "mình" (casual freelancer/coach), hoặc "chúng tôi" (corporate). Đọc offer.json voice.register hoặc Next.js app/page.tsx để decide.
  3. Currency: VND, charm pricing "1.99M", "199K", "499K". Không "$99", không "1.990.000 VNĐ" lủng củng.
  4. Date format: dd/mm/yyyy. Time: 14h30 (không 2:30 PM).
  5. Phone: format VN "0901 234 567" (cách 3-3-3), không "+84-90-123-4567".
  6. Spam triggers tránh: ALL CAPS subject, "FREE!!!", "100% guarantee", "Act now". Đặc biệt quan trọng khi xài Gmail SMTP (spam filter strict).
  7. Emoji: tối đa 1 emoji ở subject, 0-2 emoji trong body. Không emoji-spam. Phù hợp: ✓ ⏰ 👇 ✉️ 🔥 📩. Tránh: 🎉🎊✨💯 (spam-y).
  8. CTA button text: imperative ngắn — "Tải ngay", "Mở khóa truy cập", "Xem lộ trình 8 tuần", "Thanh toán giữ chỗ". Không "Click here", "Submit".
  9. No machine translation feel: nếu thấy câu nào dịch từ template tiếng Anh, rewrite. Ví dụ: "We received your submission" → "Em vừa nhận thông tin anh/chị gửi" (không "Chúng tôi đã nhận được sự đệ trình của bạn").

Output cuối cùng skill trả về user

Sau Phase 7, summary cho user:

✓ Đã wire xong SMTP email cho landing page (provider: Gmail/Brevo/...)

📁 File thay đổi:
- app/api/submit/route.ts (NEW)
- app/components/LeadForm.tsx (MODIFIED — wire fetch + validation)
- .env.local (NEW — KHÔNG commit)
- .gitignore (MODIFIED — add .env.local)
- package.json (MODIFIED — add nodemailer)

📧 Email đã setup:
- Email A (auto-responder): Pattern P3 — payment link
- Email B (notification): gửi tới [email protected]

📨 SMTP provider: [Gmail / Resend / SendGrid / Brevo / Custom]
- Host: smtp.xxx
- Port: 587
- Free tier: NNN email/ngày

🔧 TODO của anh/chị (manual gate):
1. Lấy SMTP credentials (xem Phase 7.1 trong skill) → paste vào .env.local
2. (Nếu provider khác Gmail) add DNS record verify domain → đợi 5-30 phút
3. Test local: chạy swaks (Test 0) → `npm run dev` rồi điền form (Test 1-2)
4. Khi pass test, deploy: chạy `/biz-deploy-vercel`
5. Add env vars trên Vercel dashboard trước khi deploy

📊 Monitor: [provider dashboard URL] — xem log delivered/opened/bounced.

Reference files

  • references/email-formulas.md — 4 pattern email tiếng Việt chi tiết (P1/P2/P3/P4) với template subject + body + CTA
  • references/nextjs-setup.md — Wiring chi tiết Next.js App Router + Pages Router với nodemailer
  • references/static-html-setup.md — Wiring static HTML + Vercel serverless function với nodemailer
  • references/domain-verification.md — SPF/DKIM setup theo từng SMTP provider (Resend/SendGrid/Mailgun/Brevo) + theo DNS provider phổ biến VN
  • references/troubleshooting.md — Common issues: SMTP auth fail, email vào spam, rate limit, Gmail App Password expire

Templates

  • templates/api-route-nextjs-app.ts — Next.js App Router API route (nodemailer)
  • templates/api-route-nextjs-pages.ts — Next.js Pages Router API route (nodemailer)
  • templates/api-route-vercel-function.js — Vercel serverless function cho static/Vite (nodemailer)
  • templates/email-confirmation.html — Lead auto-responder HTML responsive
  • templates/email-notification.html — Owner notification HTML gọn
  • templates/form-binding-react.tsx — React form với fetch + validation + states
  • templates/form-binding-vanilla.html — Vanilla HTML form với inline script

Anti-pattern (đừng làm)

  • ❌ Gửi email "Cảm ơn anh/chị đã đăng ký, chúng tôi sẽ liên hệ sớm" — quá generic, không deliver value, lead quên brand trong 5 phút.
  • ❌ Subject "[BRAND] - Notification #12345" — không personalized, đốt open rate.
  • ❌ Hardcode SMTP_PASS / App Password trong source code → rotate ngay nếu thấy.
  • ❌ Dùng Gmail password chính (không phải App Password) → Google block từ 2022, sẽ fail auth.
  • ❌ Dùng from khác domain với SMTP_USER khi chưa verify (Resend/SendGrid/Mailgun/Brevo) → fail SPF, vào spam.
  • ❌ Skip domain verification, gửi qua Gmail SMTP cho production traffic cao → bị Gmail rate-limit + flag spam.
  • ❌ Đặt export const runtime = "edge" trong Next.js route dùng nodemailer → crash (nodemailer cần Node net/tls).
  • ❌ Tự ý gửi test email mass mà không hỏi user.
  • ❌ Email A có 3-4 CTA cùng lúc → confused lead, drop conversion.
  • ❌ Email B (owner notification) HTML rườm rà → owner cần info nhanh, plain text đủ.
  • ❌ Lock vào 1 SMTP provider cụ thể trong code → user muốn migration phải rewrite. Code phải đọc từ env, swap provider = đổi env, không sửa code.

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

lexuanthanhhy/MKT.LANDINGPAGE.SKILLS

Best practices for Remotion - Video creation in React

lexuanthanhhy/MKT.LANDINGPAGE.SKILLS

Scaffold trang `/admin` CRM-style trực quan vào Next.js project (Supabase backend) — KHÔNG còn variant Vercel KV. Layout 1CRM-inspired: sidebar 3 tab (Tổng quan / Khách hàng / Email marketing) + popup nhập mã đăng nhập. **Tab Tổng quan**: 4 KPI cards (Tổng leads / Đã thanh toán / Tỷ lệ chuyển đổi / Doanh thu) có delta arrow vs kỳ trước, line chart leads+paid+revenue theo ngày dùng `recharts`, donut trạng thái paid/pending/expired, period selector pill 7d/30d/90d, list 5 thanh toán gần nhất. **Tab Khách hàng**: bảng leads + search + filter trạng thái + filter ngày + CSV export. **Tab Email marketing**: form soạn chiến dịch (tên + tiêu đề + body chọn định dạng **văn bản thường HOẶC HTML** + placeholder `{{name}}` + audience 4 loại all/paid/pending/last_days + tên người gửi) — có nút **Xem trước** mở modal iframe render đúng email thật (text → auto convert + wrap khung; HTML fragment → wrap khung, HTML đầy đủ giữ nguyên) → gửi bulk qua SMTP (reuse `nodemailer` của `biz-email-setup` — KHÔN

lexuanthanhhy/MKT.LANDINGPAGE.SKILLS

Deploy landing page / website (React, Next.js, Vite, static HTML) lên Vercel — tự kiểm tra Vercel CLI hoặc Vercel MCP đã cài chưa, nếu chưa thì cài qua npm/pnpm và hướng dẫn user authenticate (vercel login), tự detect framework (Next.js / Vite / CRA / static), auto-generate vercel.json khi cần, chạy `vercel --prod`, trả về live URL + inspect URL + hướng dẫn custom domain. USE WHEN user says 'deploy lên vercel', 'đẩy landing page lên vercel', 'publish website', 'go live', 'deploy nextjs', 'deploy react', 'deploy vite', 'tạo URL live', 'đưa lên production', 'biz-deploy-vercel', 'host landing page', 'vercel deploy', 'ship lên vercel', 'đẩy code lên vercel'. Skill này áp dụng cho cả case dùng Vercel CLI lẫn Vercel MCP server.

lexuanthanhhy/MKT.LANDINGPAGE.SKILLS

Cài chatbot AI dạng floating widget góc dưới phải vào project Next.js có sẵn (App Router hoặc Pages Router), responsive đầy đủ web + tablet + mobile, gọi LLM qua OpenRouter (mặc định google/gemini-3-flash-preview, có thể đổi sang anthropic/claude-sonnet-4.6), streaming response, RENDER MARKDOWN trong assistant bubble (bold / list / link / code) qua react-markdown + remark-gfm — KHÔNG hiện raw **bold** dạng text — có knowledge base từ FAQ + tài liệu sản phẩm/khóa học do user cung cấp để chatbot tự động trả lời khách hàng, và TỰ ĐỘNG EXTRACT + LƯU LEAD (tên + SĐT + email) vào Upstash Redis/Vercel KV dưới namespace `chat-lead:{phone}` khi user cung cấp đầy đủ thông tin trong chat — dedupe theo SĐT, TTL 90 ngày, fire-and-forget không block stream. Skill tự detect số lượng project Next.js — nếu có nhiều hơn 1 sẽ hỏi user chọn project nào để cài; tự detect TypeScript/JS, App Router/Pages Router, Tailwind/CSS module, KV/Upstash availability (skip auto-save nếu chưa có); tự install react-markd

lexuanthanhhy/MKT.LANDINGPAGE.SKILLS

Đóng gói offer **không thể chối từ** (grand slam offer) theo phương pháp Alex Hormozi ($100M Offers) — nhận input pains/gains/customer jobs theo Value Proposition Design (Osterwalder 2014) + sản phẩm/dịch vụ, rồi sinh ra: (1) markdown report tiếng Việt đầy đủ Value Equation scoring + Core Offer + 3-4 Bonus stack + Guarantee + Urgency + Pricing, (2) offer.json structured cho pipeline downstream (`ui-ux-pro-max` build sales page production-ready), (3) conversion copy block (headline + subheadline + CTA) sẵn sàng paste landing page. 2 input mode: (B) user paste sẵn pains + gains + product, (C) user chỉ có sản phẩm — skill phỏng vấn theo VPD framework để surface pain/gain trước. Bonus stack mode hybrid: skill brainstorm 5-7 candidate có justification value rồi user pick/chỉnh 3-4 cái. Tiếng Việt thuần (xưng anh/chị), giá VND charm pricing (X99K), 3-tier decoy structure. USE WHEN user says 'đóng gói offer', 'tạo offer', 'thiết kế offer Hormozi', 'grand slam offer', 'value stack', 'offer sta

lexuanthanhhy/MKT.LANDINGPAGE.SKILLS

Nâng cấp copy sales page tiếng Việt — biến copy có sẵn (từ `offer.json` + `conversion-copy.md` của `/biz-offer-alex-hormozi`, HOẶC từ Next.js project đã build qua `ui-ux-pro-max`, HOẶC user paste block copy bất kỳ) thành **copy chất lượng cao chốt đơn**: headline punchy hơn, pain agitation đau hơn, mechanism rõ hơn, benefit cụ thể hơn, FAQ xử lý đúng objection của thị trường VN, CTA mạnh hơn. Skill này có 3 INTENSITY LEVEL: (1) **Polish** — light edit + power word + sửa nhịp; (2) **Conversion-optimized** — rewrite 5 block critical + tạo A/B variants cho hero/CTA; (3) **Sales-letter** — long-form story-driven full rewrite kèm P.S.. Mỗi section áp dụng đúng formula thuyết phục (PAR cho pain, BAB cho solution, FEP cho benefit, PVEN cho final CTA, Star-Chain-Hook cho testimonial). Output gồm 4 file: `copy-upgraded.md`, `copy-variants.md` (A/B test bank — 3 hero + 3 CTA + 3 final-CTA), `copy-changes.md` (diff Trước/Sau + lý do), `copy.json` (structured downstream). Giọng văn tiếng Việt thuầ

lexuanthanhhy/MKT.LANDINGPAGE.SKILLS

⚠️ DEPRECATED (2026-05-14) — Skill này KHÔNG còn trong pipeline chuẩn. Quy trình mới đã bỏ bước wireframe markdown trung gian: sau `/biz-offer-alex-hormozi` đi THẲNG sang `ui-ux-pro-max` để build Next.js sales page production-ready (có design language nhất quán: style + palette + font pairing, không phải Tailwind defaults). Lý do deprecate: wireframe markdown làm thêm 1 bước trung gian không tạo giá trị — `ui-ux-pro-max` đọc trực tiếp `offer.json` đã đầy đủ anchor + core + bonus + guarantee + urgency + pricing rồi ra HTML production luôn. Chỉ dùng skill này KHI user EXPLICITLY yêu cầu wireframe markdown để review/in/share trước khi build code (rare case). KHÔNG trigger trên các keyword 'tạo sales page', 'tạo landing page bán hàng' nữa — những keyword đó giờ trigger `ui-ux-pro-max`.

lexuanthanhhy/MKT.LANDINGPAGE.SKILLS

End-to-end Sepay VietQR payment infrastructure cho landing page Next.js — guide user setup Sepay account + bank linking + scaffold đầy đủ payment flow trong project. Skill này xử lý 7 phase: (0) detect Next.js stack + **HỎI user chọn lead store backend** (Vercel KV hoặc Supabase Free Postgres — default recommend Supabase do free tier rộng hơn ~50× + có SQL + admin UI), (1) GUIDE user đăng ký Sepay account tại my.sepay.vn + link bank account VN (Vietcombank/Techcombank/MB/ACB/VPBank/BIDV/...) + lấy API key + setup webhook URL trên Sepay dashboard, (2A nếu chọn KV) setup Vercel KV (install `@vercel/kv` + KV namespace + 4 env vars KV_*), (2B nếu chọn Supabase) setup Supabase project (tạo project tại Singapore region + chạy migration SQL tạo 4 bảng leads/phone_index/order_counter/webhook_dedup với pg_cron TTL cleanup + RLS deny-all + lấy SUPABASE_URL + SUPABASE_SERVICE_ROLE_KEY + Vercel Cron ping `/api/health` mỗi 6 ngày chống auto-pause), (3) scaffold `lib/leads-store.ts` (thin re-export

lexuanthanhhy/MKT.LANDINGPAGE.SKILLS

Setup Telegram bot notification cho thanh toán thành công từ Sepay webhook trong Next.js project. Skill này: (1) hướng dẫn user 3 bước tạo Telegram bot riêng qua @BotFather + lấy bot token + chat_id (qua @userinfobot cho chat 1-1, hoặc /getUpdates API cho group), (2) tạo helper function `sendTelegramNotification()` reusable trong `lib/telegram.ts`, (3) detect existing Sepay webhook route trong project (thường là `/api/sepay-webhook`, `/api/payment-success`, hoặc tương đương) và wire Telegram call CÙNG CHỖ với email auto-responder (Resend) — gửi parallel qua `Promise.allSettled` để Telegram fail KHÔNG block 200 response trả Sepay (Sepay sẽ retry webhook nếu nhận non-200, gây duplicate notification), (4) draft message format mặc định tiếng Việt: emoji + tên khách + SĐT + email + amount (charm pricing VND định dạng `499.000đ`) + tên sản phẩm + timestamp giờ VN dd/mm/yyyy HH:mm, (5) update `.env.local` với `TELEGRAM_BOT_TOKEN` + `TELEGRAM_CHAT_ID`, add vào `.gitignore`, nhắc user paste vào

lexuanthanhhy/MKT.LANDINGPAGE.SKILLS

Convert a single MP3 voiceover file into a single HeyGen avatar lip-sync MP4 video. Single-purpose — no planning, no SRT, no chunking, no Remotion compositing. Hybrid path — REST upload (helper script) + HeyGen MCP for video creation, because the post-2026 MCP no longer exposes an asset-upload tool. Reads avatar look pool (`HEYGEN_AVATAR_LOOKS`) from `.env` and HeyGen API key (`HEYGEN_API_KEY`) for the upload step. USE WHEN user says "tạo video heygen từ mp3", "mp3 to heygen", "heygen mp4 từ audio", "convert mp3 sang heygen video", "tạo avatar video từ file mp3", "lip sync mp3 heygen", "biến mp3 thành video heygen", or any time the user has exactly one MP3 file and wants exactly one HeyGen avatar MP4 out.

lexuanthanhhy/MKT.LANDINGPAGE.SKILLS

Demand-side market research cho digital product / service ở Việt Nam — đo cầu thật + WTP + channel-market fit + defensibility qua keyword volume, marketplace sales (Shopee/Unica/Edumall/Gitiho/KyNa), community signal (FB groups, TikTok hashtag, Zalo OA), competitor pricing, unit economics — không phải macro PESTEL. Output: keyword portfolio + Niche Score 100 điểm 7-dimension có evidence + go/no-go decision + falsification protocol. Force triangulate ≥3 sources cho mỗi claim quan trọng. USE WHEN user says 'nghiên cứu thị trường', 'market research', 'validate niche', 'keyword research', 'demand validation', 'niche có nên làm không', 'có ai làm chưa', 'thị trường đủ lớn không', 'có lời không', 'chọn ngách', 'kiểm tra cầu'. Cũng trigger khi user mô tả 1 ý tưởng kinh doanh cụ thể và muốn check feasibility. Skill này KHÔNG fit: high-ticket transactional sale (BĐS, ô tô), B2B enterprise (sales cycle 6+ tháng), hyper-local geo micro-market (1 toà nhà, 1 phường). KHÔNG làm: macro PESTEL/Porter

lexuanthanhhy/MKT.LANDINGPAGE.SKILLS

Transcribe an MP3 voiceover into an SRT subtitle file and a word-level segments JSON using local OpenAI Whisper. Input is a single MP3 path; output is `<stem>.srt` + `<stem>_segments.json` written next to the MP3 (or to a custom output dir). USE WHEN the user says 'extract srt from mp3', 'trích srt từ mp3', 'transcribe voiceover', 'tạo file srt và segments', 'whisper transcribe', 'bóc transcript có timestamp', 'extract voiceover segments', 'tách SRT từ audio', or any time a downstream skill (plan-short-video-edit, heygen-remotion-short-video-editor) needs an SRT + word-level segments JSON from a voiceover MP3 and one does not already exist.

lexuanthanhhy/MKT.LANDINGPAGE.SKILLS

Convert Vietnamese/English script text to MP3 voiceover using ElevenLabs TTS API. Calls POST /v1/text-to-speech/{voice_id}, streams audio bytes, writes MP3 directly. Locked to Hoang's brand voice ID by default. USE WHEN user says 'tạo mp3 elevenlabs', 'elevenlabs tts', 'eleven labs voice', 'text to speech elevenlabs', 'tạo voiceover elevenlabs', 'đọc text bằng elevenlabs', 'tts elevenlabs to mp3', 'eleven labs script to mp3', 'voiceover bằng elevenlabs', 'giọng elevenlabs'.

lexuanthanhhy/MKT.LANDINGPAGE.SKILLS

End-to-end LANDSCAPE 16:9 (1920×1080) talking-head + slide knowledge video pipeline. Orchestrator 3 phase ghép `mkt-elevenlabs-tts-to-mp3` + `heygen-mp3-to-mp4` + HyperFrames để ra MP4 dạng "podcast keynote" — HeyGen avatar trong floating frame bo tròn bên phải (claude-orange border), slide modern AI / Claude editorial bên trái, có PIP zoom-out moments (slide full-screen, avatar shrink xuống corner thumbnail), breathing zoom + beat-driven punch-in trên avatar, optional cream-paper hand-drawn editorial infographic ở root layer (KHÔNG embed trong composition). Phase 3 fan-out N parallel LLM sub-agents (1 per scene) để author composition HTML từ visual-plan.json — không dùng Python template generator. Hỗ trợ listicle 6+ scenes (tip-1..tip-N) với scene-{num}.html naming. Resume mode: nếu MP3 + source.mp4 đã tồn tại thì skip Phase 1 + 2, vào thẳng Phase 3. USE WHEN user nói "tạo video 16:9", "video ngang", "video landscape", "podcast keynote video", "talking head + slide video", "slide + av

lexuanthanhhy/MKT.LANDINGPAGE.SKILLS

End-to-end short-video pipeline — từ kịch bản (Việt/Anh) ra MP4 TikTok/Reels 9:16 hoàn chỉnh. Orchestrator 3 phase ghép skill có sẵn — (1) TTS provider chọn được giữa `mkt-elevenlabs-tts-to-mp3` (default, voice của Hoàng) hoặc `mkt-video-script-to-mp3` (MiniMax speech-2.8-hd), (2) checkpoint user duyệt MP3, (3) `heygen-mp3-to-mp4` lip-sync avatar HeyGen, (4) delegate Phase 3 packaging cho sub-agent `mkt-full-video-phase3-packager` (transcribe + scene outline + checkpoint + fan-out N scene writers parallel + scaffold + preview Studio). API key + voice ID cho cả 2 provider lưu ở `.env`. USE WHEN user nói "tạo full video từ script", "script to tiktok video", "pipeline full video heygen + hyperframe", "tạo video từ kịch bản đến mp4", "elevenlabs heygen hyperframe full pipeline", "minimax heygen pipeline", "kịch bản ra video tiktok", hoặc có sẵn 1 script + (optional) ảnh b-roll và muốn ra MP4 9:16 đóng gói có captions, SFX, b-roll.

lexuanthanhhy/MKT.LANDINGPAGE.SKILLS

Build a TikTok/Reels/YouTube **landscape 16:9 (1920×1080)** short video from a pre-recorded talking-head MP4 using HyperFrames — transcribe Vietnamese audio, scaffold a complete preview-ready 1920×1080 project with a slide pane (1200px) on the left and a floating avatar frame on the right, GSAP timeline có SPLIT↔PIP transitions (slide full-screen + avatar PIP corner thumbnail), breathing yoyo zoom + beat-driven punch-in trên avatar, 5 scene compositions kiểu "tier-row" pattern (post-stack hook / chats-stack problem / hero-orb solution / counter-row recap / terminal-row CTA), optional cream-paper editorial infographic image slots với `<img onerror>` fallback, 6 SFX wired tại scene boundaries, **NO captions** (giọng avatar là spine). USE WHEN user nói "edit video 16:9 từ HeyGen MP4", "scaffold project landscape", "podcast keynote editor", "talking head + slide editor", "build hyperframes 1920×1080", "tạo project 16:9 từ avatar mp4", "scaffold 16:9 hyperframes", "hyperframe landscape vide

lexuanthanhhy/MKT.LANDINGPAGE.SKILLS

Build a TikTok/Reels 9:16 short video from a pre-recorded talking-head MP4 using HyperFrames — transcribe Vietnamese audio, auto-clean Whisper errors, generate synced caption groups, scaffold a complete preview-ready project with face-cam + 6 sound effects + 4 zoom hooks + ambient ken-burns drifts + full-screen b-roll scenes (each with rich GSAP effects: pulse rings, corner marks, word-slam titles, count-up numbers, light sweeps, scribble underlines, sparkles, particles) + caption track + CTA finale, then open the HyperFrames preview Studio for user review (NEVER auto-render MP4). USE WHEN user says "tạo video tiktok từ footage", "build hyperframe talking head", "tạo 9:16 video từ mp4 quay sẵn", "make tiktok video from face footage", "hyperframe video từ video quay", "tạo short video có caption + b-roll", "video chia sẻ kiến thức từ footage", "đóng gói video ngắn", or provides a 9:16 talking-head MP4 (with optional b-roll images/videos and stated purposes) asking to turn it into a fini

lexuanthanhhy/MKT.LANDINGPAGE.SKILLS

Audit bài Facebook / Reels / YouTube để phát hiện 4 downward drivers (over-branding, over-production, stock imagery, standardized aesthetic) + frequency-over-quality. Mỗi anti-pattern bị drop ~75% performance nếu hiện diện. USE WHEN user says 'audit content', 'check anti pattern', 'content có lỗi gì không', 'kiểm tra over branding', 'vì sao video bị chết', 'vì sao post không ai xem', 'content audit', 'kiểm tra chất lượng content'.

lexuanthanhhy/MKT.LANDINGPAGE.SKILLS

Tìm viral pattern ở ngành khác (bác sĩ, luật sư, tài chính, bất động sản, thủ công) có thể apply cho niche AI/automation của Hoang. Ngách AI educator VN còn ít format được khai thác — cross-industry adaptation là blue ocean. USE WHEN user says 'tìm format ngành khác', 'cross industry research', 'học format từ ngành khác', 'blue ocean format', 'tìm format chưa ai làm', 'adapt format từ niche khác', 'cross industry viral'.

lexuanthanhhy/MKT.LANDINGPAGE.SKILLS

Rewrite CTA kiểu autocratic (Mua ngay! Follow ngay! Đăng ký liền!) sang 3 variants Democratic / Benevolent / Laissez-faire — reach 85% dân số thay vì chỉ 5% (action-based). Áp dụng cho landing page, caption FB, CTA video, email. USE WHEN user says 'rewrite cta', 'sửa cta', 'cta không autocratic', 'viết lại kêu gọi hành động', 'cta cho landing page', 'cta nhẹ nhàng hơn', 'inclusive cta', 'cta democratic benevolent'.

Skills relacionados