ab-testing-implementation

Implement and validate MetaMask Mobile A/B tests against canonical repository standards.

3.0k|1.6k|Updated Jul 18, 2018
One-click install
npx skills add https://github.com/MetaMask/metamask-mobile --skill ab-testing-implementation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ab-testing-implementation
Source: https://github.com/MetaMask/metamask-mobile/tree/main/.agents/skills/ab-testing-implementation
Command: npx skills add https://github.com/MetaMask/metamask-mobile --skill ab-testing-implementation

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This skill documents and enforces MetaMask Mobile A/B test standards to reduce risk and ensure consistent implementations.

Core Features & Use Cases

  • Canonical guidance: References docs/ab-testing.md as the single source of truth for A/B testing standards.
  • Compliance tooling: Includes a script (scripts/check-ab-testing-compliance.sh) to validate changes against the standards.
  • Risk-aware workflow: Enforces workflow and risk-based testing policies described in the docs.
  • Use Case: When adding or updating ab_tests payloads, variant configs, useABTest calls, analytics payloads, or related tests and docs, follow the standardization.

Quick Start

Run the compliance script to validate changes against the canonical A/B testing standards.

Frequently Asked Questions about ab-testing-implementation

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

FAQPage Schema
How do I validate A/B test implementations in MetaMask Mobile against repository standards?

To validate A/B test implementations, run the compliance script check-ab-testing-compliance.sh, which checks ab_tests payloads, variant configs, and useABTest usage against the canonical standards defined in docs/ab-testing.md.

What is the canonical source of truth for A/B testing standards in MetaMask Mobile?

The canonical source of truth for A/B testing standards in MetaMask Mobile is the docs/ab-testing.md file, which defines workflow rules, analytics rules, risk-based testing policy, and compliance commands for all A/B test implementations.

How do I add variant configs and useABTest hooks safely in a mobile app?

Adding variant configs and useABTest hooks safely requires following the risk-aware workflow and testing policies in docs/ab-testing.md, then running the compliance validation script to ensure analytics payloads and configurations meet repository standards.

Do I need to update analytics payloads when modifying A/B tests in MetaMask Mobile?

Yes, you must update analytics payloads when modifying A/B tests in MetaMask Mobile, as the compliance script validates analytics payloads alongside ab_tests payloads and variant configs to ensure consistent, compliant tracking across all test variants.

What A/B testing compliance rules do I need to follow for MetaMask Mobile?

A/B testing compliance rules for MetaMask Mobile require following the workflow, analytics rules, risk-based testing policy, required response sections, and compliance commands defined in docs/ab-testing.md, validated by the check-ab-testing-compliance.sh script.