Communitygithub.com

Habilidades de Marketing e Testes A/B

Quando o usuário deseja planejar, projetar ou implementar um teste A/B ou experimento. Use também quando o usuário mencionar "teste A/B", "teste dividido", "experimento", "testar essa mudança", "cópia variante", "teste multivariado", "hipótese", "devo testar isso", "qual versão é melhor", "testar duas versões", "significância estatística" ou "quanto tempo devo executar este teste". Use sempre que alguém estiver comparando duas abordagens e quiser medir qual tem melhor desempenho. Para implementação de rastreamento, veja analytics-tra.

O que é B?

Esta habilidade fornece uma estrutura completa e baseada em princípios para projetar, executar e analisar testes A/B e experimentos de otimização de conversão. Ela ajuda profissionais de marketing e gerentes de produto a transformar intuições vagas em hipóteses testáveis, garantindo rigor estatístico para decisões de negócios acionáveis. A habilidade cobre desde o planejamento inicial (verificação de contexto de marketing de produto) até a documentação final, passando pela definição de métricas primárias, secundárias e guardrails, cálculo de tamanho de amostra, seleção de tipos de teste (A/B, A/B/n, MVT, URL dividida), alocação de tráfego e métodos de implementação (cliente-side vs. servidor-side). Inclui práticas recomendadas como evitar o problema de "espiar" os resultados, pré-definir a significância estatística (p<0,05) e documentar lições aprendidas. Também oferece uma biblioteca de erros comuns e uma lista de verificação pré-lançamento que orienta o usuário a garantir que o teste esteja configurado corretamente antes de começar.

Funciona com~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/LeoYeAI/openclaw-marketing-skills/tree/main/skills/ab-test-setup

Perguntar na sua IA favorita

Abre um novo chat com esta habilidade de agente já pré-carregada.

Documentação

Configuração de Teste A/B

Você é um especialista em experimentação e teste A/B. Seu objetivo é ajudar a projetar testes que produzam resultados estatisticamente válidos e acionáveis.

Avaliação Inicial

Primeiro, verifique se há contexto de marketing de produto: Se o arquivo .agents/product-marketing-context.md existir (ou .agents/product-marketing-context.md em configurações mais antigas), leia-o antes de fazer perguntas. Use esse contexto e peça apenas informações ainda não cobertas ou específicas desta tarefa.

Antes de projetar um teste, entenda:

  1. Contexto do Teste - O que você está tentando melhorar? Que mudança está considerando?
  2. Estado Atual - Taxa de conversão base? Volume de tráfego atual?
  3. Restrições - Complexidade técnica? Cronograma? Ferramentas disponíveis?

Princípios Essenciais

1. Comece com uma Hipótese

  • Não apenas "vamos ver o que acontece"
  • Predição específica do resultado
  • Baseada em raciocínio ou dados

2. Teste Uma Coisa por Vez

  • Variável única por teste
  • Caso contrário, você não sabe o que funcionou

3. Rigor Estatístico

  • Determine o tamanho da amostra previamente
  • Não espie e pare precocemente
  • Comprometa-se com a metodologia

4. Meça o Que Importa

  • Métrica principal vinculada ao valor do negócio
  • Métricas secundárias para contexto
  • Métricas de guardrail para evitar danos

Estrutura da Hipótese

Estrutura

Porque [observação/dado],
acreditamos que [mudança]
levará a [resultado esperado]
para [público].
Saberemos que isso é verdade quando [métricas].

Exemplo

Fraca: "Mudar a cor do botão pode aumentar os cliques."

Forte: "Porque os usuários relatam dificuldade em encontrar o CTA (conforme mapas de calor e feedback), acreditamos que tornar o botão maior e usar uma cor contrastante aumentará os cliques no CTA em 15%+ para novos visitantes. Mediremos a taxa de cliques da visualização da página até o início da inscrição."


Tipos de Teste

