Preface¶
Product or growth team members often encounter situations like this: they change a landing page or pricing copy, see conversion numbers go up a bit after two or three days, and immediately want to roll out globally. After post-mortem reviews, they realize there were traffic fluctuations, uneven segmentation, or premature stopping, mistaking coincidence for causality. Checking sample size formulas themselves, distinguishing primary and guardrail metrics, and cross-referencing tracking and implementation, conversational AI often only provides generic advice.
The A/B Test Setup introduced below is an enterprise Skill on SkillHub for data analysis scenarios. It writes hypotheses, metrics, sample size, traffic splitting, and analysis processes into SKILL.md, allowing Agents to collaborate using a unified experimental design methodology rather than piecing things together from scratch every time.
What is this¶
A/B Test Setup (Coordinates @org-02qudk26/ab-test-setup, Version 1.0.0) is released by Zhiyu Technology, classified as data-analysis on SkillHub, and marked as enterprise source. The official description is: Plan and design statistically valid A/B tests.
The Skill declares requires_api_key=false in its metadata and can be enabled without an extra API Key after installation. The SkillHub page shows a rating of 100000 with 717 downloads (statistics update with SkillHub).
The trigger scenarios are clearly written in SKILL.md: when a user wants to plan, design, or implement an A/B test, or mentions expressions like “A/B test”, “split test”, “experiment”, “variant copy”, “multivariate testing”, “hypothesis”, the Agent should load this Skill. If discussing tracking and metric implementation, the documentation suggests referring to related Skills like analytics-tracking.
Core Capabilities¶
Capabilities are concentrated in a structured SKILL.md. The Agent is set up as an “Experiment Design and A/B Testing Expert” with the goal of making tests statistically valid and actionable. The verified main modules are as follows.
Pre-Design Context Collection¶
Upon activation, it first evaluates the product marketing context: if .claude/product-marketing-context.md exists, it will read it before asking questions. It also clarifies around test background, current baselines (conversion rate and traffic), and technical and time constraints.
Methodology Principles¶
The document emphasizes four principles: drive with hypotheses rather than “just trying”; test only one variable at a time; pre-determine sample size to avoid peeking at results and stopping early; and have a clear division of labor between primary, secondary, and guardrail metrics.
Hypotheses and Test Types¶
It provides English hypothesis sentence templates (Because / we believe / will cause / for / We’ll know…), and distinguishes between weak and strong hypothesis formulations. The test types table covers A/B, A/B/n, MVT, split URL, and their respective traffic requirements.
Sample Size and Metrics¶
It includes a quick reference table for sample size per variant estimated based on baseline conversion rate and MDE (10%, 20%, 50%), and points to external calculators like Evan Miller and Optimizely. SKILL.md also links to references/sample-size-guide.md as a more detailed guide (whether the actual installation package contains this file depends on the local installation directory, see “Notes” below).
The metrics section defines primary, secondary, and guardrail metrics, and explains how the three work together using a pricing page test as an example.
Variants, Traffic Splitting, and Implementation¶
It lists changeable dimensions (copy, visuals, CTA, content, etc.), traffic strategies like 50/50, conservative splitting, and progressive rollout, and reminds of variant consistency and balanced exposure. Implementation-wise, it distinguishes between client-side (e.g., PostHog, Optimizely, VWO) and server-side (e.g., PostHog, LaunchDarkly, Split) paths.
Execution, Analysis, and Documentation¶
It includes a pre-launch checklist, “should / should not” items during testing, an explanation of peeking issues, and a result interpretation table under 95% confidence (p < 0.05). Documentation templates point to references/test-templates.md and list common design, execution, and analysis errors.
The official README.md uses three illustrative scenarios to summarize capability boundaries (short form registration, free shipping threshold, ending experiment early, etc.) to explain how the Skill constrains primary metrics, guardrails, and stop rules, rather than real user feedback data.
Installation and Enabling¶
The installation process follows SkillHub official documentation. First, confirm the local skillhub CLI is present:
command -v skillhub && skillhub --version
If not installed, you can install via the official installation script (full installation or CLI only):
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash
When installing a Skill, you must use --dir to point to the current Agent’s skills directory, otherwise it defaults to ./skills/ which might not be recognized. In Cursor, the skills directory is generally:
~/.cursor/skills/
Example command to install this Skill:
skillhub install @org-02qudk26/ab-test-setup --dir ~/.cursor/skills/
After successful installation, the directory is usually ~/.cursor/skills/@org-02qudk26/ab-test-setup/, which contains SKILL.md, README.md, and _meta.json. After installation, restart or refresh the skill list as required by the Agent you are using.
For other environments, refer to paths in SkillHub documentation: Claude Code is ~/.claude/skills/, Codex is ~/.codex/skills/ or .agents/skills/ under the project, etc. The command format is the same, only --dir differs.
The SkillHub skills page also indicates: for general installation instructions, see https://skillhub.cn/install/skillhub.md .
Typical Usage¶
No separate configuration file is needed; the Agent works according to the flow in SKILL.md after reading it. You can directly throw out experimental requirements in the conversation, trying to include baselines and constraints, and the Skill will guide you to complete hypotheses and metrics.
Example 1: Drafting an Experiment from a Hypothesis
我们要改注册页 CTA 文案,基线从浏览到点击注册约 8%,日 UV 约 2 万。
请按 A/B 测试搭建 Skill 写清假设、主/护栏指标,并估算要达到 15% 相对提升需要的样本量。
Example 2: Reviewing an Existing Plan
我们准备 50/50 分流测新定价页,只跑 3 天,主指标是点击率。
请按 Skill 里的检查清单指出统计与执行上的风险,并说明应如何改周期或指标。
Example 3: Combining Product Context
If .claude/product-marketing-context.md exists in the project root, the Skill will prioritize using the product and audience information within it to reduce repetitive questioning before moving into sample size and traffic splitting design.
For external calculators, the links provided in the Skill documentation can be used directly to verify sample size, such as the Evan Miller Sample Size Tool (https://www.evanmiller.org/ab-testing/sample-size.html) and the Optimizely Calculator (https://www.optimizely.com/sample-size-calculator/).
Applicable Scenarios and Notes¶
Who is it for
- Members responsible for growth, conversion, or product who need to quickly produce actionable experiment design documents in a conversation.
- Engineers or data colleagues who want the Agent to default to following standards like “single variable, predetermined sample size, guardrail metrics” rather than just giving creative ideas.
Limitations and Notes
- This is a Design and Methodology Skill; it does not take responsibility for implementing split code or configuring tracking for you; implementation and tracking require combining your own toolchain or working with Skills like analytics-tracking.
- The
references/sample-size-guide.mdandreferences/test-templates.mdreferenced inSKILL.mdare not included in the1.0.0package obtained viaskillhub install, and only the three main document files are present. If the Agent prompts to check references, please rely on the actual files in your local installation directory, or maintain experiment log templates yourself. - PostHog, Optimizely, etc. listed in the text are for implementation reference and do not mean the Skill integrates these services; tool selection and compliance still require the team to evaluate independently.
- The sample size tables in the text are general quick references; real experiments still require professional review combining Minimum Detectable Effect (MDE), multiple testing, seasonal traffic, etc.
Conclusion¶
A/B Test Setup solidifies the hypothesis framework, sample size, metric stratification, traffic splitting considerations, and analysis checklist into an Agent-executable Skill, suitable for aligning on “what constitutes a qualified A/B test” during proposal review or project initiation phases.
Official skills page and API entry points:
- https://www.skillhub.cn/skills/org-02qudk26/ab-test-setup
- https://api.skillhub.cn/org-02qudk26/ab-test-setup
Installation and CLI instructions: https://skillhub.cn/install/skillhub.md