cta-generator

$npx mdskill add kostja94/marketing-skills/cta-generator

Design, optimize, and audit high-converting call-to-action buttons.

  • Helps users create effective CTAs for landing pages and forms.
  • Reads project context files for conversion goals and brand guidelines.
  • Assesses context, user stage, and primary action to tailor recommendations.
  • Outputs actionable CTA design specs, copy, and placement guidance.

SKILL.md

.github/skills/cta-generatorView on GitHub ↗
---
name: cta-generator
description: When the user wants to design, optimize, or audit call-to-action (CTA) buttons. Also use when the user mentions "CTA," "call to action," "button design," "conversion button," "primary action," "CTA copy," "button text," "CTA placement," "conversion CTA," or "action button." For landing pages, use landing-page-generator.
metadata:
  version: 1.1.1
---

# Components: Call-to-Action (CTA)

Guides CTA button design for conversion. A well-designed CTA can increase conversion by 25–10%.

**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.

## Initial Assessment

**Check for project context first:** If `.claude/project-context.md` or `.cursor/project-context.md` exists, read it for conversion goals.

Identify:
1. **Context**: Hero, form, pricing, product page
2. **User stage**: Awareness, consideration, decision
3. **Primary action**: Sign up, buy, trial, download

## Design Principles

### Visual Clarity

- **Look like buttons**: Background, border, corner radius, shadow
- **Stand out**: Contrasting color; clear hierarchy
- **Size**: ≥48×48px for touch; minimum 48px wide

### Hierarchy

- **Primary CTA**: One per section; impossible to miss
- **Secondary CTA**: Lower priority; visually distinct
- **Avoid**: Multiple competing CTAs causing choice overload

### Color & Shape

- **Color**: High contrast; red/orange for urgency
- **Shape**: Rounded = friendly; angled = dynamic
- **Accessibility**: →.5:1 contrast for text

## Copy Best Practices

- **Action-oriented**: "Buy," "Sign up," "Subscribe," "Get started"
- **Loss aversion**: "Claim Your Discount Before It's Gone" vs "Get 10% Off"; see **discount-marketing-strategy** for discount campaign design
- **Clear, no ambiguity**: User knows exactly what happens
- **Scarcity/urgency**: When appropriate; avoid overuse

## Placement

- **Above the fold** for primary actions
- **After value proposition**; build value before CTA
- **Near trust signals** (testimonials, badges)
- **Sticky/fixed** for long pages (use sparingly)

## Technical

- **Semantic HTML**: `<button>` or `<a>` with `role="button"` when needed
- **Visible focus state** for keyboard users
- **Loading state** for async actions: disable button during async operations; show spinner or loading text; prevent double-submit
- **cursor-pointer**: Add `cursor-pointer` to all clickable CTAs; default cursor on interactive elements is poor UX
- **aria-label**: Use `aria-label` for icon-only buttons (e.g., close, search); screen readers need descriptive labels
- **Hover stability**: Use color/opacity transitions (150–300ms); avoid scale transforms that shift layout

## Testing

- A/B test: color, copy, placement, size
- Measure: click-through rate, conversion rate

## Output Format

- **CTA copy** suggestions
- **Design** notes (color, size, hierarchy)
- **Placement** recommendations
- **Accessibility** checklist (cursor-pointer, aria-label, focus, loading state)

## Related Skills

- **hero-generator**: Hero typically contains primary CTA
- **landing-page-generator**: CTA is step 5 of landing page flow; single-goal pages
- **testimonials-generator**: Testimonials near CTAs boost conversion
- **trust-badges-generator**: Badges near CTAs increase trust
- **pricing-page-generator**: CTA on pricing pages (e.g., "Start free trial")

More from kostja94/marketing-skills

SkillDescription
404-page-generatorWhen the user wants to create, optimize, or audit 404 error pages. Also use when the user mentions "404 page," "404 error," "error page," "page not found," "broken link page," "404 design," "custom 404," "404 redirect," "404 page UX," or "404 recovery." For sitewide page planning, use website-structure.
about-page-generatorWhen the user wants to create, optimize, or audit About page content. Also use when the user mentions "about page," "about us," "company story," "our team," "about section," "company overview," "brand story," "team page," or "who we are." For sitewide page planning, use website-structure.
affiliate-marketingWhen the user wants to plan, implement, or optimize affiliate marketing strategy. Also use when the user mentions "affiliate marketing," "affiliate program strategy," "CPS model," "affiliate recruitment," "commission structure," "affiliate partners," "affiliate network," "affiliate tracking," "affiliate commission," or "partner marketing." For affiliate page, use affiliate-page-generator.
affiliate-page-generatorWhen the user wants to create, optimize, or audit affiliate program page content. Also use when the user mentions "affiliate program," "affiliate page," "partner program," "referral program page," "affiliate landing," "partner landing," "commission page," or "affiliate signup." For affiliate program strategy, use affiliate-marketing.
ai-traffic-trackingWhen the user wants to track AI search traffic in GA4 or GSC. Also use when the user mentions "AI traffic," "ChatGPT referral," "Perplexity traffic," "AI Overviews," "GA4 AI sources," "AI search analytics," "track AI referrals," "AI search traffic," "Claude traffic," or "how to track AI traffic." For AI SEO strategy, use generative-engine-optimization.
alternatives-page-generatorWhen the user wants to create, optimize, or audit alternatives or comparison content (page or blog article). Also use when the user mentions "alternatives page," "alternatives listicle," "X alternatives," "competitor comparison," "vs page," "compare page," "best alternatives to X," "switch from X," "competitor brand traffic," "brand keyword ads," or "intercept competitor search." For competitor research, use competitor-research.
api-page-generatorWhen the user wants to create, optimize, or audit the API introduction/overview page. Also use when the user mentions "API page," "API landing page," "/api page," "API overview," "developer landing," "API marketing," or "API for developers." Note: API documentation (endpoint reference) lives in docs; use docs-page-generator.
app-adsWhen the user wants to run app install ads, user acquisition (UA), or promote mobile apps. Also use when the user mentions "app ads," "app install ads," "UA," "user acquisition," "Google App Campaigns," "Apple Search Ads," "ASA," "UAC," "App Store ads," "Play Store ads," "CPI," or "app promotion." For store listings, use distribution-channels.
article-contentWhen the user wants to write, generate, or create article body content—blog post body, long-form content, how-to guide, listicle. Also use when the user mentions "write article," "article content," "blog post content," "article body," "long-form content creation," "generate article," "article draft," "how-to guide content," "listicle content," "information gain," or "content density." For single post page structure, schema, and SEO metadata, use article-page-generator. For blog index/listing page, use blog-page-generator. For short ad, landing, or email copy, use copywriting.
backlink-analysisWhen the user wants to analyze backlinks, audit link profile, or identify link issues. Also use when the user mentions "backlink analysis," "backlink audit," "referring domains," "toxic links," "link profile," or "disavow file." For acquisition, use link-building.