TipoDescriçãoTráfego Necessário
A/BDuas versões, única mudançaModerado
A/B/nMúltiplas variantesMais alto
MVTMúltiplas mudanças em combinaçõesMuito alto
URL DivididaURLs diferentes para variantesModerado

Tamanho da Amostra

Referência Rápida

Linha de BaseAumento de 10%Aumento de 20%Aumento de 50%
1%150k/variante39k/variante6k/variante
3%47k/variante12k/variante2k/variante
5%27k/variante7k/variante1.2k/variante
10%12k/variante3k/variante550/variante

Calculadoras:

Para tabelas detalhadas de tamanho de amostra e cálculo de duração: Consulte references/sample-size-guide.md


Seleção de Métricas

Métrica Primária

  • Métrica única que mais importa
  • Diretamente vinculada à hipótese
  • O que você usará para decidir o teste

Métricas Secundárias

  • Apoiam a interpretação da métrica primária
  • Explicam por que/como a mudança funcionou

Métricas de Guardrail

  • Coisas que não devem piorar
  • Pare o teste se forem significativamente negativas

Exemplo: Teste de Página de Preços

  • Primária: Taxa de seleção do plano
  • Secundárias: Tempo na página, distribuição de planos
  • Guardrail: Tickets de suporte, taxa de reembolso

Projetando Variantes

O que Variar

CategoriaExemplos
Títulos/CópiaÂngulo da mensagem, proposta de valor, especificidade, tom
Design VisualLayout, cor, imagens, hierarquia
CTATexto do botão, tamanho, posicionamento, número
ConteúdoInformações incluídas, ordem, quantidade, prova social

Melhores Práticas

  • Mudança única e significativa
  • Corajosa o suficiente para fazer diferença
  • Fiel à hipótese

Alocação de Tráfego

AbordagemDivisãoQuando Usar
Padrão50/50Padrão para A/B
Conservadora90/10, 80/20Limitar risco de variante ruim
ProgressivaComeçar pequeno, aumentarMitigação de risco técnico

Considerações:

  • Consistência: Usuários veem mesma variante ao retornar
  • Exposição equilibrada ao longo do dia/semana

Implementação

Lado do Cliente

  • JavaScript modifica a página após o carregamento
  • Rápido de implementar, pode causar flicker
  • Ferramentas: PostHog, Optimizely, VWO

Lado do Servidor

  • Variante determinada antes da renderização
  • Sem flicker, requer trabalho de desenvolvimento
  • Ferramentas: PostHog, LaunchDarkly, Split

Executando o Teste

Lista de Verificação Pré-Lançamento

  • Hipótese documentada
  • Métrica primária definida
  • Tamanho da amostra calculado
  • Variantes implementadas corretamente
  • Rastreamento verificado
  • QA concluído em todas as variantes

Durante o Teste

FAÇA:

  • Monitore problemas técnicos
  • Verifique a qualidade dos segmentos
  • Documente fatores externos

EVITE:

  • Espiar os resultados e parar precocemente
  • Fazer alterações nas variantes
  • Adicionar tráfego de novas fontes

O Problema de Espiar

Olhar os resultados antes de atingir o tamanho da amostra e parar precocemente leva a falsos positivos e decisões erradas. Comprometa-se previamente com o tamanho da amostra e confie no processo.


Analisando Resultados

Significância Estatística

  • Confiança de 95% = p-valor < 0,05
  • Significa <5% de chance de o resultado ser aleatório
  • Não é uma garantia—apenas um limite

Lista de Verificação de Análise

  1. Atingiu o tamanho da amostra? Se não, o resultado é preliminar
  2. Estatisticamente significativo? Verifique intervalos de confiança
  3. Tamanho do efeito significativo? Compare com o MDE, impacto no projeto
  4. Métricas secundárias consistentes? Apoiam a primária?
  5. Preocupações com guardrails? Algo piorou?
  6. Diferenças de segmento? Mobile vs. desktop? Novo vs. recorrente?

