Exp Driven Dev logo

Exp Driven Dev

Community
menkesu
exp-driven-dev

Builds features with A/B testing in mind using Ronny Kohavi's frameworks and Netflix/Airbnb experimentation culture. Use when implementing feature flags, choosing metrics, designing experiments, or building for fast iteration. Focuses on guardrail metrics, statistical significance, and experiment-driven development.

Overview

Publishermenkesu
Repositoryawesome-pm-skills
Skill nameexp-driven-dev
Stars
406
Forks
120
Bundled files
Instructions only
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by menkesu on GitHub. Read the source before you install it.

Installation

Install the Exp Driven Dev AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/menkesu/awesome-pm-skills.git /tmp/awesome-pm-skills
mkdir -p .claude/skills
cp -r /tmp/awesome-pm-skills/exp-driven-dev .claude/skills/exp-driven-dev
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Exp Driven Dev in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Exp Driven Dev on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Exp Driven Dev is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Experimentation-Driven Development

When This Skill Activates

Claude uses this skill when:

  • Building new features that affect core metrics
  • Implementing A/B testing infrastructure
  • Making data-driven decisions
  • Setting up feature flags for gradual rollouts
  • Choosing which metrics to track

Core Frameworks

1. Experiment Design (Source: Ronny Kohavi, Microsoft/Netflix)

The HITS Framework:

H - Hypothesis:

"We believe that [change] will cause [metric] to [increase/decrease] because [reason]"

I - Implementation:

  • Feature flag setup
  • Treatment vs control
  • Sample size calculation

T - Test:

  • Run for statistical significance
  • Monitor guardrail metrics
  • Watch for unexpected effects

S - Ship or Stop:

  • Ship if positive
  • Stop if negative
  • Iterate if inconclusive

Example:

markdown
Hypothesis:
"We believe that adding social proof ('X people bought this') 
will increase conversion rate by 10% 
because it reduces purchase anxiety."

Implementation:
- Control: No social proof
- Treatment: Show "X people bought"
- Sample size: 10,000 users per variant
- Duration: 2 weeks

Test:
- Primary metric: Conversion rate
- Guardrails: Cart abandonment, return rate

Ship or Stop:
- If conversion +5% or more → Ship
- If conversion -2% or less → Stop
- If inconclusive → Iterate and retest

2. Metric Selection

Primary Metric:

  • ONE metric you're trying to move
  • Directly tied to business value
  • Clear success threshold

Guardrail Metrics:

  • Metrics that shouldn't degrade
  • Prevent gaming the system
  • Ensure quality maintained

Example:

Feature: Streamlined checkout

Primary Metric:
✅ Purchase completion rate (+10%)

