wp-email-templates
Installation
SKILL.md
Reusable HTML Email Templates (WordPress plugin)
Model note: Mechanical refactoring — extract strings, create template files, wire
wp_mail().haikuhandles end-to-end.
Move email bodies out of inline PHP strings into templates/emails/, where every message reuses one branded shell. Adding a new email = adding one content file.
When to use
- "Move email content to templates", "branded/HTML emails", "reuse an email template".
- Any plugin building messages inline with
wp_mail()heredocs.
Not for: REST API webhooks, push notifications, or Slack integrations. Transactional email in themes — this skill targets plugin-delivered mail only.