hero-generator by kostja94/marketing-skills
npx skills add https://github.com/kostja94/marketing-skills --skill hero-generator指导用于转化和第一印象的英雄区域设计。英雄区域是用户花费约80%初始浏览时间的地方;第一印象在毫秒间形成。
调用时机:首次使用时,如有帮助,以1-2句话说明此技能涵盖的内容及其重要性作为开场,然后提供主要输出。后续使用或用户要求跳过时,直接进入主要输出。
首先检查项目上下文:如果存在 .claude/project-context.md 或 .cursor/project-context.md,请阅读以了解价值主张、受众和第十二部分(视觉识别)。
识别:
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
英雄区域是一种聚光灯布局——单一焦点,主要元素周围环绕次要元素。根据内容平衡和转化目标选择布局。
| 布局 | 结构 | 最适合 |
|---|---|---|
| 分割 (50/50) | 文字在左,视觉元素在右(或反之);权重相等 | 产品、SaaS;清晰价值 + 演示 |
| 分割 (75/25) | 文字占主导;较小的图片列 | 文案密集;信任优先 |
| 分割 (25/75 "路标式") | 小图片位于主要内容旁 | 视觉元素最少;强调标题 |
| 居中 | 文字 + 行动号召居中;视觉元素全宽或堆叠 | 品牌、落地页;单一行动号召 |
| 全宽图片 | 图片背景;叠加文字 | 情感化;生活方式、品牌 |
响应式:分割布局在移动端垂直堆叠(文字在上,图片在下);居中布局保持居中。移动优先;确保在小屏幕上行动号召位于首屏。
| 轴线 | 选项 | 用途 |
|---|---|---|
| 水平 | 左对齐、居中、右对齐 | 左对齐适用于文字密集;居中适用于简约 |
| 垂直 | 顶部对齐、居中、底部对齐 | 居中适用于全视口英雄区域;顶部对齐适用于短英雄区域 |
英雄区域必须在3秒内回答三个问题:这是什么? 我为什么要在乎? 我接下来该做什么? 约80%的用户永远不会滚动超过英雄区域;要产生即时影响。
<h1>;包含主要关键词| 要求 | 实践 |
|---|---|
| 对比度 | 图片上的文字:>=4.5:1;必要时使用叠加层 |
| 触摸目标 | 行动号召 >=44x44像素 |
| 键盘 | 行动号召可通过键盘访问;可见的焦点指示器 |
| 屏幕阅读器 | 正确的标题顺序;图片替代文本;纯图标按钮使用 aria-label |
| 减少动效 | 对于动画,尊重 prefers-reduced-motion |
| 交互 | 行动号召具有 cursor-pointer;悬停使用颜色/不透明度(而非缩放)以避免布局偏移 |
每周安装量
202
仓库
GitHub 星标
237
首次出现
2026年3月1日
安全审计
安装于
kimi-cli187
cursor187
gemini-cli186
codex186
github-copilot186
amp186
Guides hero section design for conversion and first impressions. The hero is where users spend ~80% of initial viewing time; first impressions form in milliseconds.
When invoking : On first use , if helpful, open with 1-2 sentences on what this skill covers and why it matters, then provide the main output. On subsequent use or when the user asks to skip, go directly to the main output.
Check for project context first: If .claude/project-context.md or .cursor/project-context.md exists, read it for value proposition, audience, and Section 12 (Visual Identity).
Identify:
Hero is a Spotlight layout —single focus, primary element with secondary around it. Choose layout by content balance and conversion goal.
| Layout | Structure | Best for |
|---|---|---|
| Split (50/50) | Text left, visual right (or vice versa); equal weight | Product, SaaS; clear value + demo |
| Split (75/25) | Text dominant; smaller image column | Copy-heavy; trust-first |
| Split (25/75 "Signpost") | Small image beside primary content | Minimal visual; emphasis on headline |
| Centered | Text + CTA centered; visual full-width or stacked | Brand, landing; single CTA |
| Full-width image | Image background; overlay text | Emotional; lifestyle, brand |
Responsive : Split layouts stack vertically on mobile (text above image); centered maintains center. Mobile-first; ensure CTA above fold on small screens.
| Axis | Options | Use |
|---|---|---|
| Horizontal | Left, center, right | Left align for text-heavy; center for minimal |
| Vertical | Top, center, bottom | Center for full-viewport hero; top for short hero |
The hero must answer three questions within 3 seconds: What is this? Why should I care? What should I do next? ~80% of users never scroll beyond the hero; make an immediate impact.
<h1>; include primary keyword| Requirement | Practice |
|---|---|
| Contrast | Text over images: >=4.5:1; use overlay if needed |
| Touch targets | CTA >=44x44px |
| Keyboard | CTA keyboard-accessible; visible focus indicator |
| Screen readers | Proper heading order; image alt text; aria-label for icon-only buttons |
| Reduced motion | Respect prefers-reduced-motion for animations |
| Interaction | CTA has cursor-pointer; hover uses color/opacity (not scale) to avoid layout shift |
Weekly Installs
202
Repository
GitHub Stars
237
First Seen
Mar 1, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
kimi-cli187
cursor187
gemini-cli186
codex186
github-copilot186
amp186
营销心理学与心智模型应用指南 | 提升营销决策与客户行为理解
44,200 周安装
GraphQL模式设计指南:最佳实践、语法规则与API设计原则
1,200 周安装
crypto-report:加密货币AI分析报告与区块链新闻更新工具 | 币安BTC/ETH/SOL分析
1,200 周安装
开发者成长分析技能:基于Claude聊天历史识别编码模式与改进领域
1,200 周安装
Claude连接1000+应用插件 - 实现邮件发送、GitHub问题创建、Slack消息发布等自动化操作
1,200 周安装
Connect技能:让Claude AI连接1000+应用执行真实操作,告别纯文本生成
1,200 周安装
Ant Design 最佳实践指南:React 组件库使用决策、主题配置与性能优化
1,200 周安装