Agent Skillskostja94/marketing-skills › cta-generator

cta-generator

GitHub

指导转化导向的CTA按钮设计与优化,涵盖视觉层级、文案技巧、布局策略及无障碍规范。

skills/components/conversion/cta/SKILL.md kostja94/marketing-skills

Trigger Scenarios

用户希望设计或优化CTA按钮 提及CTA、调用行动、按钮设计、转化按钮等关键词

Install

npx skills add kostja94/marketing-skills --skill cta-generator -g -y
More Options

Non-standard path

npx skills add https://github.com/kostja94/marketing-skills/tree/main/skills/components/conversion/cta -g -y

Use without installing

npx skills use kostja94/marketing-skills@cta-generator

指定 Agent (Claude Code)

npx skills add kostja94/marketing-skills --skill cta-generator -a claude-code -g -y

安装 repo 全部 skill

npx skills add kostja94/marketing-skills --all -g -y

预览 repo 内 skill

npx skills add kostja94/marketing-skills --list

SKILL.md

Frontmatter
{
    "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,\" \"conversion button,\" \"primary action,\" \"CTA copy,\" \"button text,\" \"CTA placement,\" \"conversion CTA,\" or \"action button.\" For landing pages, use landing-page-generator."
}

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")

Version History

  • 70987ba Current 2026-07-06 00:04

Same Skill Collection

skills/analytics/seo/seo-monitoring/SKILL.md
skills/analytics/sources/ai-traffic/SKILL.md
skills/analytics/sources/traffic/SKILL.md
skills/analytics/tracking/SKILL.md
skills/channels/community/community-forum/SKILL.md
skills/channels/community/product-hunt-launch/SKILL.md
skills/channels/distribution/distribution-channels/SKILL.md
skills/channels/owned/email-marketing/SKILL.md
skills/channels/owned/employee-generated-content/SKILL.md
skills/channels/partnerships/affiliate-marketing/SKILL.md
skills/channels/partnerships/creator-program/SKILL.md
skills/channels/partnerships/education-program/SKILL.md
skills/channels/partnerships/influencer-marketing/SKILL.md
skills/channels/partnerships/public-relations/SKILL.md
skills/channels/partnerships/referral-program/SKILL.md
skills/components/branding/favicon/SKILL.md
skills/components/branding/hero/SKILL.md
skills/components/branding/logo/SKILL.md
skills/components/content/tab-accordion/SKILL.md
skills/components/conversion/newsletter-signup/SKILL.md
skills/components/conversion/popup/SKILL.md
skills/components/conversion/testimonials/SKILL.md
skills/components/conversion/trust-badges/SKILL.md
skills/components/layout/card/SKILL.md
skills/components/layout/carousel/SKILL.md
skills/components/layout/grid/SKILL.md
skills/components/layout/list/SKILL.md
skills/components/layout/masonry/SKILL.md
skills/components/navigation/breadcrumb/SKILL.md
skills/components/navigation/footer/SKILL.md
skills/components/navigation/navigation-menu/SKILL.md
skills/components/navigation/sidebar/SKILL.md
skills/components/navigation/toc/SKILL.md
skills/components/utility/social-share/SKILL.md
skills/components/utility/top-banner/SKILL.md
skills/components/utility/url-slug/SKILL.md
skills/content/copywriting/SKILL.md
skills/content/podcast/SKILL.md
skills/content/translation/SKILL.md
skills/content/video/SKILL.md
skills/content/visual-content/SKILL.md
skills/pages/brand/about/SKILL.md
skills/pages/brand/contact/SKILL.md
skills/pages/brand/home/SKILL.md
skills/pages/content/api/SKILL.md
skills/pages/content/article/SKILL.md
skills/pages/content/blog/SKILL.md
skills/pages/content/docs/SKILL.md
skills/pages/content/faq/SKILL.md

Metadata

Files
0
Version
70987ba
Hash
5e672152
Indexed
2026-07-06 00:04

trang chủ - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-05 02:14
浙ICP备14020137号-1 $bản đồ khách truy cập$