/marketing-as-code:ab-test-planfrom marketing-as-code
Designs A/B tests with hypothesis, primary metric, sample size, duration, and stop rules. Records results for later analysis. Useful when asked to design a test or check significance.
Ships in marketing-as-code. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
A hypothesis in, a test record out: projects/<x>/experiments/<slug>.md
with the hypothesis, the variants, the primary metric as the ontology
names it, the sample size and duration computed from real traffic, the
stop rules, and later the result appended to the same file. A test the
team cannot finish in time is reported as such before it starts.
Needs: nothing outside the repo. With web-analytics wired (the Wired
table in integrations/README.md names the vendor), snapshot-pull
fetches the page's traffic and baseline conversion into
data/analytics/snapshots/YYYY-MM-DD-<vendor>-funnel.csv; without it, ask
for that export (the manual route in
integrations/catalog/web-analytics.json). A baseline you do not have is
a gap; never estimate one to make the arithmetic work.
data/ontology/events.md and metrics.md: the
primary metric must be a defined event or term, or the test measures
nothing the team agrees on. Read the project the page belongs to and,
if this comes from cro-audit, its report.projects/*/experiments/ for the same
page or element; a running test on the same page means wait, and a
finished one means read its result first.references/test-design.md:
because <observation, with its snapshot>, we believe will
for ; we will know when moves by
. One variable per test.snapshot-pull, saved before the arithmetic.references/test-design.md: sample per
variant for the baseline and the effect, then duration = sample x
variants / weekly traffic, rounded up to whole weeks (at least one
full week, at most about six). If the duration is longer than the team
will wait, say so and offer a bigger effect, fewer variants or a
higher-traffic page.projects/<x>/experiments/<slug>.md with the
sections in references/setup-checklist.md, and the QA list the person
walks before launch. Link it from the project's status.md.references/test-design.md shows, and append a Result section:
sample reached, metrics, guardrails, decision (ship, reject, iterate),
what was learned. A decision the team acts on goes through
log-decision."Design a test for the demo page headline" (from the CRO audit).
data/analytics/snapshots/2026-09-04-posthog-funnel.csv,
2,900 visitors in 30 days, 1.4% demo_requested.projects/2026-q4-launch/experiments/demo-headline.md
records that and proposes instead a 50% lift (about 2,000 per variant,
6 weeks) or moving the test to the pricing page (4,100 a week).What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub calven-ai/marketing-as-code --plugin marketing-as-code111 skills in this plugin
/account-signalsWeekly account heat: intent, web and CRM engagement per target account, buying-group coverage, who to hand to sales. Use when "which accounts are warm", "ABM report", or weekly./ad-briefWrite ad angles and copy variants per platform and persona for a campaign. Use when "ad copy for LinkedIn", "ad variants", "creative brief for the campaign"./add-integrationConnect a tool the team uses by the MCP, CLI, script ladder in integrations/adding-an-integration.md, as one PR. Use when "we use X, connect it", or when a skill needs an unwired tool.Other plugins' skills for the same job