Token导航 LogoToken导航TokenDH.com
研究检索操作浏览器github未标认证来源可访问许可证需确认审计异常

email-design电子邮件设计

Agent Skill

用于辅助界面设计、视觉规范、排版、配色、布局和交互体验优化。它适合让 Agent 根据产品场景整理页面结构、生成 UI 方案、检查视觉一致性或改进组件层级。使用时需要结合现有品牌、设计系统和用户任务,不应只堆装饰元素;涉及真实页面改动时,应通过截图或浏览器预览检查文本溢出、对齐和响应式表现。

总安装

6,021

周安装

256

GitHub Stars

380

下载量

2,109
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:email-design(电子邮件设计)
来源仓库:https://github.com/inference-sh/skills
仓库路径:skills/email-design
安装命令:
npx skills add https://github.com/inference-sh/skills --skill email-design
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/inference-sh/skills --skill email-design

简介

email-design 用于辅助界面设计与视觉规范优化,提升排版与交互体验。

  • 适合生成 UI 方案、检查视觉一致性或改进组件层级结构。
  • 需结合现有品牌系统和用户任务进行设计,避免堆砌装饰元素。
  • 真实页面改动时应通过截图或浏览器预览验证文本溢出与响应式表现。
  • 建议在具体使用场景中参考原始文档确认功能细节。

SKILL.md

Email Design

Design high-converting marketing emails with AI-generated visuals via inference.sh CLI.

Quick Start

Requires inference.sh CLI (belt). Install instructions
belt login

# Generate email header banner
belt app run infsh/html-to-image --input '{
  "html": "<div style=\"width:600px;height:250px;background:linear-gradient(135deg,#667eea,#764ba2);display:flex;align-items:center;justify-content:center;font-family:system-ui;color:white;text-align:center\"><div><h1 style=\"font-size:36px;margin:0\">Spring Sale — 30% Off</h1><p style=\"font-size:18px;opacity:0.9\">This weekend only</p></div></div>"
}'

Email Width & Layout

ConstraintValueWhy
Max width600pxGmail, Outlook rendering standard
Mobile width320-414pxResponsive fallback
Single columnPreferredBetter mobile rendering
Two columnUse sparinglyBreaks on many clients
Image width600px max, 300px for 2-colRetina: provide 2x (1200px)
Font size (body)14-16pxBelow 14px is hard to read on mobile
Font size (heading)22-28pxMust be scannable
Line height1.5Readability on all devices

The Inverted Pyramid Layout

The most effective email layout funnels attention to a single CTA:

┌──────────────────────────────────┐
│           HEADER IMAGE           │  ← Brand/visual hook
│          (600 x 200-300)         │
├──────────────────────────────────┤
│                                  │
│     Headline (one line)          │  ← What's this about
│                                  │
│     2-3 sentences of body copy   │  ← Why should I care
│     explaining the value.        │
│                                  │
│        ┌──────────────┐          │
│        │   CTA BUTTON  │         │  ← One clear action
│        └──────────────┘          │
│                                  │
├──────────────────────────────────┤
│     Footer: Unsubscribe link     │
└──────────────────────────────────┘

Subject Lines

Formulas That Work

FormulaExampleOpen Rate Impact
Number + benefit"5 ways to cut your build time in half"High
Question"Are you still deploying on Fridays?"High
How-to"How to automate your reports in 3 steps"Medium-High
Urgency (genuine)"Last day: 30% off annual plans"High (if real)
Personalized"[Name], your weekly report is ready"Very High
Curiosity gap"The one feature our users can't stop talking about"Medium-High

Rules

RuleValue
Length30-50 characters (mobile truncates at ~35)
Preview textFirst 40-100 chars after subject — design this intentionally
EmojiMax 1, at start or end, test with your audience
ALL CAPSNever — triggers spam filters
Spam trigger wordsAvoid: "free", "act now", "limited time", "click here" in subject
Personalization[First name] in subject lifts open rates 20%+

Preview Text

The preview text appears after the subject line in the inbox. Don't waste it.

❌ "View this email in your browser" (default, wasted space)
❌ "Having trouble viewing this?" (no one cares)

✅ Subject: "5 ways to cut build time"
   Preview: "Number 3 saved us 6 hours per week"

✅ Subject: "Your monthly report is ready"
   Preview: "Revenue up 23% — here's what drove it"

Email Types

Welcome Email (Automated, Day 0)

ElementContent
Subject"Welcome to [Product] — here's what's next"
HeaderBrand image or product screenshot
Body3-4 sentences: what they signed up for, what to expect, one quick win
CTA"Complete your setup" or "Try your first [action]"
TimingImmediately after signup

Promotional / Campaign

ElementContent
SubjectBenefit-focused, urgency if real
HeaderHero image showing the offer/outcome
BodyProblem → solution → offer → deadline
CTA"Get 30% Off" or "Start Free Trial"
UrgencyReal deadline, not fake scarcity

Product Update / Changelog

ElementContent
Subject"New: [Feature name] is here"
HeaderScreenshot or visual of the feature
BodyWhat's new, why it matters, how to use it
CTA"Try [feature]"

Transactional (Receipts, Confirmations)

RuleWhy
Clear purpose in subject"Your order #1234 is confirmed"
Minimal designDon't confuse with marketing
Key info above the foldOrder number, amount, date
No promotional content (mostly)CAN-SPAM allows some, but keep minimal

Header Image Design

# Welcome email header
belt app run infsh/html-to-image --input '{
  "html": "<div style=\"width:600px;height:250px;background:linear-gradient(135deg,#2d3436,#636e72);display:flex;align-items:center;padding:40px;font-family:system-ui;color:white\"><div><p style=\"font-size:14px;text-transform:uppercase;letter-spacing:2px;opacity:0.7;margin:0\">Welcome to</p><h1 style=\"font-size:42px;margin:8px 0 0;font-weight:800\">DataFlow</h1><p style=\"font-size:18px;opacity:0.8;margin-top:4px\">Your data, automated</p></div></div>"
}'

# Sale / promotional header
belt app run infsh/html-to-image --input '{
  "html": "<div style=\"width:600px;height:300px;background:linear-gradient(135deg,#e74c3c,#c0392b);display:flex;align-items:center;justify-content:center;font-family:system-ui;color:white;text-align:center\"><div><p style=\"font-size:20px;opacity:0.9;margin:0\">This Weekend Only</p><h1 style=\"font-size:72px;margin:8px 0;font-weight:900\">30% OFF</h1><p style=\"font-size:18px;opacity:0.8\">All annual plans. Ends Sunday.</p></div></div>"
}'

# Feature announcement header with AI visual
belt app run falai/flux-dev-lora --input '{
  "prompt": "clean modern email header banner, abstract flowing data visualization, dark blue gradient background, subtle glowing nodes and connections, tech aesthetic, minimal, no text, 600x250 equivalent",
  "width": 1200,
  "height": 500
}'

CTA Buttons

RuleValue
Width200-300px, not full width
Height44-50px minimum (tap target)
ColorHigh contrast with background
TextAction verb + outcome: "Start Free Trial"
ShapeRounded corners (4-8px border-radius)
PlacementAbove the fold, repeated at bottom for long emails
QuantityONE primary CTA per email

Bulletproof Buttons

HTML buttons render differently across email clients. Use the "bulletproof button" technique (VML for Outlook, HTML/CSS for everything else):

<!-- Bulletproof button (works everywhere including Outlook) -->
<table cellpadding="0" cellspacing="0" border="0">
  <tr>
    <td align="center" bgcolor="#22c55e" style="border-radius:6px;">
      <a href="https://yoursite.com/action" target="_blank"
         style="font-size:16px;font-family:sans-serif;color:#ffffff;
                text-decoration:none;padding:12px 24px;display:inline-block;
                font-weight:bold;">
        Start Free Trial
      </a>
    </td>
  </tr>
</table>

Mobile Optimization

RuleWhy
Single column layoutMulti-column breaks on mobile
Font minimum 14pxSmaller is unreadable
CTA button minimum 44px tallApple/Android tap target
Images scale to 100% widthPrevent horizontal scroll
Stack elements verticallySide-by-side breaks on narrow screens
Test on Gmail app, Apple Mail, OutlookThe big 3 email clients

60%+ of emails are opened on mobile. Design mobile-first.

Deliverability Checklist

FactorRule
Image-to-text ratioMax 40% images, 60% text (spam filters flag image-heavy emails)
Alt text on imagesAlways — images blocked by default in many clients
Unsubscribe linkRequired by law (CAN-SPAM, GDPR) — make it easy to find
From nameRecognizable person or brand name
Reply-toReal address, not no-reply@ (hurts deliverability)
List hygieneRemove bounces, clean inactive subscribers quarterly
SPF/DKIM/DMARCTechnical authentication — set up once, critical for inbox

Common Mistakes

MistakeProblemFix
No preview textShows "View in browser" or random codeSet preview text intentionally
Image-only emailsBlocked images = blank email + spam risk60%+ text, alt text on images
Multiple CTAsDecision paralysis, lower click rateOne primary CTA per email
Tiny textUnreadable on mobileMinimum 14px body, 22px headings
no-reply@ senderHurts deliverability, feels impersonalUse real reply address
No mobile testingBroken layout for 60%+ of readersTest on Gmail app + Apple Mail
Missing unsubscribeIllegal (CAN-SPAM) + spam complaintsClear unsubscribe link in footer
Over-designingEmail clients render CSS inconsistentlySimple layouts, inline styles
Fake urgencyErodes trust, trains users to ignoreOnly use real deadlines

Related Skills

npx skills add inference-sh/skills@landing-page-design
npx skills add inference-sh/skills@ai-image-generation
npx skills add inference-sh/skills@prompt-engineering

Browse all apps: belt app list

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

37.43%
按下载量换算789

Claude

29.74%
按下载量换算627

Cursor

19.33%
按下载量换算408

Gemini CLI

8.93%
按下载量换算188

安全审计

Gen Agent Trust Hub

通过

Socket

可疑

Snyk

未通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills