skills/components/branding/hero/SKILL.md
When the user wants to design, optimize, or audit hero sections (above-the-fold main visual area). Also use when the user mentions "hero," "hero section," "hero area," "above the fold," "above the fold content," "landing hero," "main banner," "banner section," "first fold," "hero section design," "hero conversion," "split layout hero," "centered hero," or "hero alignment." For homepage, use homepage-generator.
npx skillsauth add kostja94/marketing-skills hero-generatorInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
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 |
testing
When the user wants to create, audit, or optimize sitemap.xml. Also use when the user mentions "sitemap," "sitemap.xml," "sitemap index," "lastmod," "changefreq," "priority," "URL discovery," "URL discovery for search engines," "single source of truth," "URL config," "unify sitemap IndexNow," or "reduce duplicate maintenance." For IndexNow, use indexnow.
development
When the user wants to configure, audit, or optimize robots.txt. Also use when the user mentions "robots.txt," "crawler rules," "block crawlers," "AI crawlers," "GPTBot," "allow/disallow," "disallow path," "crawl directives," "user-agent," "block Googlebot," "fix robots.txt," "robots.txt blocking," or "search engine crawling." For indexing, use indexing.
testing
When the user wants to create SEO pages at scale using templates and data—including AI-assisted, grounded copy for per-URL differentiation (vs rigid mail-merge templates). Also use when the user mentions "programmatic SEO," "programmatic SEO pages," "template pages," "scale content," "location pages," "city pages," "comparison pages at scale," "X vs Y pages," "integration pages," "pages from data," "automated landing pages," or "programmatic landing pages." Uses a playbook matrix aligned to skills under skills/pages. For user-facing template galleries or marketplaces (browse → use), use template-page-generator.
data-ai
When the user wants to add or optimize Twitter Card metadata for X (Twitter) link previews. Also use when the user mentions "Twitter Card," "twitter:card," "twitter:image," "twitter:title," "X preview," or "tweet preview." For Facebook/LinkedIn previews, use open-graph.