agentleFS
rahmanef63rahmanef63/si-coder-agent/skills/sc-resend/SKILL.md

sc-resend

Skill13 starsChanged 2 months agoMITView on GitHub

(STUB / NOT IMPLEMENTED YET) Transactional email via Resend — verify sender domain DNS (DKIM/SPF/DMARC), create API keys, send template-based emails. Pairs with sc-cf or lib/hostinger.js for the DNS record creation step.

  • Reads credentials

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

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

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

    Do not infer a sender address from the application hostname.

    line 35

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “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

/sc-resend — Resend (STUB)

Status: boilerplate only.

Scope when implemented

  • Domain verification: register a sending domain with Resend, fetch the DKIM/SPF/DMARC records it requires, then create them via sc-cf or lib/hostinger.js automatically — no manual DNS copy-paste.
  • API key rotation per project, scoped to the verified domain.
  • Audience creation for broadcast lists (optional).
  • Smoke send to a verified recipient to confirm DNS propagation.

Sender identity policy

Sender identity is project configuration, not repository-global policy. Use one explicitly verified Resend domain/account selected by the user and keep the visible project name separate from the sender address:

From: <Project Name> <transactional@example.com>
Reply-To: <optional monitored mailbox>

Do not infer a sender address from the application hostname. A project hosted at app.example.com may legitimately send from a different verified domain. Keep the project-local contract explicit:

EMAIL_FROM_ADDRESS=transactional@example.com
EMAIL_PROJECT_NAME=<Project Name>
EMAIL_PROJECT_TAG=<project-slug>
EMAIL_REPLY_TO=

Framework adapters may map these values into native variables, but the selected project configuration remains the source of truth. Never bake another project's domain, sender, or display name into this skill.

Env vars

VarPurpose
RESEND_API_KEYre_... server key
RESEND_FROM_DOMAINThe verified sending domain

Suggested file layout

sc-resend/
├── SKILL.md
└── scripts/
    ├── verify-domain.js   # register + auto-create DNS records via sc-cf / hostinger
    ├── api-key.js         # create/rotate scoped API key
    ├── audiences.js       # CRUD audience (optional)
    └── smoke-send.js      # send a test email to confirm

Implementation notes

  • API base: https://api.resend.com
  • Auth: Authorization: Bearer <RESEND_API_KEY>
  • Domain verify response gives 3 records [{ name, type, value }] — feed those into the DNS module via configureDns().
  • DMARC: Resend recommends v=DMARC1; p=none; initially, tighten to p=quarantine once SPF/DKIM are confirmed in DNS for 24h.

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.