Token导航 LogoToken导航TokenDH.com
研究检索只读github未标认证来源可访问许可证需确认审计通过

ab-test-planab 测试计划

Agent Skill

用于辅助测试设计、自动化测试、用例整理和回归验证。它适合让 Agent 编写单元测试、端到端测试、测试计划或根据失败日志定位问题。使用时需要确认项目测试框架、运行命令和夹具数据,避免为了通过测试而改坏真实逻辑;涉及浏览器或外部服务时,应区分本地模拟、测试环境和生产环境。

总安装

618

周安装

26

GitHub Stars

66

下载量

216
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:ab-test-plan(ab 测试计划)
来源仓库:https://github.com/indranilbanerjee/digital-marketing-pro
仓库路径:skills/ab-test-plan
安装命令:
npx skills add https://github.com/indranilbanerjee/digital-marketing-pro --skill ab-test-plan
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/indranilbanerjee/digital-marketing-pro --skill ab-test-plan

简介

提供结构化 A/B 测试规划框架,包含假设、统计样本量计算与监测方案。

  • 适用于页面元素、CTA 按钮、定价页等具体组件的效果对比测试。
  • 输出完整实验规范,确保统计严谨性与明确的决策标准。
  • 需输入当前转化率、最小可检测效应(MDE)及日均流量数据。
  • 支持邮件主题行、结账流程等多种场景的测试计划生成。

SKILL.md

/dm:ab-test-plan

Purpose

Dedicated A/B test planning with a structured hypothesis framework, statistical sample size calculation, variant design, and monitoring plan. Produces a complete experiment specification with statistical rigor and clear decision criteria.

Input Required

The user must provide (or will be prompted for):

  • Element to test: The specific page, component, or experience being tested (landing page headline, CTA button, pricing page layout, email subject line, checkout flow, form design, etc.)
  • Current conversion rate: Baseline conversion rate for the metric being tested (or best estimate)
  • Desired minimum detectable effect (MDE): The smallest improvement worth detecting (e.g., 10% relative lift)
  • Daily traffic or impressions: Average daily visitors or impressions to the test page or element
  • Significance level: Desired confidence level, default 95% (alpha = 0.05)
  • Statistical power: Desired power, default 80% (beta = 0.20)
  • Number of variants: How many variants to test (default 1 treatment + 1 control; more for multivariate)
  • Business context: What prompted the test idea (analytics data, user feedback, competitive analysis, heuristic audit, stakeholder request)

Process

  1. Load brand context: Read ~/.claude-marketing/brands/_active-brand.json for the active slug, then load ~/.claude-marketing/brands/{slug}/profile.json. Apply voice, compliance, industry context. Check guidelines/_manifest.json for restrictions, messaging, channel styles, voice-and-tone rules, and templates. If a template matching this command exists in ~/.claude-marketing/brands/{slug}/templates/, apply its format. If no brand exists, prompt for /dm:brand-setup or proceed with defaults.
  2. Check campaign history: Run python campaign-tracker.py --brand {slug} --action list-campaigns to review past test results and avoid re-testing already-validated hypotheses.
  3. Run sample size calculator: Execute scripts/sample-size-calculator.py with baseline conversion rate, minimum detectable effect, significance level, and power to determine required sample size per variant.
  4. Build hypothesis statement: Structure the hypothesis in the format: "If [specific change], then [primary metric] will [direction and magnitude] because [rationale grounded in data, user research, or established UX principle]."
  5. Design test variants: Define the control (current experience) and one or more treatment variants. Specify exactly what changes in each variant -- copy, layout, color, imagery, flow, or functionality. For multivariate tests, define the variable matrix and interaction effects to watch.
  6. Define primary and secondary metrics: Identify the primary success metric (the one that determines the winner) and secondary metrics to monitor for unintended effects (e.g., testing CTA click rate as primary, but watching bounce rate, time on page, and downstream conversion as secondary guardrails).
  7. Calculate test duration: Based on sample size requirements and daily traffic, estimate the number of days needed. Ensure the duration spans at least one full business cycle (7 days minimum) to account for day-of-week variation. Flag if duration exceeds 8 weeks (validity risk).
  8. Create monitoring plan: Define interim checkpoints for technical QA (not statistical peeking), sample ratio mismatch (SRM) detection, and guardrail metric alerts that would trigger early test stoppage for data quality or user experience reasons.
  9. Define stopping rules and decision criteria: Specify when to call the test (sample size reached + significance threshold met), when to stop early (guardrail violations, SRM detected, implementation bugs), and the protocol for inconclusive results (extend, redesign, or implement based on directional signal).
  10. Assess traffic feasibility: Verify that the daily traffic can reach the required sample size within a reasonable timeframe (under 8 weeks). If traffic is insufficient, recommend reducing the number of variants, increasing the MDE, or using qualitative methods instead.
  11. Document pre-registration: Record the test plan before launch -- hypothesis, metrics, sample size, duration, and decision criteria -- to prevent post-hoc rationalization and ensure scientific rigor.

Output

A structured A/B test plan containing:

  • Hypothesis statement in If/Then/Because format with supporting evidence or rationale
  • Control and variant descriptions with specific, implementable change details
  • Required sample size per variant and total sample size
  • Estimated test duration in days based on traffic volume and required sample size
  • Primary metric and secondary metric definitions with measurement methods
  • Guardrail metrics that trigger early stoppage if degraded
  • Monitoring dashboard specification with interim checkpoint schedule
  • Statistical analysis plan (frequentist or Bayesian, one-tailed or two-tailed, correction for multiple comparisons)
  • Stopping rules for early termination (guardrail violations, SRM detection, critical bugs)
  • Go/no-go decision criteria with clear thresholds for winner declaration
  • Post-test action plan for winning, losing, and inconclusive scenarios
  • Traffic feasibility assessment with low-traffic alternative recommendations if applicable
  • Test documentation template for recording results and learnings in the campaign tracker

Agents Used

  • cro-specialist -- Hypothesis design, variant specification, sample size calculation, statistical analysis planning, monitoring framework, stopping rules, traffic feasibility assessment, and experiment documentation

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

33.43%
按下载量换算72

Claude

29.84%
按下载量换算64

Cursor

18.35%
按下载量换算40

Gemini CLI

8.51%
按下载量换算18

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills