CtrlK
BlogDocsLog inGet started
Tessl Logo

action-mailer-patterns

Implements transactional emails with Action Mailer and TDD. Use when creating email templates, notification emails, password resets, email previews, or when user mentions mailer, email, notifications, or transactional emails.

90

1.25x
Quality

88%

Does it follow best practices?

Impact

95%

1.25x

Average score across 3 eval scenarios

SecuritybySnyk

Passed

No known issues

SKILL.md
Quality
Evals
Security

Evaluation results

92%

18%

Order Confirmation Email

TDD mailer workflow and delivery

Criteria
Without context
With context

Spec file created

100%

100%

type: :mailer tag

100%

100%

Subject uses I18n

0%

100%

Header assertions

100%

100%

HTML body tested

100%

100%

Text body tested

100%

100%

have_enqueued_mail used

0%

100%

deliver_later used

100%

100%

Both templates present

100%

100%

Mailer inherits ApplicationMailer

100%

100%

Preview file created

100%

100%

FactoryBot in preview

0%

0%

100%

20%

Multilingual Password Reset Email

I18n localization for emails

Criteria
Without context
With context

I18n.with_locale wrapping

83%

100%

Relative t() for subject

0%

100%

t() in HTML template

60%

100%

t() in text template

60%

100%

English locale file location

100%

100%

Second locale file present

100%

100%

Locale YAML structure

100%

100%

deliver_later used

100%

100%

Both templates present

100%

100%

Mailer inherits ApplicationMailer

100%

100%

No hardcoded subject string

100%

100%

94%

20%

Daily Activity Digest Email System

ApplicationMailer setup and conditional email

Criteria
Without context
With context

ApplicationMailer from address

100%

100%

ApplicationMailer layout

100%

100%

ApplicationMailer base class

100%

100%

after_action log callback

50%

100%

Email layout file

100%

100%

Layout max-width 600px

100%

100%

Layout .button class

0%

100%

Layout .footer section

0%

100%

Conditional early return

100%

100%

find_each with batch_size

70%

100%

deliver_later in bulk

100%

100%

Digest mailer inherits ApplicationMailer

100%

100%

Both templates present

100%

100%

t() for subject in digest

0%

0%

Repository
ThibautBaissac/rails_ai_agents
Evaluated
Agent
Claude Code
Model
Claude Sonnet 4.6

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.