Agents
Agent skill
Use the repo-local Email SDK skill when agents add or review email integrations.
This repo includes an agent skill at:
skills/email-sdk/SKILL.mdInstall it with the skills.sh CLI:
npx skills add opencoredev/email-sdk --skill email-sdkUse it when an agent wires Email SDK into an app, reviews adapter setup, or updates these docs.
What it tells agents
- Use
bunandbunx. - Refresh the current README, package exports, Fumadocs pages, and TypeScript declarations before implementing.
- Keep adapter credentials in environment variables.
- Import adapters from their own entry points.
- Do not add Nodemailer for SMTP; Email SDK includes its own SMTP transport.
- Use fallbacks only when the backup adapter can send the same class of email.
- Add idempotency keys for externally visible transactional sends.
- Run a narrow validation before calling the work done.
Prompt example
Use the repo-local Email SDK skill at skills/email-sdk/SKILL.md.
Wire Resend as the primary adapter and SMTP as fallback.
Keep secrets in environment variables.
Add one narrow test around the send path.The skill is dynamic on purpose. It teaches agents where to fetch the current docs and source first, so the skill does not need a manual update every time the SDK gains another adapter or option.
