← 返回 Skills 市场
kostja94

cta-generator

作者 Kostja Zhang · GitHub ↗ · v1.1.1 · MIT-0
cross-platform ✓ 安全检测通过
213
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install 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," "co...
使用说明 (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: \x3Cbutton> or \x3Ca> 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")
安全使用建议
This skill appears coherent and low-risk: it is instruction-only, asks no credentials, and will only read optional project-context files to better tailor CTAs. Before installing or running it, review any .claude/project-context.md or .cursor/project-context.md files in your workspace to ensure they don't contain secrets you wouldn't want to be read. Also verify the accessibility recommendations (there is a likely typo in the contrast guidance) and test any scarcity/urgency copy for ethical and legal appropriateness. Finally, remember the agent may invoke skills autonomously by default — although this skill's lack of credentials limits potential harm.
功能分析
Type: OpenClaw Skill Name: cta-generator Version: 1.1.1 The skill bundle provides standard UI/UX guidance and instructions for generating Call-to-Action (CTA) buttons. It includes design principles, accessibility best practices (e.g., aria-labels, focus states), and technical recommendations for web development without any signs of malicious intent, data exfiltration, or harmful prompt injection.
能力评估
Purpose & Capability
Name/description align with the instructions: the SKILL.md contains guidelines, copy suggestions, placement, accessibility checks and testing advice which are exactly what a CTA generator should provide. No unrelated binaries, env vars, or installs are requested.
Instruction Scope
Instructions ask the agent to read optional project context files (.claude/project-context.md or .cursor/project-context.md) to tailor recommendations — this is reasonable for contextualizing CTAs but means the skill will access workspace files if present. Also there are a few content inaccuracies/typos (e.g., 'Accessibility: →.5:1 contrast' looks incorrect) that users should verify against accessibility standards.
Install Mechanism
No install spec and no code files — instruction-only skills pose minimal install risk because nothing is downloaded or written to disk by the skill itself.
Credentials
No environment variables, credentials, or config paths are requested. The skill does not ask for unrelated secrets or external service tokens.
Persistence & Privilege
always:false and default invocation settings are used. The skill does not request permanent/always-on presence or to modify other skills or system-wide settings.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install cta-generator
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /cta-generator 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.1.1
Batch: tab-accordion through popup-generator
v1.1.0
Automated batch sync
元数据
Slug cta-generator
版本 1.1.1
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 2
常见问题

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," "co... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 213 次。

如何安装 cta-generator?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install cta-generator」即可一键安装,无需额外配置。

cta-generator 是免费的吗?

是的,cta-generator 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

cta-generator 支持哪些平台?

cta-generator 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 cta-generator?

由 Kostja Zhang(@kostja94)开发并维护,当前版本 v1.1.1。

💬 留言讨论