agentleFS
Ghost7802Ghost7802/awesome-api-skills/skills/resend/SKILL.md

resend

Skill13 starsChanged 27 days agoMITView on GitHub

  • Reads credentials
  • Installs packages

20 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use resend-cli, agent-email-inbox and 5 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • resendSkill

    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.

    Also in 4 projects that use this

  • igoroliveirgSkill

    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.

    Also in 3 projects that use this

  • sirakinbSkill

    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, or deciding transactional vs marketing.

    Also in 6 projects that use this

  • VercelSkill

    react-email

    React Email renderer for json-render that turns JSON specs into HTML or plain-text emails using @react-email/components and @react-email/render. Use when working with @json-render/react-email, building transactional or marketing emails from JSON, creating email catalogs, rendering AI-generated email specs, or when the user mentions react-email, HTML email, or transactional email.

    Also in 6 projects that use this

  • LangChainSkill

    remotion-to-hyperframes

    Port an existing Remotion (React) composition''s source to HyperFrames HTML. Use ONLY on an explicit ask to port/convert/migrate/translate a Remotion source — one-way, Remotion-only. A passing Remotion mention, reference-only code, or "make something like my Remotion video" is a fresh build (/general-video). Unclear → /hyperframes.

    Also in 3 projects that use this

  • OpenAISkill

    hyperframes-registry

    Install and wire registry blocks and components into HyperFrames compositions. Use when running hyperframes add, installing a block or component, wiring an installed item into index.html, or working with hyperframes.json. Covers the add command, install locations, block sub-composition wiring, component snippet merging, and registry discovery.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

5 rules. 0 are common, 2 are distinctive, and 3 are very specific to this project.

  • 0

    Common

    Most of the 20 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    When notifying many users (e.g., product updates), do not iterate resend.emails.send() one-by-one.

    line 16
  2. Distinctive:

    Keep HTML payloads lean. Do not attach large binaries directly.

    line 25
  3. Very specific:

    Use Resend's official test addresses (e.g., delivered@resend.dev, bounced@resend.dev) during development and CI instead of sending emails …

    line 28
  4. Very specific:

    If emails drop, inspect the Resend Dashboard Logs tab.

    line 31
  5. Distinctive:

    Use this when your agent works with resend — structured patterns beat pasted docs and prevent common hallucinations.

    line 38

“Common” is measured: kept by at least 6 in 10 of the 20 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Resend API Skill

Quick Start

Resend focuses on developer experience, bypassing legacy SMTP complexity. It inherently supports React Email for component-driven templating.

npm install resend react-email

Common Workflows

Transactional Emails

Trigger confirmation emails immediately after Stripe webhooks or Clerk user creations. Combine Resend with React Email to construct type-safe, cross-client compatible email components.

Production Patterns

Batch Sending

When notifying many users (e.g., product updates), do not iterate resend.emails.send() one-by-one. Chunk recipients into batches of up to 100 emails per request (the official Resend Batch API hard limit) and call resend.batch.send(). Note that attachments and scheduled sends are not supported in batch.send().

Error Recovery

Handle ResendError. If sending fails due to HTTP 429 (Rate Limit), respect Retry-After headers and route retries through a queue or dead-letter queue (DLQ) such as SQS or Redis. Monitor bounce and complaint events via signed Resend webhooks.

Security Notes

Enforce Domain Authentication (DKIM/SPF/DMARC) in the Resend dashboard immediately. Unverified domains will land in spam or be rejected by Gmail and Outlook. Store RESEND_API_KEY server-side only and verify Resend webhook signatures (svix-id, svix-timestamp, svix-signature).

Performance Considerations

Keep HTML payloads lean. Do not attach large binaries directly; upload large files to object storage (e.g., S3 or R2) and link a short-lived presigned URL in the email body.

Testing Guidance

Use Resend's official test addresses (e.g., delivered@resend.dev, bounced@resend.dev) during development and CI instead of sending emails to real customer addresses.

Troubleshooting

If emails drop, inspect the Resend Dashboard Logs tab. Statuses such as bounced indicate hard rejection by the receiving server. Verify that the from address domain matches a verified sending domain.

References

Why use this skill

Use this when your agent works with resend — structured patterns beat pasted docs and prevent common hallucinations.

AI pitfalls

  • Exceeding the official 100-email limit per resend.batch.send() request or passing attachments in batch calls
  • Inventing environment variable names instead of RESEND_API_KEY
  • Omitting error handling, Idempotency-Key, and retry logic for HTTP 429

Production checklist

  • Secrets in environment variables (RESEND_API_KEY), not source code
  • Batch requests chunked to <= 100 emails per call
  • Error handling, webhook verification, and rate-limit retries configured

Related skills

  • stripe — related to
  • clerk — related to
  • svix — related to

Last Verified: 2026-11-18

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.