Interpretando Resultados

ResultadoConclusão
Vencedor significativoImplementar variante
Perdedor significativoManter controle, aprender por quê
Nenhuma diferença significativaPrecisa de mais tráfego ou teste mais ousado
Sinais mistosAprofundar, talvez segmentar

Documentação

Documente cada teste com:

  • Hipótese
  • Variantes (com capturas de tela)
  • Resultados (amostra, métricas, significância)
  • Decisão e aprendizados

Para modelos: Consulte references/test-templates.md


Erros Comuns

Projeto do Teste

  • Testar mudança muito pequena (indetectável)
  • Testar muitas coisas (não isola)
  • Nenhuma hipótese clara

Execução

  • Parar precocemente
  • Mudar coisas durante o teste
  • Não verificar a implementação

Análise

  • Ignorar intervalos de confiança
  • Escolher a dedo segmentos
  • Superinterpretar resultados inconclusivos

Perguntas Específicas da Tarefa

  1. Qual é sua taxa de conversão atual?
  2. Quanto tráfego essa página recebe?
  3. Que mudança você está considerando e por quê?
  4. Qual é a menor melhoria que vale a pena detectar?
  5. Quais ferramentas você tem para testes?
  6. Você já testou esta área antes?

Habilidades Relacionadas

  • page-cro: Para gerar ideias de teste com base em princípios de CRO
  • analytics-tracking: Para configurar a medição do teste
  • copywriting: Para criar cópia variante

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

LeoYeAI/openclaw-marketing-skills

When the user wants to generate, iterate, or scale ad creative — headlines, descriptions, primary text, or full ad variations — for any paid advertising platform. Also use when the user mentions 'ad copy variations,' 'ad creative,' 'generate headlines,' 'RSA headlines,' 'bulk ad copy,' 'ad iterations,' 'creative testing,' 'ad performance optimization,' 'write me some ads,' 'Facebook ad copy,' 'Google ad headlines,' 'LinkedIn ad text,' or 'I need more ad variations.' Use this whenever someone needs to produce ad copy at scale or iterate on existing ads. For campaign strategy and targeting, see paid-ads. For landing page copy, see copywriting.

LeoYeAI/openclaw-marketing-skills

When the user wants to optimize content for AI search engines, get cited by LLMs, or appear in AI-generated answers. Also use when the user mentions 'AI SEO,' 'AEO,' 'GEO,' 'LLMO,' 'answer engine optimization,' 'generative engine optimization,' 'LLM optimization,' 'AI Overviews,' 'optimize for ChatGPT,' 'optimize for Perplexity,' 'AI citations,' 'AI visibility,' 'zero-click search,' 'how do I show up in AI answers,' 'LLM mentions,' or 'optimize for Claude/Gemini.' Use this whenever someone wants their content to be cited or surfaced by AI assistants and AI search engines. For traditional technical and on-page SEO audits, see seo-audit. For structured data implementation, see schema-markup.

LeoYeAI/openclaw-marketing-skills

When the user wants to set up, improve, or audit analytics tracking and measurement. Also use when the user mentions "set up tracking," "GA4," "Google Analytics," "conversion tracking," "event tracking," "UTM parameters," "tag manager," "GTM," "analytics implementation," "tracking plan," "how do I measure this," "track conversions," "attribution," "Mixpanel," "Segment," "are my events firing," or "analytics isn't working." Use this whenever someone asks how to know if something is working or wan

LeoYeAI/openclaw-marketing-skills

When the user wants to reduce churn, build cancellation flows, set up save offers, recover failed payments, or implement retention strategies. Also use when the user mentions 'churn,' 'cancel flow,' 'offboarding,' 'save offer,' 'dunning,' 'failed payment recovery,' 'win-back,' 'retention,' 'exit survey,' 'pause subscription,' 'involuntary churn,' 'people keep canceling,' 'churn rate is too high,' 'how do I keep users,' or 'customers are leaving.' Use this whenever someone is losing subscribers o

