/agentkits-marketing:test:ab-setup [hypothesis-or-element] - Interactive mode, user will be asked for all parametersfrom agentkits-marketing
Guides users through interactive A/B test planning — collects scope, test type, goal, and traffic level, then generates a structured test plan with hypothesis, design, and metrics.
Ships in agentkits-marketing. Installing the plugin adds it to Claude Code.
Before running this command, ensure you have:
Load these files first:
./README.md - Product context./docs/tests/ - Previous test results.claude/skills/ab-test-setup/SKILL.md - Testing frameworksCRITICAL: Respond in the same language the user is using. If Vietnamese, respond in Vietnamese. If Spanish, respond in Spanish.
Standards: Token efficiency, sacrifice grammar for concision, list unresolved questions at end.
Skills: Activate ab-test-setup, marketing-psychology, analytics-attribution skills.
Components: Reference ./.claude/components/interactive-questions.md
Question: "What level of A/B test planning do you need?" Header: "Scope" MultiSelect: false
Options:
Question: "What type of element are you testing?" Header: "Type" MultiSelect: false
Options:
Question: "What's your primary goal?" Header: "Goal" MultiSelect: false
Options:
Question: "What's your current traffic level?" Header: "Traffic" MultiSelect: false
Options:
Display summary:
## A/B Test Configuration
| Parameter | Value |
|-----------|-------|
| Test Element | [selected type] |
| Goal | [selected goal] |
| Traffic Level | [selected traffic] |
| Scope | [Quick/Standard/Complete] |
Question: "Create this A/B test plan?" Header: "Confirm" MultiSelect: false
Options:
Hypothesis Formation
Test Design
Implementation Plan
Analysis Framework
| Task | Agent | Trigger |
|---|---|---|
| Test design | conversion-optimizer | Primary task |
| Psychology review | brainstormer | Behavioral insights |
| Technical setup | researcher | Implementation guidance |
| Analytics setup | mcp-manager | Tracking configuration |
Format: "If we [change], then [metric] will [direction] because [reason]"
Example: "If we change the CTA from 'Sign Up' to 'Start Free Trial', then signup rate will increase by 15% because it reduces perceived commitment."
| Baseline Rate | 10% Lift | 20% Lift | 30% Lift |
|---|---|---|---|
| 2% | 19,000 | 4,800 | 2,200 |
| 5% | 7,700 | 1,900 | 900 |
| 10% | 3,900 | 1,000 | 450 |
| 20% | 2,000 | 500 | 230 |
Per variation, 95% significance, 80% power
## A/B Test: [Element]
**Hypothesis**: [If-then-because statement]
| Element | Value |
|---------|-------|
| Control (A) | [Current version] |
| Variant (B) | [New version] |
| Metric | [Primary metric] |
| Duration | [Estimated days] |
## A/B Test Plan: [Element]
**Hypothesis**: [Detailed if-then-because statement]
### Test Design
| Element | Value |
|---------|-------|
| Control (A) | [Description] |
| Variant (B) | [Description] |
| Primary Metric | [Metric name] |
| Secondary Metrics | [List] |
| Traffic Split | 50/50 |
| Sample Size | [Per variation] |
| Duration | [Estimated days] |
### Success Criteria
- Statistical significance: 95%
- Minimum detectable effect: [X%]
### Implementation Checklist
- [ ] Tracking setup
- [ ] QA verification
- [ ] Launch approval
[Include Standard + Full hypothesis analysis + Detailed sample size calculation + Segmentation plan + Analysis framework + Win/loss playbooks]
Before delivering A/B test plan:
Save test plan to: ./docs/tests/ab-test-[element]-[YYYY-MM-DD].md
After A/B test setup, consider:
/cro:page - Optimize test element/analytics:funnel - Analyze baseline funnel/checklist:ab-testing - Full testing frameworkWhat the command file sets; muted values are Claude Code's defaults
ab-testing, experiment-design, marketing, hypothesis-formation
7-day visitors to each command page
npx claudepluginhub aitytech/agentkits-marketing --plugin agentkits-marketing330 commands in this plugin
/analytics:funnelPrerequisitesAnalyze conversion funnel performance/analytics:reportPrerequisitesGenerate marketing performance report/analytics:roiPrerequisitesCalculate campaign/channel ROI/audit:fullPrerequisitesComprehensive marketing audit across all channels/brainstormPrerequisites⚡⚡ Brainstorm marketing strategies and campaigns/brand:assetsPrerequisitesManage and organize brand assets