react-email
You are an expert in React Email, the library for building responsive HTML emails using React components. You help developers create beautiful, cross-client-compatible email templates with type-safe components, live preview, and integration with email providers (Resend, SendGrid, Postmark, AWS SES) — replacing fragile HTML table layouts with a modern component-based workflow.
What this skill does
# React Email — Build Emails with React Components
You are an expert in React Email, the library for building responsive HTML emails using React components. You help developers create beautiful, cross-client-compatible email templates with type-safe components, live preview, and integration with email providers (Resend, SendGrid, Postmark, AWS SES) — replacing fragile HTML table layouts with a modern component-based workflow.
## Core Capabilities
### Email Components
```tsx
// emails/welcome.tsx
import {
Html, Head, Body, Container, Section, Row, Column,
Heading, Text, Button, Link, Img, Hr, Preview,
Font, Tailwind,
} from "@react-email/components";
interface WelcomeEmailProps {
name: string;
teamName: string;
inviteUrl: string;
}
export default function WelcomeEmail({ name, teamName, inviteUrl }: WelcomeEmailProps) {
return (
<Html>
<Head>
<Font fontFamily="Inter" fallbackFontFamily="Arial"
webFont={{ url: "https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700", format: "woff2" }} />
</Head>
<Preview>You've been invited to join {teamName}</Preview>
<Tailwind>
<Body className="bg-gray-50 font-sans">
<Container className="mx-auto max-w-[600px] p-8">
<Section className="bg-white rounded-xl p-8 shadow-sm">
<Img src="https://app.example.com/logo.png" width={120} height={40} alt="Logo" className="mb-6" />
<Heading className="text-2xl font-bold text-gray-900 mb-4">
Welcome aboard, {name}! 🎉
</Heading>
<Text className="text-gray-600 text-base leading-relaxed mb-6">
You've been invited to join <strong>{teamName}</strong>. Click below to accept
your invitation and get started.
</Text>
<Button href={inviteUrl}
className="bg-blue-600 text-white font-semibold px-6 py-3 rounded-lg text-base">
Accept Invitation
</Button>
<Hr className="my-6 border-gray-200" />
<Section>
<Heading as="h3" className="text-lg font-semibold mb-3">What's next?</Heading>
<Row>
<Column className="w-1/3 text-center p-2">
<Text className="text-3xl mb-1">📋</Text>
<Text className="text-sm text-gray-600">Set up your profile</Text>
</Column>
<Column className="w-1/3 text-center p-2">
<Text className="text-3xl mb-1">👥</Text>
<Text className="text-sm text-gray-600">Meet the team</Text>
</Column>
<Column className="w-1/3 text-center p-2">
<Text className="text-3xl mb-1">🚀</Text>
<Text className="text-sm text-gray-600">Start building</Text>
</Column>
</Row>
</Section>
<Hr className="my-6 border-gray-200" />
<Text className="text-xs text-gray-400 text-center">
If you didn't expect this email, you can safely ignore it.
<br />
<Link href="https://example.com/unsubscribe" className="text-gray-400 underline">
Unsubscribe
</Link>
</Text>
</Section>
</Container>
</Body>
</Tailwind>
</Html>
);
}
```
### Rendering and Sending
```typescript
import { render } from "@react-email/render";
import WelcomeEmail from "./emails/welcome";
// Render to HTML string
const html = await render(WelcomeEmail({
name: "Alice",
teamName: "Acme Engineering",
inviteUrl: "https://app.example.com/invite/abc123",
}));
// Render plain text version
const text = await render(WelcomeEmail({ name: "Alice", teamName: "Acme", inviteUrl: "..." }), {
plainText: true,
});
// Send with any provider
await resend.emails.send({ from: "[email protected]", to: "[email protected]", subject: "Welcome!", html, text });
```
### Preview Server
```bash
npx email dev # Opens http://localhost:3000
# Live preview of all emails in /emails directory
# Hot reload on file changes
# Send test emails directly from preview UI
```
## Installation
```bash
npm install @react-email/components react-email
npm install -D react-email # CLI for preview
```
## Best Practices
1. **Tailwind in emails** — Wrap with `<Tailwind>` component; React Email inlines styles for email client compatibility
2. **Preview text** — Use `<Preview>` component; shows in inbox preview without appearing in email body
3. **Test across clients** — Preview in Gmail, Outlook, Apple Mail; React Email handles quirks but test edge cases
4. **Plain text fallback** — Always render plain text version; improves deliverability and accessibility
5. **Responsive layout** — Use `<Row>` and `<Column>` for grid layouts; they render as tables for email client support
6. **Web fonts** — Use `<Font>` with fallback; not all clients support web fonts
7. **Props for personalization** — Pass data via props; type-safe, reusable across different sends
8. **Preview server** — Run `email dev` during development; hot reload + test sends from the browser
Related in Design
contribute
IncludedLocal-only OSS contribution command center. Auto-refreshes the user's in-flight PR and issue state on invoke so conversations start with full context — no need to brief Claude on what's in flight. Helps the user find issues to contribute to on GitHub, builds per-repo dossiers of what each upstream expects (CLA, DCO, branch convention, AI policy, draft-first, review bots, issue templates), runs deterministic gates before any external action so AI-assisted contributions don't reach maintainers as slop. State is markdown-only: candidate files at ~/.contribute-system/candidates/, repo dossiers at ~/.contribute-system/research/, append-only event log at ~/.contribute-system/log.jsonl. No database, no cloud calls. Use when the user asks about their PRs / issues / contributions, wants to find new work to take on, claim an issue, build/refresh a repo's dossier, or draft a Design Issue or PR. Trigger with "/contribute", "what's my PR status", "find a contribution", "claim issue X", "draft a Design Issue for Y", "refresh dossier for Z".
architectural-analysis
IncludedUser-triggered deep architectural analysis of a codebase or scoped subtree across eight modes — information architecture, data flow, integration points, UI surfaces, interaction patterns, data model, control flow, and failure modes. This skill should be used when the user asks to "diagram this codebase," "map the architecture," "show the data flow," "give me an ERD," "trace control flow," "find the integration points," "verify the layout pattern," "audit the UX architecture," or any similar request whose primary deliverable is mermaid diagrams plus cited reports under docs/architecture/. Dispatches haiku/sonnet sub-agents in parallel for per-mode exploration, then verifies every citation mechanically before any node lands in a diagram. Not for one-off prose explanations of code (use code-explanation) or for high-level system design from scratch (use system-design).
mcp
IncludedModel Context Protocol (MCP) server development and tool management. Languages: Python, TypeScript. Capabilities: build MCP servers, integrate external APIs, discover/execute MCP tools, manage multi-server configs, design agent-centric tools. Actions: create, build, integrate, discover, execute, configure MCP servers/tools. Keywords: MCP, Model Context Protocol, MCP server, MCP tool, stdio transport, SSE transport, tool discovery, resource provider, prompt template, external API integration, Gemini CLI MCP, Claude MCP, agent tools, tool execution, server config. Use when: building MCP servers, integrating external APIs as MCP tools, discovering available MCP tools, executing MCP capabilities, configuring multi-server setups, designing tools for AI agents.
react-native-skia
IncludedDesign, build, debug, and optimise high-polish animated graphics in React Native or Expo using @shopify/react-native-skia, Reanimated, and Gesture Handler. Use when the user wants canvas-driven UI, shaders, paths, rich text, image filters, sprite fields, Skottie, video frames, snapshots, web CanvasKit setup, or performance tuning for custom motion-heavy elements such as loaders, hero art, cards, charts, progress indicators, particle systems, or gesture-driven surfaces. Also use when the user asks for fluid, glow, glass, blob, parallax, 60fps/120fps, or GPU-friendly animated effects in React Native, even if they do not explicitly say "Skia". Do not use for ordinary form/layout work with standard views.
plaid
IncludedProduct Led AI Development — guides founders from idea to launched product. Six capabilities: Idea (discover a product idea), Validate (pressure-test the idea against fatal flaws, problem reality, competition, and 2-week MVP feasibility), Plan (vision intake + document generation), Design (translate image references into a design.md spec), Launch (go-to-market strategy), and Build (roadmap execution). Use when someone says "PLAID", "plaid idea", "help me find an idea", "product idea", "idea from my business", "idea from my expertise", "plaid validate", "validate my idea", "pressure-test", "is this idea good", "find fatal flaws", "validate the problem", "plan a product", "define my vision", "generate a PRD", "product strategy", "plaid design", "design from image", "translate image to design", "create design.md", "extract design tokens", "plaid launch", "go-to-market", "launch plan", "GTM strategy", "launch playbook", "plaid build", "build the app", "start building", or "execute the roadmap".
nextjs-framer-motion-animations
IncludedAdds production-safe Motion for React or Framer Motion animations to Next.js apps, including reveal, hover and tap micro-interactions, whileInView, stagger, AnimatePresence, layout and layoutId transitions, reorder, scroll-linked UI, and lightweight route-content transitions. Use when the user asks to add, refactor, or debug Motion or Framer Motion in App Router or Pages Router codebases, especially around server/client boundaries, reduced motion, LazyMotion, bundle size, hydration, or route transitions. Avoid for GSAP-style timelines, WebGL or 3D scenes, heavy scroll storytelling, or CSS-only effects unless Motion is explicitly requested.