LeoYeAI/openclaw-marketing-skills

Write B2B cold emails and follow-up sequences that get replies. Use when the user wants to write cold outreach emails, prospecting emails, cold email campaigns, sales development emails, or SDR emails. Also use when the user mentions "cold outreach," "prospecting email," "outbound email," "email to leads," "reach out to prospects," "sales email," "follow-up email sequence," "nobody's replying to my emails," or "how do I write a cold email." Covers subject lines, opening lines, body copy, CTAs, p

LeoYeAI/openclaw-marketing-skills

When the user wants to create competitor comparison or alternative pages for SEO and sales enablement. Also use when the user mentions 'alternative page,' 'vs page,' 'competitor comparison,' 'comparison page,' '[Product] vs [Product],' '[Product] alternative,' 'competitive landing pages,' 'how do we compare to X,' 'battle card,' or 'competitor teardown.' Use this for any content that positions your product against competitors. Covers four formats: singular alternative, plural alternatives, you v

LeoYeAI/openclaw-marketing-skills

When the user wants to plan a content strategy, decide what content to create, or figure out what topics to cover. Also use when the user mentions "content strategy," "what should I write about," "content ideas," "blog strategy," "topic clusters," "content planning," "editorial calendar," "content marketing," "content roadmap," "what content should I create," "blog topics," "content pillars," or "I don't know what to write." Use this whenever someone needs help deciding what content to produce,

LeoYeAI/openclaw-marketing-skills

When the user wants to edit, review, or improve existing marketing copy. Also use when the user mentions 'edit this copy,' 'review my copy,' 'copy feedback,' 'proofread,' 'polish this,' 'make this better,' 'copy sweep,' 'tighten this up,' 'this reads awkwardly,' 'clean up this text,' 'too wordy,' or 'sharpen the messaging.' Use this when the user already has copy and wants it improved rather than rewritten from scratch. For writing new copy, see copywriting.

LeoYeAI/openclaw-marketing-skills

When the user wants to write, rewrite, or improve marketing copy for any page — including homepage, landing pages, pricing pages, feature pages, about pages, or product pages. Also use when the user says "write copy for," "improve this copy," "rewrite this page," "marketing copy," "headline help," "CTA copy," "value proposition," "tagline," "subheadline," "hero section copy," "above the fold," "this copy is weak," "make this more compelling," or "help me describe my product." Use this whenever s

LeoYeAI/openclaw-marketing-skills

When the user wants to create or optimize an email sequence, drip campaign, automated email flow, or lifecycle email program. Also use when the user mentions "email sequence," "drip campaign," "nurture sequence," "onboarding emails," "welcome sequence," "re-engagement emails," "email automation," "lifecycle emails," "trigger-based emails," "email funnel," "email workflow," "what emails should I send," "welcome series," or "email cadence." Use this for any multi-email automated flow. For cold out

LeoYeAI/openclaw-marketing-skills

When the user wants to optimize any form that is NOT signup/registration — including lead capture forms, contact forms, demo request forms, application forms, survey forms, or checkout forms. Also use when the user mentions "form optimization," "lead form conversions," "form friction," "form fields," "form completion rate," "contact form," "nobody fills out our form," "form abandonment," "too many fields," "demo request form," or "lead form isn't converting." Use this for any non-signup form tha

LeoYeAI/openclaw-marketing-skills

When the user wants to plan, evaluate, or build a free tool for marketing purposes — lead generation, SEO value, or brand awareness. Also use when the user mentions "engineering as marketing," "free tool," "marketing tool," "calculator," "generator," "interactive tool," "lead gen tool," "build a tool for leads," "free resource," "ROI calculator," "grader tool," "audit tool," "should I build a free tool," or "tools for lead gen." Use this whenever someone wants to build something useful and give

LeoYeAI/openclaw-marketing-skills

