Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

email-template-developer

БесплатноБез исполняемых скриптовНе проверен

Use this skill when working on email, SMS, or push notification templates — authoring Handlebars HTML email templates, understanding the backend template…

gabrielmoreiraот gabrielmoreira★ 23 звезды на GitHub

Об этом скилле

Email Template Developer

Author and maintain notification templates across the Handlebars template ecosystem. Covers template authoring conventions, HTML email constraints, visual testing, backend template processing, and multi-tenant deployment.

Scope: Template authoring and backend template engine understanding. For general backend service work, use the backend-developer skill.

Repositories

Repo Location Purpose
Notification-Templates Template authoring, Handlebars HTML, visual testing
Notification-Service Backend notification service, template engine, tenant config

Template Directory Structure

Notification-Templates/
├── .github/
│   ├── instructions/
│   │   └── copilot.instructions.md     # HTML email development guidelines
│   └── prompts/
│       ├── create_new_template.prompt.md
│       ├── create_screenshots.prompt.md
│       └── validate_urls.prompt.md
├── Templates/
│   ├── EMAIL/
│   │   ├── _MASTER_TEMPLATE/           # Base for ALL new templates
│   │   │   ├── DE/body.hbs.html + subject.hbs.txt
│   │   │   ├── EN/body.hbs.html + subject.hbs.txt
│   │   │   ├── FR/body.hbs.html + subject.hbs.txt
│   │   │   └── IT/body.hbs.html + subject.hbs.txt
│   │   └── <TEMPLATE_NAME>/
│   │       ├── DE/body.hbs.html + subject.hbs.txt
│   │       ├── EN/body.hbs.html + subject.hbs.txt
│   │       ├── FR/body.hbs.html + subject.hbs.txt
│   │       └── IT/body.hbs.html + subject.hbs.txt
│   ├── SMS/
│   │   └── <TEMPLATE_NAME>/
│   │       └── <LANG>/body.hbs.txt
│   ├── PUSH/
│   │   └── <TEMPLATE_NAME>/
│   │       └── <LANG>/body.hbs.txt + title.hbs.txt
│   ├── DEFINITION/
│   │   ├── _MASTER_TEMPLATE.json
│   │   └── <TEMPLATE_NAME>.json
│   └── global_testdata.json            # Shared test data for all templates
├── package.json                         # Node.js: handlebars, playwright, pixelmatch
└── playwright.config.js                 # Chromium, 800x1200 viewport, threshold 0.2

Golden Rules

  1. ALWAYS use _MASTER_TEMPLATE as base for new email templates — never start from scratch.
  2. 4 languages always: DE, EN, FR, IT — every template must have all 4 language variants.
  3. No translations in body.hbs.html — the HTML body structure is identical across languages. Only subject.hbs.txt differs per language.
  4. Preserve block comment anchors — comments like <!-- Content 1-spaltig -->, <!-- Address block --> serve as structural markers and must be kept.
  5. Stay under ~100kB per template to avoid Gmail truncation.

Existing Copilot Prompts

The repo includes pre-built prompts in /.github/prompts/ — use them instead of reinventing workflows:

Prompt Purpose
/create_new_template Copy _MASTER_TEMPLATE → new template, set subjects per language
/create_screenshots Replace placeholders with global_testdata.json, generate Playwright screenshots to /.temp/
/validate_urls Check all template URLs per language, output CSV to /.temp/URL_Validation_Results.csv

Creating a New Template (Workflow)

  1. Copy /Templates/EMAIL/_MASTER_TEMPLATE/ → /Templates/EMAIL/<NEW_NAME>/
  2. Copy /Templates/DEFINITION/_MASTER_TEMPLATE.json → /Templates/DEFINITION/<NEW_NAME>.json
  3. Update subjects in each subject.hbs.txt per language
  4. Update <title> tags in each body.hbs.html
  5. Replace _MASTER_TEMPLATE references with the new template name
  6. Modify HTML body content as needed (same structure across all languages)
  7. Generate screenshots and validate

HTML Email Constraints

Cross-Client Compatibility

Target clients (last 24 months): Apple Mail, Outlook (classic + new), Gmail, Yahoo Mail.

Constraint Rule
Layout Table-based responsive, max-width: 620px
Background background-color: #f4f4f4 outer wrapper
Buttons Bulletproof (VML fallback for Outlook), min 44×44px tap target
Contrast WCAG AA minimum
Format detection x-ms-format-detection="none" to suppress auto-linking
Outlook conditionals <!--[if mso]> and <!--[if !mso]><!--> ... <!--<![endif]-->
Dark mode color-scheme: light dark, prefers-color-scheme media query, neutral base palette
Validation Audit against Can I Email before finalizing

Template HTML Structure

<!-- Typical block structure (simplified) -->
<table role="presentation" width="100%" style="background-color: #f4f4f4;">
  <tr><td align="center">
    <table width="620" style="max-width: 620px;">
      <!-- Logo -->
      <!-- Content 1-spaltig -->
      <!-- Content 2-spaltig (optional) -->
      <!-- Address block -->
      <!-- Disclaimer -->
    </table>
  </td></tr>
</table>

Size Optimization

Keep templates compact. Refactor verbose markup into block-based structure. Remove redundant inline

Полный SKILL.md на GitHub

Установить email-template-developer в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл email-template-developer?

Use this skill when working on email, SMS, or push notification templates — authoring Handlebars HTML email templates, understanding the backend template engine, visual testing with Playwright, or managing multi-tenant template deployment. Triggers on: body.hbs.html, subject.hbs.txt, Handlebars email templates, notification templates, email branding, _MASTER_TEMPLATE, template screenshots, Playwright visual regression, notification tenancy, template blob storage, EMAIL/SMS/PUSH channels, or cross-client HTML email compatibility.

Как установить скилл email-template-developer?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл email-template-developer запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить email-template-developer с