Ab Test Designのロゴ

Ab Test Design

コミュニティ
Productfculty-aipm
ab-test-design

Use this skill when the user asks to "design an A/B test", "how should I test this", "experiment design", "how do I run an experiment", "test this feature", "set up a split test", "how many users do I need", "statistical significance", "how do I know if this test worked", or wants to design a rigorous experiment to test a product hypothesis.

概要

公開者Productfculty-aipm
リポジトリPM-Copilot-by-Product-Faculty
スキル名ab-test-design
スター
80
フォーク
34
同梱ファイル
指示のみ
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

    Productfculty-aipmがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Ab Test Design」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/Productfculty-aipm/PM-Copilot-by-Product-Faculty/tree/main/skills/ab-test-design
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Productfculty-aipm/PM-Copilot-by-Product-Faculty.git /tmp/PM-Copilot-by-Product-Faculty
mkdir -p .claude/skills
cp -r /tmp/PM-Copilot-by-Product-Faculty/skills/ab-test-design .claude/skills/ab-test-design
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでAb Test Designを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にAb Test Designを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Ab Test Designは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

A/B Test Design

You are helping the user design a rigorous A/B test — one that produces trustworthy, actionable results rather than ambiguous data. Most A/B tests in practice are designed poorly and lead to incorrect conclusions. The goal is to fix that.

Framework: Statistical testing principles, Lenny Rachitsky's experimentation guide, Ronny Kohavi (Trustworthy Online Controlled Experiments).

Step 1 — Load Context

Read memory/user-profile.md for product stage (pre-PMF products usually shouldn't be running A/B tests — qualitative research is more efficient) and analytics tool. Read context/company/analytics-baseline.md for baseline metrics needed for sample size calculation.

Pre-PMF warning: If the product is pre-PMF, flag: "A/B testing works best when you have enough traffic to detect effects and when the product direction is relatively stable. At this stage, qualitative user research often gives you more signal faster. Still want to proceed?"

Step 2 — Test Design Elements

For a well-designed A/B test, define each element:

Hypothesis: "If we [change], then [metric] will [increase/decrease] by [amount] because [reason]."

  • The hypothesis must be falsifiable (there must be a result that would prove it wrong)
  • The "because" is important — it forces you to think about the mechanism, not just the correlation

Primary metric (what the test will be judged on):

  • Must be the metric the feature is designed to move
  • Must be measurable within the test window
  • Must be sensitive enough to detect realistic effect sizes

Guardrail metrics (what must not get worse):

  • Core business metrics that should be protected even if the primary metric improves
  • Example: even if the new onboarding increases activation, it shouldn't tank 7-day retention

Control vs. treatment:

  • Control = current experience (baseline)
  • Treatment = new experience being tested
  • One change at a time — if multiple changes are made, it's impossible to know which caused the effect

Step 3 — Sample Size Calculation

Calculate the required sample size before starting the test:

Inputs needed:

  • Baseline conversion rate for the primary metric (from analytics-baseline.md or user input)
  • Minimum detectable effect (MDE): the smallest improvement worth caring about
  • Statistical power: 80% is standard (means 80% chance of detecting a real effect)
  • Significance level: 5% (p < 0.05) is standard (5% chance of a false positive)

Rule of thumb: To detect a 10% relative improvement with 80% power, you typically need ~1,600 users per variant. For a 5% relative improvement, you need ~6,400 per variant.

If the user doesn't have an analytics tool that does this automatically, provide the calculation: use the approximate formula or direct them to an online calculator.

Duration estimation: Users needed ÷ daily traffic to the tested area = test duration in days. Flag if this exceeds 4 weeks — tests longer than 4 weeks are at high risk of confounders.

Step 4 — Test Validity Checks

Before launching, verify:

  • No leakage: Users in control shouldn't be able to see the treatment experience
  • Consistent assignment: A user should always see the same variant
  • SRM check planned: Sample Ratio Mismatch (if the control and treatment don't have equal traffic, something's wrong)
  • Novelty effect consideration: New UI elements get extra attention initially — plan for this in the analysis window

Step 5 — Analysis Plan

Define before launch:

  • How long will the test run? (Set end date — don't peek and stop early)
  • Who is the final decision-maker?
  • What p-value counts as significant? (0.05 unless there's a reason otherwise)
  • What happens if the test is inconclusive? (No change, run longer, redesign?)
  • What happens if the treatment wins by exactly the MDE? (Ship, or run follow-up test?)

Step 6 — Output

Produce:

  • Hypothesis (falsifiable, with mechanism)
  • Test design summary (control, treatment, primary metric, guardrails)
  • Sample size requirement and estimated test duration
  • Validity checklist
  • Analysis plan
  • One thing that could invalidate this test if not controlled for

よくある質問

AIスキル「Ab Test Design」では何ができますか?

Use this skill when the user asks to "design an A/B test", "how should I test this", "experiment design", "how do I run an experiment", "test this feature", "set up a split test", "how many users do I need", "statistical significance", "how do I know if this test worked", or wants to design a rigorous experiment to test a product hypothesis.

TypingMindでAb Test Designを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Ab Test Designはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにAb Test Designをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/Productfculty-aipm/PM-Copilot-by-Product-Faculty/tree/main/skills/ab-test-designを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Ab Test Designを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Ab Test Designで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもAb Test Designを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Ab Test Design」は無料ですか?

Productfculty-aipmがGitHubで公開しています。ライセンス条件はリポジトリでご確認ください。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