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:
- Context: Hero, form, pricing, product page
- User stage: Awareness, consideration, decision
- 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")
1---
2name: cta-generator
3description: 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.
4metadata:
5 version: 1.1.1
6---
7
8# Components: Call-to-Action (CTA)
9
10Guides CTA button design for conversion. A well-designed CTA can increase conversion by 25–10%.
11
12**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.
13
14## Initial Assessment
15
16**Check for project context first:** If `.claude/project-context.md` or `.cursor/project-context.md` exists, read it for conversion goals.
17
18Identify:
191. **Context**: Hero, form, pricing, product page
202. **User stage**: Awareness, consideration, decision
213. **Primary action**: Sign up, buy, trial, download
22
23## Design Principles
24
25### Visual Clarity
26
27- **Look like buttons**: Background, border, corner radius, shadow
28- **Stand out**: Contrasting color; clear hierarchy
29- **Size**: ≥48×48px for touch; minimum 48px wide
30
31### Hierarchy
32
33- **Primary CTA**: One per section; impossible to miss
34- **Secondary CTA**: Lower priority; visually distinct
35- **Avoid**: Multiple competing CTAs causing choice overload
36
37### Color & Shape
38
39- **Color**: High contrast; red/orange for urgency
40- **Shape**: Rounded = friendly; angled = dynamic
41- **Accessibility**: →.5:1 contrast for text
42
43## Copy Best Practices
44
45- **Action-oriented**: "Buy," "Sign up," "Subscribe," "Get started"
46- **Loss aversion**: "Claim Your Discount Before It's Gone" vs "Get 10% Off"; see **discount-marketing-strategy** for discount campaign design
47- **Clear, no ambiguity**: User knows exactly what happens
48- **Scarcity/urgency**: When appropriate; avoid overuse
49
50## Placement
51
52- **Above the fold** for primary actions
53- **After value proposition**; build value before CTA
54- **Near trust signals** (testimonials, badges)
55- **Sticky/fixed** for long pages (use sparingly)
56
57## Technical
58
59- **Semantic HTML**: `<button>` or `<a>` with `role="button"` when needed
60- **Visible focus state** for keyboard users
61- **Loading state** for async actions: disable button during async operations; show spinner or loading text; prevent double-submit
62- **cursor-pointer**: Add `cursor-pointer` to all clickable CTAs; default cursor on interactive elements is poor UX
63- **aria-label**: Use `aria-label` for icon-only buttons (e.g., close, search); screen readers need descriptive labels
64- **Hover stability**: Use color/opacity transitions (150–300ms); avoid scale transforms that shift layout
65
66## Testing
67
68- A/B test: color, copy, placement, size
69- Measure: click-through rate, conversion rate
70
71## Output Format
72
73- **CTA copy** suggestions
74- **Design** notes (color, size, hierarchy)
75- **Placement** recommendations
76- **Accessibility** checklist (cursor-pointer, aria-label, focus, loading state)
77
78## Related Skills
79
80- **hero-generator**: Hero typically contains primary CTA
81- **landing-page-generator**: CTA is step 5 of landing page flow; single-goal pages
82- **testimonials-generator**: Testimonials near CTAs boost conversion
83- **trust-badges-generator**: Badges near CTAs increase trust
84- **pricing-page-generator**: CTA on pricing pages (e.g., "Start free trial")