react-email
This skill documents how to build and send HTML emails with React Email, including CLI setup, file layout, Tailwind config, and SDK examples. It contains shell commands (e.g., npx create-email@latest, npm install, cp ./assets/logo.png), external endpoints (https://resend.com, https://cdn.example.com), and env vars (RESEND_API_KEY, SENDGRID_API_KEY).
React Email Agent Skill
This directory contains an Agent Skill for building HTML emails with React Email components.
Structure
skills/
└── react-email/
├── SKILL.md # Main skill instructions
└── references/
├── COMPONENTS.md # Complete component reference
├── I18N.md # Internationalization guide
├── PATTERNS.md # Common email patterns and examples
└── SENDING.md # Email sending guide
What is an Agent Skill?
Agent Skills are a standardized format for giving AI agents specialized knowledge and workflows. This skill teaches agents how to:
- Build HTML email templates using React Email components
- Send emails through Resend and other providers
- Implement internationalization for multi-language support
- Follow email development best practices
Using This Skill
AI agents can load this skill to gain expertise in React Email development. The skill follows the Agent Skills specification with:
- SKILL.md: Core instructions loaded when the skill is activated (< 350 lines)
- references/: Detailed documentation loaded on-demand for specific topics
Progressive Disclosure
The skill is structured for efficient context usage:
- Metadata (~100 tokens): Name and description in frontmatter
- Core Instructions (~3K tokens): Main SKILL.md content
- Detailed References (as needed): Component docs, i18n guides, patterns
Agents load only what they need for each task.