# Ab Test Generator

Generate A/B test variants for affiliate content.

- Repository: https://github.com/Affitor/affiliate-skills (757 stars)
- Category: Design
- License: MIT
- Last updated: 2026-10-19
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add Affitor/affiliate-skills --skill ab-test-generator -g -a claude-code -y`
Codex: `npx skills add Affitor/affiliate-skills --skill ab-test-generator -g -a codex -y`
Cursor: `npx skills add Affitor/affiliate-skills --skill ab-test-generator -g -a cursor -y`
Gemini CLI: `npx skills add Affitor/affiliate-skills --skill ab-test-generator -g -a gemini-cli -y`
Claude Code plugin marketplace: `/plugin marketplace add Affitor/affiliate-skills`

## Description

Generate A/B test variants for affiliate content. Triggers on: "create A/B test", "test my headline", "optimize my CTA", "generate variants", "split test ideas", "improve click-through rate", "test my landing page copy", "headline alternatives", "CTA variations", "which version is better", "optimize conversions", "test my email subject line", "compare approaches".

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# A/B Test Generator

Generate A/B test variants for affiliate content, headlines, CTAs, landing page sections, email subject lines, and social post hooks. Each variant includes a hypothesis explaining why it might outperform the original. Output is a Markdown document with the original, variants, hypotheses, and a test plan.

## Stage

S6: Analytics, Small changes in headlines and CTAs can swing conversion rates by 20-50%. A/B testing is how professional affiliates systematically find what converts best. This skill removes the guesswork by generating theory-driven variants using proven copywriting frameworks.

## When to Use

- User wants to improve conversion rates on existing content
- User has a headline, CTA, or email subject line and wants alternatives
- User says "test my headline", "optimize my CTA", "A/B test ideas"
- User has a landing page section that isn't converting
- User wants to compare different messaging approaches
- Chaining from S2-S5: take any content output and generate test variants

## Input Schema

```yaml
original: string               # REQUIRED, the content to test (headline, CTA, paragraph,
                               # email subject line, or full social post)

content_type: string           # REQUIRED, "headline" | "cta" | "landing_section"
                               # | "email_subject" | "social_hook"

goal: string                   # OPTIONAL, "clicks" | "signups" | "purchases"
                               # Default: "clicks"

num_variants: number           # OPTIONAL, number of variants to generate (2-5)
                               # Default: 3

audience: string               # OPTIONAL, who sees this content
                               # (e.g., "SaaS founders", "content creators")

product: string                # OPTIONAL, product being promoted
```

The rest: https://github.com/Affitor/affiliate-skills/blob/HEAD/skills/analytics/ab-test-generator/SKILL.md
