bootstrap-postmark
Installation
SKILL.md
Bootstrap Postmark Mailer
Configure Postmark as the production email adapter for Swoosh in a Phoenix 1.8 app.
What Gets Configured
- prod.exs — Swoosh API client set to
Swoosh.ApiClient.Req, local storage disabled - runtime.exs — Postmark adapter with
POSTMARK_API_KEYenv var, configurable from address withMAILER_FROM_NAMEandMAILER_FROM_EMAIL - config.exs — Default
Swoosh.Adapters.Localfor dev, default:mailer_fromtuple - test.exs —
Swoosh.Adapters.Testadapter, API client disabled - .env.sample —
POSTMARK_API_KEY,MAILER_FROM_EMAIL,MAILER_FROM_NAMEentries - Mailer module — Verified or created
App Name Detection
Detect from mix.exs:
- App module prefix (e.g.,
MyApp) — the module namespace - OTP app name (e.g.,
:my_app) — used in config atoms - Web module prefix (e.g.,
MyAppWeb) — for endpoint references