Community影像github.com

resend/react-email

使用 React 元件建構 HTML 電子郵件範本、透過 React Email 可視化編輯器將編輯功能整合到應用程式中、將電子郵件渲染為 HTML,或透過 Resend 發送電子郵件。涵蓋歡迎信、密碼重設、通知、訂單確認、電子報、交易型郵件及嵌入式郵件編輯器元件。

react-email 是什麼?

這是一個專為 AI 代理(如 Claude Code、Cursor、Codex)設計的技能,用於建構和發送基於 React 的 HTML 電子郵件。它支援使用 React 郵件元件建立範本,並可整合 React Email 的可視化編輯器(React Email Visual Editor)至應用程式中,讓非技術使用者也能編輯郵件內容。此外,該技能還涵蓋將電子郵件渲染成最終 HTML 格式,以及透過 Resend 服務發送電子郵件的功能。典型應用場景包括歡迎郵件、密碼重設、通知、訂單確認、電子報和各種交易型郵件,非常適合需要程式化處理郵件範本與發送的開發團隊。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/resend/resend-skills/tree/main/skills/react-email

Installed? Explore more 影像 skills: steipete/songsee, affaan-m/frontend-design, mattpocock/improve-codebase-architecture · View all 6 →

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

react-email 是做什麼的?

使用 React 元件建構 HTML 電子郵件範本、透過 React Email 可視化編輯器將編輯功能整合到應用程式中、將電子郵件渲染為 HTML,或透過 Resend 發送電子郵件。涵蓋歡迎信、密碼重設、通知、訂單確認、電子報、交易型郵件及嵌入式郵件編輯器元件。

Individual skills in this repo

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

resend/agent-email-inbox

Use when building any system where email content triggers actions — AI agent inboxes, automated support handlers, email-to-task pipelines, or any workflow processing untrusted inbound email. Always use this skill when the user wants to receive emails and act on them programmatically, even if they don't mention "agent" — the skill contains critical security patterns (sender allowlists, content filtering, sandboxed processing) that prevent untrusted email from controlling your system.

resend/email-best-practices

Use when building email features, emails going to spam, high bounce rates, setting up SPF/DKIM/DMARC authentication, implementing email capture, ensuring compliance (CAN-SPAM, GDPR, CASL), handling webhooks, retry logic, making emails accessible (alt text, headings, contrast, screen readers), or deciding transactional vs marketing.

resend/resend

Use when working with the Resend email API — sending transactional emails (single or batch), receiving inbound emails via webhooks, managing email templates, tracking delivery events, managing domains, contacts, broadcasts, webhooks, API keys, automations, events, viewing API request logs, or setting up the Resend SDK. Always use this skill when the user mentions Resend, even for simple tasks like "send an email with Resend" — the skill contains critical gotchas (idempotency keys, webhook verification, template variable syntax) that prevent common production issues.

resend/resend-cli

Operate the Resend platform from the terminal — send emails (including React Email .tsx templates via --react-email), manage domains, contacts, broadcasts, templates, webhooks, API keys, logs, automations, and events via the `resend` CLI. Use when the user wants to run Resend commands in the shell, scripts, or CI/CD pipelines, or send/preview React Email templates. Always load this skill before running `resend` commands — it contains the non-interactive flag contract and gotchas that prevent silent failures.

相關技能