Skills for Real Engineers. Straight from my .agents directory.
verify-email-snapshots
Agent skill fromAaronontheweb/dotnet-skills
Snapshot test email templates using Verify to catch regressions. Validates rendered HTML output matches approved baseline. Works with MJML templates and any email renderer.
How to install verify-email-snapshots
npx skills add Aaronontheweb/dotnet-skills# or add only this skill to Claude Code: copy the folder
skills/verify-email-snapshots/
# into
~/.claude/skills/verify-email-snapshots/ (all projects)
.claude/skills/verify-email-snapshots/ (one project)
1# Snapshot Testing Email Templates with Verify23## When to Use This Skill45Use this skill when:6- Testing email template rendering for regressions7- Validating MJML templates compile to expected HTML8- Reviewing email changes in code review (diffs are visual)9- Ensuring variable substitution works correctly1011**Related skills:**12- `aspnetcore/mjml-email-templates` - MJML template authoring13- `aspire/mailpit-integration` - Test email delivery locally14- `testing/snapshot-testing` - General Verify patterns1516---1718## Why Snapshot Test Emails?1920Email templates are:211. **Visual** - Small changes can break rendering across clients222. **Hard to unit test** - Output is complex HTML, not simple values233. **Prone to regression** - Template changes can have unintended effects2425Snapshot testing captures the rendered HTML and fails when it changes unexpectedly.2627---2829## Installation3031```bash32dotnet add package Verify.Xunit # or Verify.NUnit, Verify.MSTest33```3435---3637## Basic Email Snapshot Test3839```csharp40[Fact]41public async Task UserSignupInvitation_RendersCorrectly()42{43 // Arrange44 var renderer = _services.GetRequiredService<IMjmlTemplateRenderer>();4546 var variables = new Dictionary<string, string>47 {48 { "PreviewText", "You've been invited to join Acme Corp" },49 { "OrganizationName", "Acme Corporation" },50 { "InviteeName", "John Doe" },51 { "InviterName", "Jane Admin" },52 { "InvitationLink", "https://example.com/invite/abc123" },53…
Excerpt shown under the repository's MIT license.
More skills in dotnet-skills
Similar skill repositories
An agentic skills framework & software development methodology that works.
Public repository for Agent Skills
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
An AI skill that provides design intelligence for building professional UI/UX across multiple platforms.
Production-grade engineering skills for AI coding agents.
