Foundatio
FoundatioFx/Foundatio
A skill your agent uses when working with Foundatio infrastructure abstractions for .NET -- caching, queuing, messaging, file storage, distributed locking, or background jobs.
Creates minimal Action Mailer classes with bundled notification patterns following 37signals conventions.
$ npx skills add dilolabs/nosia --skill mailer-patterns -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install dilolabs/nosia mailer-patterns --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/dilolabs/nosia.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.vibe/skills/mailer-patterns .claude/skills/mailer-patterns && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "mailer-patterns" agent skill from https://github.com/dilolabs/nosia/tree/main/.vibe/skills/mailer-patterns into .claude/skills/mailer-patterns/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "mailer-patterns", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/dilolabs/nosia/tree/main/.vibe/skills/mailer-patternsType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add dilolabs/nosia --skill mailer-patterns -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install dilolabs/nosia mailer-patterns --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/dilolabs/nosia.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.vibe/skills/mailer-patterns .agents/skills/mailer-patterns && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "mailer-patterns" agent skill from https://github.com/dilolabs/nosia/tree/main/.vibe/skills/mailer-patterns into .agents/skills/mailer-patterns/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "mailer-patterns", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add dilolabs/nosia --skill mailer-patterns -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install dilolabs/nosia mailer-patterns --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/dilolabs/nosia.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.vibe/skills/mailer-patterns .cursor/skills/mailer-patterns && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "mailer-patterns" agent skill from https://github.com/dilolabs/nosia/tree/main/.vibe/skills/mailer-patterns into .cursor/skills/mailer-patterns/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "mailer-patterns", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/dilolabs/nosia.git --path .vibe/skills/mailer-patterns--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add dilolabs/nosia --skill mailer-patterns -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install dilolabs/nosia mailer-patterns --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/dilolabs/nosia.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.vibe/skills/mailer-patterns .gemini/skills/mailer-patterns && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "mailer-patterns" agent skill from https://github.com/dilolabs/nosia/tree/main/.vibe/skills/mailer-patterns into .gemini/skills/mailer-patterns/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "mailer-patterns", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install dilolabs/nosia mailer-patternsInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add dilolabs/nosia --skill mailer-patterns -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/dilolabs/nosia.git skills-src && mkdir -p .github/skills && cp -r skills-src/.vibe/skills/mailer-patterns .github/skills/mailer-patterns && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "mailer-patterns" agent skill from https://github.com/dilolabs/nosia/tree/main/.vibe/skills/mailer-patterns into .github/skills/mailer-patterns/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "mailer-patterns", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add dilolabs/nosia --skill mailer-patterns -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install dilolabs/nosia mailer-patterns --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/dilolabs/nosia.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.vibe/skills/mailer-patterns .opencode/skills/mailer-patterns && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "mailer-patterns" agent skill from https://github.com/dilolabs/nosia/tree/main/.vibe/skills/mailer-patterns into .opencode/skills/mailer-patterns/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "mailer-patterns", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
mailer-patternsCreates minimal Action Mailer classes with bundled notification patterns following 37signals conventions.
Mailer Patterns is an agent skill from dilolabs/nosia. Creates minimal Action Mailer classes with bundled notification patterns following 37signals conventions. Use when sending emails, creating notification systems, digest emails, or when user mentions mailers, emails, notifications, or transactional messages. WHEN NOT: For background job scheduling (use job-patterns), for event-driven triggers (use event-tracking).
Its SKILL.md is about 2.6k tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files, including reference files (for example `references/bundled-notifications.md` and `references/mailer-templates.md`). Compatibility notes: Ruby 3.3+, Rails 8.0+, Action Mailer, Solid Queue
It sits in Backend & APIs, covering Background jobs, Event-driven systems and Product analytics. The repository describes itself as: Self-hosted AI RAG + MCP Platform. The licence is MIT.
Read from SKILL.md and the folder at commit 0ef5e5d. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
railsFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Ruby 3.3+, Rails 8.0+, Action Mailer, Solid Queue
From compatibility in the SKILL.md frontmatter.
Mailer Patterns loads about 2.6k tokens when it runs, and up to ~5.8k if it reads all its reference files. Until then it costs about 95 tokens; SKILL.md has 269 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from dilolabs/nosia at commit 0ef5e5d, republished under its MIT licence (© dilolabs). 269 words, ~2,553 tokens.
.claude/skills/mailer-patterns/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.deliver_later for individual emails; deliver_now is acceptable inside background jobs that already run asynchronously (e.g., digest delivery jobs)Stack: Action Mailer (built-in), Solid Queue for background delivery, email previews in development, plain text + HTML multipart emails.
Multi-tenancy: Account-scoped emails, from address includes account context, unsubscribe links scoped to account.
Commands:
rails generate mailer Comment mentioned # Generate mailer
rails generate mailer Digest daily_activity # With methods
# Visit http://localhost:3000/rails/mailers # Preview emails# app/mailers/application_mailer.rb
class ApplicationMailer < ActionMailer::Base
default from: ENV.fetch("MAILER_FROM_ADDRESS", "Fizzy <support@fizzy.do>")
layout "mailer"
end
# app/mailers/comment_mailer.rb
class CommentMailer < ApplicationMailer
def mentioned(mention)
@mention = mention
@comment = mention.comment
@card = mention.comment.card
@account = mention.account
mail(
to: mention.user.email,
subject: "#{mention.creator.name} mentioned you in #{@card.title}"
)
end
def new_comment(comment, recipient)
@comment = comment
@card = comment.card
@account = comment.account
mail(
to: recipient.email,
subject: "New comment on #{@card.title}"
)
end
end
# app/mailers/membership_mailer.rb
class MembershipMailer < ApplicationMailer
def invitation(membership)
@membership = membership
@account = membership.account
@inviter = membership.inviter
mail(
to: membership.user.email,
subject: "#{@inviter.name} invited you to #{@account.name}"
)
end
end
# app/mailers/card_mailer.rb
class CardMailer < ApplicationMailer
def assigned(assignment)
@assignment = assignment
@card = assignment.card
@account = assignment.account
mail(
to: assignment.user.email,
subject: "#{assignment.assigner.name} assigned you to #{@card.title}"
)
end
endSee @references/mailer-templates.md for full template examples.
Always create both .text.erb and .html.erb versions:
<%# app/views/comment_mailer/mentioned.text.erb %>
Hi <%= @mention.user.name %>,
<%= @mention.creator.name %> mentioned you in a comment on <%= @card.title %>:
"<%= @comment.body %>"
View the card: <%= account_board_card_url(@account, @card.board, @card) %>
---
You're receiving this because you were mentioned.
<%# app/views/comment_mailer/mentioned.html.erb %>
<p>Hi <%= @mention.user.name %>,</p>
<p><%= @mention.creator.name %> mentioned you in a comment on
<strong><%= @card.title %></strong>:</p>
<blockquote style="border-left: 3px solid #ccc; padding-left: 15px; color: #666;">
<%= simple_format(@comment.body) %>
</blockquote>
<p><%= link_to "View the card",
account_board_card_url(@account, @card.board, @card),
style: "color: #0066cc; text-decoration: none;" %></p>See @references/bundled-notifications.md for full details.
# app/mailers/digest_mailer.rb
class DigestMailer < ApplicationMailer
def daily_activity(user, account, activities)
@user = user
@account = account
@activities = activities
@grouped_activities = activities.group_by(&:subject_type)
mail(
to: user.email,
subject: "Daily activity summary for #{account.name}"
)
end
def pending_notifications(user, notifications)
@user = user
@notifications = notifications
@accounts = notifications.map(&:account).uniq
mail(
to: user.email,
subject: "You have #{notifications.size} pending notifications"
)
end
end
# app/models/notification_bundler.rb
class NotificationBundler
def initialize(user)
@user = user
end
def should_send_digest?
pending_notifications.count >= 5 ||
oldest_pending_notification_age > 1.hour
end
def send_digest
return unless should_send_digest?
notifications = pending_notifications
DigestMailer.pending_notifications(@user, notifications).deliver_later
notifications.update_all(sent_at: Time.current)
end
private
def pending_notifications
@user.notifications.where(sent_at: nil)
.where("created_at > ?", 1.hour.ago)
.order(created_at: :desc)
end
end
# app/jobs/send_digest_emails_job.rb
class SendDigestEmailsJob < ApplicationJob
queue_as :mailers
def perform(frequency: :daily)
User.where(digest_frequency: frequency).find_each do |user|
user.accounts.each do |account|
activities = user.activities_for_digest(account, frequency)
if activities.any?
DigestMailer.daily_activity(user, account, activities).deliver_now
end
end
end
end
end
# config/recurring.yml
mailers:
daily_digest:
class: SendDigestEmailsJob
args: [{ frequency: 'daily' }]
schedule: every day at 8am
queue: mailersAlways use deliver_later in production. Trigger from model callbacks:
class Comment < ApplicationRecord
after_create_commit :notify_subscribers
after_create_commit :notify_mentions
private
def notify_subscribers
card.subscribers.each do |subscriber|
next if subscriber == creator
next unless subscriber.wants_email?(account, :comments)
CommentMailer.new_comment(self, subscriber).deliver_later
end
end
def notify_mentions
mentions.each do |mention|
next unless mention.user.wants_email?(account, :mentions)
CommentMailer.mentioned(mention).deliver_later
end
end
endclass User < ApplicationRecord
has_many :email_preferences, dependent: :destroy
enum :digest_frequency, { never: 0, daily: 1, weekly: 2 }, prefix: true
def wants_email?(account, type)
pref = email_preferences.find_by(account: account, preference_type: type)
pref.nil? || pref.enabled?
end
end
class EmailPreference < ApplicationRecord
belongs_to :user
belongs_to :account
enum :preference_type, { mentions: 0, comments: 1, assignments: 2, digests: 3 }
validates :preference_type, uniqueness: { scope: [:user_id, :account_id] }
end# test/mailers/previews/comment_mailer_preview.rb
class CommentMailerPreview < ActionMailer::Preview
def mentioned
mention = Mention.first || create_sample_mention
CommentMailer.mentioned(mention)
end
private
def create_sample_mention
user = User.first
account = Account.first
board = account.boards.first
card = board.cards.first
comment = card.comments.create!(body: "Hey @alice", creator: user)
Mention.create!(user: user, comment: comment, creator: user, account: account)
end
endVisit previews at http://localhost:3000/rails/mailers.
<%# app/views/layouts/mailer.text.erb %>
<%= yield %>
---
<%= @account&.name || "Example App" %>
<%= root_url %>
<%# app/views/layouts/mailer.html.erb %>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
body { margin: 0; padding: 0; font-family: -apple-system, sans-serif;
font-size: 16px; line-height: 1.5; color: #333; background: #f5f5f5; }
a { color: #0066cc; }
</style>
</head>
<body>
<table style="width: 100%; max-width: 600px; margin: 0 auto;" role="presentation">
<tr><td style="background: white; padding: 40px 30px;"><%= yield %></td></tr>
<tr><td style="padding: 20px 30px; text-align: center; color: #999; font-size: 12px;">
<%= @account&.name || "Example App" %><br><%= link_to root_url, root_url %>
</td></tr>
</table>
</body>
</html># config/environments/production.rb
config.action_mailer.delivery_method = :smtp
config.action_mailer.perform_deliveries = true
config.action_mailer.default_url_options = { host: ENV["APP_HOST"] }
# config/environments/development.rb
config.action_mailer.delivery_method = :letter_opener
config.action_mailer.default_url_options = { host: "localhost", port: 3000 }
# config/environments/test.rb
config.action_mailer.delivery_method = :test
config.action_mailer.default_url_options = { host: "example.com" }.text.erb and .html.erb templatesdeliver_later for individual emails; deliver_now is acceptable inside background jobs that already run asynchronously (e.g., digest delivery jobs)© dilolabs, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 2 other files (references) in .vibe/skills/mailer-patterns of dilolabs/nosia.
Open the folder on GitHubat commit 0ef5e5d
We found 3 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in dilolabs/nosia, which our catalogue first saw on October 7, 2026.
Mailer Patterns next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Mailer Patterns this skilldilolabs/nosia | 213 | 1 repos | ~2.6k | Automated safety check: Pass | MIT | |
| FoundatioFoundatioFx/Foundatio | 2.1k | — | ~3.9k | Automated safety check: Pass | Apache-2.0 | |
| Code Engine SpecialistIBM/CodeEngine | 117 | — | ~3.4k | Automated safety check: Pass | Apache-2.0 | |
| Polylith Base CreationDavidVujic/python-polylith | 553 | — | ~757 | Automated safety check: Pass | MIT | |
| Agent Signal Pipelinelobehub/lobehub | 83k | — | ~1.7k | Automated safety check: Pass | Custom licence | |
| Inngestpedronauck/skills | 633 | 4 repos | ~3.1k | Automated safety check: Pass | None |
FoundatioFx/Foundatio
A skill your agent uses when working with Foundatio infrastructure abstractions for .NET -- caching, queuing, messaging, file storage, distributed locking, or background jobs.
IBM/CodeEngine
Deploys, configures, and troubleshoots IBM Cloud Code Engine workloads using the ibmcloud ce CLI.
DavidVujic/python-polylith
Create a Polylith base with poly create base — the entry point of a deployable application (HTTP API, CLI, message-queue consumer, AWS Lambda handler, GCP Cloud Function, scheduled job).
lobehub/lobehub
Guides building event-driven background work for LobeHub agents, with sources, signals, actions, policies, workflow handoff and deduplication.
pedronauck/skills
Inngest expert for serverless-first background jobs, event-driven workflows, and durable execution without managing queues or workers.
davila7/claude-code-templates
Upstash QStash expert for serverless message queues, scheduled jobs, and reliable HTTP-based task delivery without managing infrastructure.
dilolabs/nosia
Builds REST APIs using respondto blocks with Jbuilder templates following the 37signals same-controllers-different-formats philosophy.
dilolabs/nosia
Implements custom passwordless authentication without Devise.
dilolabs/nosia
Implements HTTP caching with ETags, fragment caching, Russian doll caching, and Solid Cache configuration.
dilolabs/nosia
Creates and refactors model and controller concerns for shared behavior.
dilolabs/nosia
Builds event tracking, activity feeds, and webhook systems following 37signals patterns with a generic Event model and Eventable concern.
dilolabs/nosia
Implements shallow background jobs with later/now conventions using Solid Queue.
Categories
Creates minimal Action Mailer classes with bundled notification patterns following 37signals conventions. Mailer Patterns is an agent skill from dilolabs/nosia. Creates minimal Action Mailer classes with bundled notification patterns following 37signals conventions.
Mailer Patterns fits situations like: creating notification systems; user mentions mailers; transactional messages; (use event-tracking).
Run `npx skills add dilolabs/nosia --skill mailer-patterns -a claude-code`. Or copy the skill folder (.vibe/skills/mailer-patterns in dilolabs/nosia) into .claude/skills/mailer-patterns in your project. Claude Code loads it when a task matches its description.
Run `npx skills add dilolabs/nosia --skill mailer-patterns -a codex`. Or copy the skill folder (.vibe/skills/mailer-patterns in dilolabs/nosia) into .agents/skills/mailer-patterns in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add dilolabs/nosia --skill mailer-patterns -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/mailer-patterns, .gemini/skills/mailer-patterns, .github/skills/mailer-patterns and .opencode/skills/mailer-patterns in your project.
Going by SKILL.md and its folder, Mailer Patterns needs the command-line tools its instructions call (rails). Compatibility (from SKILL.md): Ruby 3.3+, Rails 8.0+, Action Mailer, Solid Queue.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Mailer Patterns is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.6k tokens (SKILL.md is roughly 10k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 3.2k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Mailer Patterns: Foundatio (FoundatioFx/Foundatio, 2.1k stars), Code Engine Specialist (IBM/CodeEngine, 117 stars), Polylith Base Creation (DavidVujic/python-polylith, 553 stars) and Agent Signal Pipeline (lobehub/lobehub, 83k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
dilolabs (a GitHub organization) maintains it in dilolabs/nosia, which has 213 GitHub stars. The repository holds 15 skills in this directory. The repository was last updated on September 9, 2026.
Source: dilolabs/nosia on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.