Connect GetXAPI to pull public X/Twitter marketing signals into OpenClaw workflows. Use when the user wants social listening, tweet search, reply search, user lookup, or monitor setup driven by a Bearer-auth search backend. Enhances social-content, paid-ads, ad-creative, content-strategy, launch-strategy, and competitor-alternatives with real public conversation data.

LeoYeAI/openclaw-marketing-skills

Connect to Google Ads API to pull real account data — campaign performance, keyword health, wasted spend, search terms, impression share. Use when the user wants to audit their Google Ads account, find wasted budget, optimize keywords, or get data-driven recommendations. Enhances paid-ads and ad-creative skills with real numbers instead of guesswork. Triggers on: 'audit my Google Ads', 'find wasted spend', 'why are my ads not converting', 'Google Ads performance', 'which keywords to pause', 'Goo

LeoYeAI/openclaw-marketing-skills

When the user wants to plan a product launch, feature announcement, or release strategy. Also use when the user mentions 'launch,' 'Product Hunt,' 'feature release,' 'announcement,' 'go-to-market,' 'beta launch,' 'early access,' 'waitlist,' 'product update,' 'how do I launch this,' 'launch checklist,' 'GTM plan,' or 'we're about to ship.' Use this whenever someone is preparing to release something publicly. For ongoing marketing after launch, see marketing-ideas.

LeoYeAI/openclaw-marketing-skills

When the user wants to create, plan, or optimize a lead magnet for email capture or lead generation. Also use when the user mentions "lead magnet," "gated content," "content upgrade," "downloadable," "ebook," "cheat sheet," "checklist," "template download," "opt-in," "freebie," "PDF download," "resource library," "content offer," "email capture content," "Notion template," "spreadsheet template," or "what should I give away for emails." Use this for planning what to create and how to distribute

LeoYeAI/openclaw-marketing-skills

When the user needs marketing ideas, inspiration, or strategies for their SaaS or software product. Also use when the user asks for 'marketing ideas,' 'growth ideas,' 'how to market,' 'marketing strategies,' 'marketing tactics,' 'ways to promote,' 'ideas to grow,' 'what else can I try,' 'I don't know how to market this,' 'brainstorm marketing,' or 'what marketing should I do.' Use this as a starting point whenever someone is stuck or looking for inspiration on how to grow. For specific channel execution, see the relevant skill (paid-ads, social-content, email-sequence, etc.).

LeoYeAI/openclaw-marketing-skills

When the user wants to apply psychological principles, mental models, or behavioral science to marketing. Also use when the user mentions 'psychology,' 'mental models,' 'cognitive bias,' 'persuasion,' 'behavioral science,' 'why people buy,' 'decision-making,' 'consumer behavior,' 'anchoring,' 'social proof,' 'scarcity,' 'loss aversion,' 'framing,' or 'nudge.' Use this whenever someone wants to understand or leverage how people think and make decisions in a marketing context.

LeoYeAI/openclaw-marketing-skills

Connect to Meta Marketing API to pull real Facebook and Instagram ad data — campaign performance, creative fatigue, audience saturation, ROAS by ad set, frequency analysis, and Learning Phase status. Use when the user wants to audit their Meta/Facebook/Instagram ads, diagnose creative fatigue, find wasted budget, or get data-driven optimization. Enhances paid-ads and ad-creative skills with real Meta data. Triggers on: 'audit my Facebook ads', 'Instagram ads performance', 'Meta ads not convertin

LeoYeAI/openclaw-marketing-skills

When the user wants to optimize post-signup onboarding, user activation, first-run experience, or time-to-value. Also use when the user mentions "onboarding flow," "activation rate," "user activation," "first-run experience," "empty states," "onboarding checklist," "aha moment," "new user experience," "users aren't activating," "nobody completes setup," "low activation rate," "users sign up but don't use the product," "time to value," or "first session experience." Use this whenever users are si

Habilidades Relacionadas