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★ 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-developerskill.
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
- ALWAYS use
_MASTER_TEMPLATEas base for new email templates — never start from scratch. - 4 languages always: DE, EN, FR, IT — every template must have all 4 language variants.
- No translations in
body.hbs.html— the HTML body structure is identical across languages. Onlysubject.hbs.txtdiffers per language. - Preserve block comment anchors — comments like
<!-- Content 1-spaltig -->,<!-- Address block -->serve as structural markers and must be kept. - 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)
- Copy
/Templates/EMAIL/_MASTER_TEMPLATE/→/Templates/EMAIL/<NEW_NAME>/ - Copy
/Templates/DEFINITION/_MASTER_TEMPLATE.json→/Templates/DEFINITION/<NEW_NAME>.json - Update subjects in each
subject.hbs.txtper language - Update
<title>tags in eachbody.hbs.html - Replace
_MASTER_TEMPLATEreferences with the new template name - Modify HTML body content as needed (same structure across all languages)
- 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
Установить 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), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic