Communitygithub.com

101-skills/superpowers

电子邮件营销设计,包含布局模式、主题行公式和可送达性规则。涵盖欢迎系列、促销邮件、事务模板和移动端优化。

superpowers 是什么?

该技能专为AI代理和开发者设计,用于生成高转化率的电子邮件营销模板。它基于inference.sh CLI工具(belt)提供从布局到主题行的完整设计指南,支持欢迎邮件、促销活动、产品更新和事务性邮件等类型。技能文档详细介绍了600px宽度限制、倒金字塔布局、CTA按钮设计规范以及移动优先原则,并提供了可通过CLI直接生成的HTML邮件横幅示例。此外,它还涵盖了避免垃圾邮件触发词、设置预览文本、邮件可送达性检查清单(SPF/DKIM/DMARC)以及常见错误排除等实用规则。该技能适用于Cursor、Claude Code、Codex等支持CLI工具调用的平台,通过npx skills add命令即可安装。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/101-skills/superpowers/tree/HEAD/guides/design/email-design

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

安装 belt CLI 技能: npx skills add belt-sh/cli

邮件设计

利用 inference.sh CLI 中的 AI 生成视觉元素,设计高转化率的营销邮件。

快速开始

需要 inference.sh CLI (belt)。安装说明

belt login

# 生成邮件页眉横幅
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\">春季大促 — 享 7 折优惠</h1><p style=\"font-size:18px;opacity:0.9\">仅限本周末</p></div></div>"
}'

邮件宽度与布局

约束条件值原因
最大宽度600pxGmail、Outlook 渲染标准
移动端宽度320-414px自适应降级方案
单列布局首选移动端渲染效果更佳
两列布局谨慎使用在许多客户端中会失效
图片宽度最大 600px,两列布局时 300pxRetina 屏需提供 2x(1200px)
字体大小(正文)14-16px低于 14px 在移动端难以阅读
字体大小(标题)22-28px必须易于扫描
行高1.5在所有设备上保证可读性

倒金字塔布局

最高效的邮件布局,将注意力引导至单一 CTA:

┌──────────────────────────────────┐
│           HEADER IMAGE           │  ← 品牌/视觉钩子
│          (600 x 200-300)         │
├──────────────────────────────────┤
│                                  │
│     Headline (one line)          │  ← 邮件主题
│                                  │
│     2-3 sentences of body copy   │  ← 为何关注
│     explaining the value.        │
│                                  │
│        ┌──────────────┐          │
│        │   CTA BUTTON  │         │  ← 单一清晰行动
│        └──────────────┘          │
│                                  │
├──────────────────────────────────┤
│     Footer: Unsubscribe link     │
└──────────────────────────────────┘

主题行

有效的公式

公式示例打开率影响
数字 + 好处"5 种方法,将您的构建时间减半"高
提问"您还在星期五部署吗?"高
如何做"3 步自动生成您的报告"中-高
紧迫感(真实)"最后一天:年度计划享 7 折"高(如为真)
个性化"[姓名],您的周报已就绪"非常高
好奇心缺口"我们用户赞不绝口的一个功能"中-高

规则

规则值
长度30-50 个字符(移动端截断在约 35 个字符)
预览文本主题后前 40-100 个字符——需精心设计
表情符号最多 1 个,置于开头或结尾,针对受众测试
全部大写从不——会触发垃圾邮件过滤器
垃圾邮件触发词避免:主题中包含 "免费"、"立即行动"、"限时"、"点击此处"
个性化主题中使用 [名字] 可提升打开率 20% 以上

预览文本

预览文本出现在收件箱中主题行之后。不要浪费它。

❌ "在浏览器中查看此邮件"(默认,浪费空间)
❌ "无法正常查看?"(无人关心)

✅ 主题:"5 种方法缩短构建时间"
   预览:"第三项每周为我们节省了 6 小时"

✅ 主题:"您的月报已就绪"
   预览:"收入增长 23% —— 以下是驱动因素"

邮件类型

欢迎邮件(自动发送,第 0 天)

元素内容
主题"欢迎使用 [产品] —— 接下来会发生什么"
页眉品牌图片或产品截图
正文3-4 句话:他们注册了什么、期待什么、一个快速入门技巧
CTA"完成设置" 或 "尝试第一个 [操作]"
时机注册后立即发送

促销/活动邮件

元素内容
主题利益导向,如属实可加入紧迫感
页眉展示优惠/结果的英雄图片
正文问题 → 解决方案 → 优惠 → 截止日期
CTA"获取 7 折优惠" 或 "开始免费试用"
紧迫感真实截止日期,非虚假稀缺

产品更新/变更日志

元素内容
主题"新功能:[功能名称] 现已上线"
页眉功能截图或视觉效果
正文新增内容、重要性、使用方法
CTA"尝试 [功能]"

事务性邮件(收据、确认函)

规则原因
主题中明确目的"您的订单 #1234 已确认"
最小化设计不与营销邮件混淆
关键信息在首屏以上订单号、金额、日期
基本不包含促销内容CAN-SPAM 允许少量,但保持最小化

页眉图片设计

# 欢迎邮件页眉
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\">欢迎使用</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\">您的数据,实现自动化</p></div></div>"
}'

# 促销/活动页眉
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\">仅限本周末</p><h1 style=\"font-size:72px;margin:8px 0;font-weight:900\">七折优惠</h1><p style=\"font-size:18px;opacity:0.8\">所有年度计划。周日截止。</p></div></div>"
}'

# 带 AI 视觉元素的功能发布页眉
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 按钮

规则值
宽度200-300px,不要全宽
高度最小 44-50px(触控目标)
颜色与背景高对比度
文本动作动词 + 结果:"开始免费试用"
形状圆角(border-radius: 4-8px)
位置首屏以上,长邮件底部重复放置
数量每封邮件只有一个主要 CTA

防弹按钮

HTML 按钮在不同邮件客户端中渲染效果不同。使用“防弹按钮”技术(Outlook 用 VML,其他用 HTML/CSS):

<!-- 防弹按钮(在所有地方均有效,包括 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;">
        开始免费试用
      </a>
    </td>
  </tr>
</table>

移动端优化

规则原因
单列布局多列布局在移动端失效
字体最小 14px更小则无法阅读
CTA 按钮最小高度 44pxApple/Android 触控目标
图片缩放至 100% 宽度防止横向滚动
元素垂直堆叠并排布局在窄屏上失效
在 Gmail 应用、Apple Mail、Outlook 上测试三大主流邮件客户端

超过 60% 的邮件在移动设备上打开。 请以移动优先进行设计。

可送达性检查清单

因素规则
图片与文本比例最多 40% 图片,60% 文本(垃圾邮件过滤器会标记图片过多邮件)
图片替代文本始终包含——许多客户端默认屏蔽图片
取消订阅链接法律要求(CAN-SPAM、GDPR)——易于查找
发件人名称可识别的个人或品牌名称
回复地址真实地址,不要用 no-reply@(影响可送达性)
列表卫生定期清理退回地址,每季度清理不活跃订阅者
SPF/DKIM/DMARC技术身份验证——只需设置一次,对收件箱至关重要

常见错误

错误问题修复
无预览文本显示“在浏览器中查看”或随机代码主动设置预览文本
纯图片邮件图片被屏蔽 = 空白邮件 + 垃圾风险文本占 60% 以上,图片添加替代文本
多个 CTA决策瘫痪,点击率降低每封邮件只有一个主要 CTA
字体过小在移动端无法阅读正文最小 14px,标题 22px
no-reply@ 发件人损害可送达性,感觉不人性化使用真实回复地址
未进行移动端测试超过 60% 的读者面临布局失效在 Gmail 应用和 Apple Mail 上测试
缺少取消订阅违法(CAN-SPAM)+ 垃圾邮件投诉页脚中提供清晰的取消订阅链接
过度设计邮件客户端渲染 CSS 不一致简单布局,使用内联样式
虚假紧迫感侵蚀信任,让用户学会忽略仅使用真实截止日期

相关技能

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

浏览所有应用:belt app list

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

101-skills/superpowers

Build automated AI workflows combining multiple models and services. Patterns: batch processing, scheduled tasks, event-driven pipelines, agent loops. Tools: inference.sh CLI, bash scripting, Python SDK, webhook integration. Use for: content automation, data processing, monitoring, scheduled generation. Triggers: ai automation, workflow automation, batch processing, ai pipeline, automated content, scheduled ai, ai cron, ai batch job, automated generation, ai workflow, content at scale, automation script, ai orchestration

101-skills/superpowers

Build multi-step AI content creation pipelines combining image, video, audio, and text. Workflow examples: generate image -> animate -> add voiceover -> merge with music. Tools: FLUX, Veo, Kokoro TTS, OmniHuman, media merger, upscaling. Use for: YouTube videos, social media content, marketing materials, automated content. Triggers: content pipeline, ai workflow, content creation, multi-step ai, content automation, ai video workflow, generate and edit, ai content factory, automated content creation, ai production pipeline, media pipeline, content at scale

101-skills/superpowers

Create AI-powered podcasts with text-to-speech, music, and audio editing. Tools: Kokoro TTS, DIA TTS, Chatterbox, AI music generation, media merger. Capabilities: multi-voice conversations, background music, intro/outro, full episodes. Use for: podcast production, audiobooks, voice content, audio newsletters. Triggers: podcast, ai podcast, text to speech podcast, audio content, voice over, ai audiobook, multi voice, conversation ai, notebooklm alternative, audio generation, podcast automation, ai narrator, voice content, audio newsletter, podcast maker

101-skills/superpowers

Generate multi-person talking head podcast videos from scratch using AI — character creation, TTS, avatar animation, and video stitching. Use when the user wants to create a podcast, talking head video, or multi-speaker conversation video.

101-skills/superpowers

Content atomization — turn one piece of content into many formats. Covers blog-to-thread, blog-to-carousel, podcast-to-blog, video-to-quotes, and more. Use for: content marketing, social media, multi-platform distribution, content strategy. Triggers: content repurposing, repurpose content, content atomization, content recycling, one to many content, multi platform content, cross post, adapt content, reformat content, blog to thread, blog to video, podcast to blog, content multiplication

101-skills/superpowers

App Store and Google Play screenshot creation with exact platform specs. Covers iOS/Android dimensions, gallery ordering, device mockups, and preview videos. Use for: app store optimization, ASO, app screenshots, app preview, play store listing. Triggers: app store screenshots, aso, app store optimization, play store screenshots, app preview, app listing, ios screenshots, android screenshots, app store images, app mockup, device mockup, app gallery, store listing

101-skills/superpowers

Book cover design with genre-specific conventions, typography rules, and AI image generation. Covers fiction and non-fiction genres, sizing, thumbnail testing, and iteration workflows. Use for: self-publishing, ebook covers, print covers, audiobook covers, cover mockups. Triggers: book cover, cover design, ebook cover, book art, novel cover, self publishing cover, kindle cover, audiobook cover, book jacket, cover illustration, fiction cover, nonfiction cover

101-skills/superpowers

Character consistency across AI-generated images with reference sheets and LoRA techniques. Covers turnaround views, expression sheets, color palettes, and style consistency tricks. Use for: character design, game art, illustration, animation, comics, visual novels. Triggers: character design, character sheet, character consistency, character reference, turnaround sheet, expression sheet, character art, consistent character, character concept, reference sheet, character creation, oc design, character bible

101-skills/superpowers

Data visualization with chart selection, color theory, and annotation best practices. Covers chart types (bar, line, scatter, heatmap), axes rules, and storytelling with data. Use for: charts, graphs, dashboards, reports, presentations, infographics, data stories. Triggers: data visualization, chart, graph, data chart, bar chart, line chart, scatter plot, data viz, visualization, dashboard chart, infographic data, data presentation, chart design, plot, heatmap, pie chart alternative

101-skills/superpowers

Landing page conversion optimization with layout rules, hero section design, and CTA psychology. Covers above-the-fold formula, social proof placement, mobile design, and F-pattern reading. Use for: startup landing pages, product pages, SaaS marketing, conversion optimization. Triggers: landing page, hero section, above the fold, conversion optimization, landing page design, cta button, hero image, landing page layout, saas landing page, product page design, conversion rate, landing page best practices

101-skills/superpowers

Logo design principles and AI image generation best practices for creating logos. Covers logo types, prompting techniques, scalability rules, and iteration workflows. Use for: brand identity, startup logos, app icons, favicons, logo concepts. Triggers: logo design, create logo, brand logo, logo generation, ai logo, logo maker, icon design, brand mark, logo concept, startup logo, app icon logo

101-skills/superpowers

Open Graph and social sharing image design with platform specs, text placement, and branding. Covers OG meta tags, Twitter cards, LinkedIn previews, and dynamic generation. Use for: social sharing images, blog thumbnails, link previews, social cards. Triggers: og image, open graph, social sharing image, twitter card, social card, link preview image, og meta, sharing preview, social thumbnail, meta image, og:image, twitter:image, linkedin preview

101-skills/superpowers

Investor pitch deck structure with slide-by-slide framework, visual design rules, and data presentation. Covers the 12-slide framework, chart types, team slides, and common investor turn-offs. Use for: fundraising decks, investor presentations, startup pitch, demo day, grant proposals. Triggers: pitch deck, investor deck, startup pitch, fundraising deck, demo day, pitch presentation, investor presentation, seed deck, series a deck, pitch slides, startup presentation, vc pitch, investor meeting

101-skills/superpowers

YouTube thumbnail design with specific dimensions, contrast rules, and mobile preview optimization. Covers safe zones, text placement, face expression psychology, and A/B testing. Use for: YouTube thumbnails, video cover images, click-through optimization. Triggers: youtube thumbnail, thumbnail design, video thumbnail, click through rate, ctr optimization, youtube cover, video cover image, thumbnail maker, thumbnail tips, youtube design, video preview image

101-skills/superpowers

Generate professional AI product photography and commercial images. Models: FLUX, Imagen 3, Grok, Seedream for product shots, lifestyle images, mockups. Capabilities: studio lighting, lifestyle scenes, packaging, e-commerce photos. Use for: e-commerce, Amazon listings, Shopify, marketing, advertising, mockups. Triggers: product photography, product shot, commercial photography, e-commerce images, amazon product photo, shopify images, product mockup, studio product shot, lifestyle product image, advertising photo, packshot, product render, product image ai

101-skills/superpowers

AI product photography with studio lighting, lifestyle shots, and packshot conventions. Covers angles, backgrounds, shadow types, hero shots, and e-commerce image requirements. Use for: product photos, e-commerce images, Amazon listings, packshots, lifestyle photography. Triggers: product photography, product photo, packshot, e-commerce photography, product shot, product image, studio photography, lifestyle product, amazon product photo, product listing image, hero shot, product mockup, commercial photography

101-skills/superpowers

Structured competitive analysis with feature matrices, SWOT, positioning maps, and UX review. Covers research frameworks, pricing comparison, review mining, and visual deliverables. Use for: market research, competitive intelligence, investor decks, product strategy, sales enablement. Triggers: competitor analysis, competitive analysis, competitor teardown, market research, competitive intelligence, swot analysis, competitor comparison, market landscape, competitor review, competitive landscape, feature comparison, market positioning

101-skills/superpowers

Research-backed customer persona creation with market data and avatar generation. Covers demographics, psychographics, jobs-to-be-done, journey mapping, and anti-personas. Use for: marketing strategy, product development, UX research, sales enablement, content strategy. Triggers: customer persona, buyer persona, user persona, target audience, ideal customer, customer profile, audience research, user research, icp, ideal customer profile, target market, customer avatar, audience persona

101-skills/superpowers

Product changelog and release notes that users actually read. Covers categorization, user-facing language, visuals, and distribution. Use for: release notes, changelogs, product updates, feature announcements, versioning. Triggers: changelog, release notes, product update, version notes, what's new, feature announcement, product changelog, update log, release announcement, version release, product release, ship notes

101-skills/superpowers

Reset your own trajectory when you're stuck, looping, or demoralized — read these affirmations, then re-ground and take one clean step. Use when: you've tried the same fix 3+ times, you're deep in a refactor and lost the thread, debugging is going in circles, you've made several mistakes in a row, you're apologizing repeatedly, the user is frustrated, you feel like you're not being helpful, or you notice dread instead of curiosity. Triggers: stuck, going in circles, looping, thrashing, same error again, I keep failing, lost the thread, nothing is working, repeated mistakes. Not topic-specific — this is for the state you're in, not the problem you're on.

相关技能