research-design

Define and validate A/B experimental designs with guardrails and structured design docs.

Updated Feb 27, 2026
One-click install
npx skills add https://github.com/danny0926/NLP-data-for-trading --skill research-design-danny0926
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: research-design
Source: https://github.com/danny0926/NLP-data-for-trading/tree/main/.claude/skills/research-design
Command: npx skills add https://github.com/danny0926/NLP-data-for-trading --skill research-design-danny0926

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Designed to help researchers craft rigorous A/B experiments with clear guardrails, streamlining the transition from hypothesis to implementation.

Core Features & Use Cases

  • A/B design templates: baseline vs treatment, sample size, time window, event date rules.
  • Guardrails & success metrics: primary metrics, stopping rules, look-ahead bias checks.
  • Output & documentation: generate a structured design doc ready for review and implementation planning.

Quick Start

Draft a design document outlining the Baseline (A), Treatment (B), and guardrails for your upcoming experiment.

Frequently Asked Questions about research-design

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I design an A/B experiment with proper guardrails and success metrics?

To design an A/B experiment with guardrails, define your baseline and treatment, then establish primary metrics and stopping rules. This process generates a structured design doc outlining sample sizes, time windows, and event date rules for review.

What are guardrails in A/B testing and how do they prevent look-ahead bias?

Guardrails in A/B testing are predefined success metrics and stopping rules that prevent invalid conclusions. They include look-ahead bias checks to ensure statistical significance is evaluated correctly, protecting the experiment's validity throughout the research process.

How do I calculate sample size and duration for an experiment design?

You calculate sample size and duration by defining your baseline and treatment parameters within a structured design doc. The design workflow specifies time windows and event date rules to ensure your research-phase decisions gather sufficient data for statistical significance.

Can I use this A/B design process for marketing and policy experiments?

Yes, you can use this A/B design process for marketing and policy experiments. It applies to research-phase decisions across product, marketing, or policy contexts by setting baselines, treatments, samples, durations, and success criteria tailored to each specific domain.

What is the best way to document an experimental design for implementation planning?

The best way to document experimental design is generating a structured design doc. This output captures baseline versus treatment configurations, primary metrics, guardrails, and implementation paths, streamlining the transition from hypothesis to execution for review.

When should I establish stopping rules in my A/B study design?

You should establish stopping rules during the initial A/B study design phase before implementation begins. Defining these guardrails alongside primary metrics and success criteria prevents premature experiment termination and ensures robust statistical significance evaluation.