AGENT SKILL

cta-generator

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" or "conversion button". For landing pages, use landing-page-generator.

使用场景视觉设计
License 许可
MIT
最近更新
2026-11-13
Stars
★ 12
Forks
0

01 前言 Front Matter

name
cta-generator
metadata
{ "version": "1.1.1" }
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" or "conversion button". For landing pages, use landing-page-generator.

03 SKILL.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")

04 同仓库更多 Skills

ariadoss
ariadoss/superskills

youtube

Download YouTube video transcripts when user provides a YouTube URL or asks to download/get/fetch a transcript from YouTube. Also use when user wants to transcribe or get captions/subtitles from a YouTube video.

图像与多媒体
★ 12
ariadoss
ariadoss/superskills

write-plan

Use when you have a spec or requirements for a multi-step task, before touching code. Produces an engineering plan complete with TDD tasks, DRY/SOLID/YAGNI principles, a required Test Plan & Verification section, and a coverage target — then auto-runs /plan-eng-review as an independent double-check before execution.

★ 12
ariadoss
ariadoss/superskills

worktrees

Use when starting feature work that needs isolation from current workspace or before executing implementation plans - creates isolated git worktrees with smart directory selection and safety verification

★ 12
ariadoss
ariadoss/superskills

web-perf

Analyzes web performance using Chrome DevTools MCP. Measures Core Web Vitals (LCP, INP, CLS) and supplementary metrics (FCP, TBT, Speed Index), identifies render-blocking resources, network dependency chains, layout shifts, caching issues, and accessibility gaps. Use when asked to audit, profile, debug, or optimize page load performance, Lighthouse scores, or site speed. Biases towards retrieval from current documentation over pre-trained knowledge.

Skill与智能体开发
★ 12
ariadoss
ariadoss/superskills

verify

Use when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always

★ 12
ariadoss
ariadoss/superskills

validate-idea

Validate a business idea using the minimalist entrepreneur framework. Use when someone has a business idea and wants to test if it's worth pursuing before building anything.

★ 12