Guardrail Metrics:
⚠️ Cart abandonment (don't increase)
⚠️ Return rate (don't increase)
⚠️ Support tickets (don't increase)
⚠️ Load time (stay <2s)

3. Statistical Significance

The Math:

Minimum sample size = (Effect size, Confidence, Power)

Typical settings:
- Confidence: 95% (p < 0.05)
- Power: 80% (detect 80% of real effects)
- Effect size: Minimum detectable change

Example:
- Baseline conversion: 10%
- Minimum detectable effect: +1% (to 11%)
- Required: ~15,000 users per variant

Common Mistakes:

  • ❌ Stopping test early (peeking bias)
  • ❌ Running too short (seasonal effects)
  • ❌ Too many variants (dilutes sample)
  • ❌ Changing test mid-flight

4. Feature Flag Architecture

Implementation:

javascript
// Feature flag pattern
function checkoutFlow(user) {
  if (isFeatureEnabled(user, 'new-checkout')) {
    return newCheckoutExperience();
  } else {
    return oldCheckoutExperience();
  }
}

// Gradual rollout
function isFeatureEnabled(user, feature) {
  const rolloutPercent = getFeatureRollout(feature);
  const userBucket = hashUserId(user.id) % 100;
  return userBucket < rolloutPercent;
}

// Experiment assignment
function assignExperiment(user, experiment) {
  const variant = consistentHash(user.id, experiment);
  track('experiment_assigned', {
    userId: user.id,
    experiment: experiment,
    variant: variant
  });
  return variant;
}

Decision Tree: Should We Experiment?

NEW FEATURE
├─ Affects core metrics? ──────YES──→ EXPERIMENT REQUIRED
│  NO ↓
├─ Risky change? ──────────────YES──→ EXPERIMENT RECOMMENDED
│  NO ↓
├─ Uncertain impact? ──────────YES──→ EXPERIMENT USEFUL
│  NO ↓
├─ Easy to A/B test? ─────────YES──→ WHY NOT EXPERIMENT?
│  NO ↓
└─ SHIP WITHOUT TEST ←────────────────┘
   (But still feature flag for rollback)

Action Templates

Template 1: Experiment Spec

markdown
# Experiment: [Name]

## Hypothesis
**We believe:** [change]
**Will cause:** [metric] to [increase/decrease]
**Because:** [reasoning]

## Variants

### Control (50%)
[Current experience]

### Treatment (50%)
[New experience]

## Metrics

### Primary Metric
- **What:** [metric name]
- **Current:** [baseline]
- **Target:** [goal]
- **Success:** [threshold]

### Guardrail Metrics
- **Metric 1:** [name] - Don't decrease
- **Metric 2:** [name] - Don't increase
- **Metric 3:** [name] - Maintain

## Sample Size
- **Users needed:** [X per variant]
- **Duration:** [Y days]
- **Confidence:** 95%
- **Power:** 80%

## Implementation
```javascript
if (experiment('feature-name') === 'treatment') {
  // New experience
} else {
  // Old experience
}

Success Criteria

  • Primary metric improved by [X]%
  • No guardrail degradation
  • Statistical significance reached
  • No unexpected negative effects

Decision

  • If positive: Ship to 100%
  • If negative: Rollback, iterate
  • If inconclusive: Extend or redesign

### Template 2: Feature Flag Implementation

```typescript
// features.ts
export const FEATURES = {
  'new-checkout': {
    rollout: 10,  // 10% of users
    enabled: true,
    description: 'New streamlined checkout flow'
  },
  'ai-recommendations': {
    rollout: 0,  // Not live yet
    enabled: false,
    description: 'AI-powered product recommendations'
  }
};

// feature-flags.ts
export function isEnabled(userId: string, feature: string): boolean {
  const config = FEATURES[feature];
  if (!config || !config.enabled) return false;
  
  const bucket = consistentHash(userId) % 100;
  return bucket < config.rollout;
}

// usage in code
if (isEnabled(user.id, 'new-checkout')) {
  return <NewCheckout />;
} else {
  return <OldCheckout />;
}

Template 3: Experiment Dashboard

markdown
# Experiment Dashboard

## Active Experiments

### Experiment 1: [Name]
- **Status:** Running
- **Started:** [date]
- **Progress:** [X]% sample size reached
- **Primary metric:** [current result]
- **Guardrails:** ✅ All healthy

### Experiment 2: [Name]
- **Status:** Complete
- **Result:** Treatment won (+15% conversion)
- **Decision:** Ship to 100%
- **Shipped:** [date]

## Key Metrics

### Experiment Velocity
- **Experiments launched:** [X per month]
- **Win rate:** [Y]%
- **Average duration:** [Z] days

### Impact
- **Revenue impact:** +$[X]
- **Conversion improvement:** +[Y]%
- **User satisfaction:** +[Z] NPS

## Learnings
- [Key insight 1]
- [Key insight 2]
- [Key insight 3]

Quick Reference

🧪 Experiment Checklist

Before Starting:

  • Hypothesis written (believe → cause → because)
  • Primary metric defined
  • Guardrails identified
  • Sample size calculated
  • Feature flag implemented
  • Tracking instrumented

During Experiment:

  • Don't peek early (wait for significance)
  • Monitor guardrails daily
  • Watch for unexpected effects
  • Log any external factors (holidays, outages)

After Experiment:

  • Statistical significance reached
  • Guardrails not degraded
  • Decision made (ship/stop/iterate)
  • Learning documented

Real-World Examples

Example 1: Netflix Experimentation

Volume: 250+ experiments running at once Approach: Everything is an experiment Culture: "Strong opinions, weakly held - let data decide"

Example Test:

  • Hypothesis: Bigger thumbnails increase engagement
  • Result: No improvement, actually hurt browse time
  • Decision: Rollback
  • Learning: Saved $$ by not shipping

Example 2: Airbnb's Experiments

Test: New search ranking algorithm Primary: Bookings per search Guardrails:

  • Search quality (ratings of bookings)
  • Host earnings (don't concentrate bookings)
  • Guest satisfaction

Result: +3% bookings, all guardrails healthy → Ship


Example 3: Stripe's Feature Flags

Approach: Every feature behind flag Benefits:

  • Instant rollback (flip flag)
  • Gradual rollout (1% → 5% → 25% → 100%)
  • Test in production safely

Example:

javascript
if (experiments.isEnabled('instant-payouts')) {
  return <InstantPayouts />;
}

Common Pitfalls

❌ Mistake 1: Peeking Too Early

Problem: Stopping test before statistical significance Fix: Calculate sample size upfront, wait for it

❌ Mistake 2: No Guardrails

Problem: Gaming the metric (increase clicks but hurt quality) Fix: Always define guardrails

❌ Mistake 3: Too Many Variants

Problem: Not enough users per variant Fix: Limit to 2-3 variants max

❌ Mistake 4: Ignoring External Factors

Problem: Holiday spike looks like treatment effect Fix: Note external events, extend duration


Related Skills

  • metrics-frameworks - For choosing right metrics
  • growth-embedded - For growth experiments
  • ship-decisions - For when to ship vs test more
  • strategic-build - For deciding what to test

Key Quotes

Ronny Kohavi:

"The best way to predict the future is to run an experiment."

Netflix Culture:

"Strong opinions, weakly held. Let data be the tie-breaker."

Airbnb:

"We trust our intuition to generate hypotheses, and we trust data to make decisions."


Further Learning

  • references/experiment-design-guide.md - Complete methodology
  • references/statistical-significance.md - Sample size calculations
  • references/feature-flags-implementation.md - Code examples
  • references/guardrail-metrics.md - Choosing guardrails

Frequently asked questions

What does the Exp Driven Dev AI skill do?

Builds features with A/B testing in mind using Ronny Kohavi's frameworks and Netflix/Airbnb experimentation culture. Use when implementing feature flags, choosing metrics, designing experiments, or building for fast iteration. Focuses on guardrail metrics, statistical significance, and experiment-driven development.

Why use Exp Driven Dev on TypingMind?

Because you install it once and use it with any model. Exp Driven Dev is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Exp Driven Dev in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/menkesu/awesome-pm-skills/tree/main/exp-driven-dev. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Exp Driven Dev?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Exp Driven Dev?

As many as you like. As long as a model supports skills, you can use Exp Driven Dev with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Exp Driven Dev AI skill free?

It is published on GitHub by menkesu. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