cta-generator
The cta-generator skill guides the design and optimization of call-to-action buttons for digital interfaces, covering visual hierarchy, color theory, actionable copy, strategic placement, and accessibility standards. Use it when users need to create, audit, or improve CTAs on websites, landing pages, forms, or product pages, or when they reference terms like "button design," "conversion optimization," "CTA copy," or "primary action."
git clone --depth 1 https://github.com/kostja94/marketing-skills /tmp/cta-generator && cp -r /tmp/cta-generator/skills/components/conversion/cta ~/.claude/skills/cta-generatorSKILL.md
# 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")
When 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.
When 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.
When 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.
When 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.
When 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.
When the user wants to set up, audit, or optimize analytics tracking (GA4, events, conversions). Also use when the user mentions "Google Analytics," "GA4," "event tracking," "conversions," "attribution model," "gtag," "data layer," "GA4 setup," "conversion tracking," "event setup," "User ID tracking," or "CTA attribution." For traffic insights, use traffic-analysis.
When 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.
When 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.