Token导航 LogoToken导航TokenDH.com
开发敏感数据github未标认证来源可访问许可证需确认审计通过

abtesting-mobile禁止测试手机

Agent Skill

用于辅助测试设计、自动化测试、用例整理和回归验证。它适合让 Agent 编写单元测试、端到端测试、测试计划或根据失败日志定位问题。使用时需要确认项目测试框架、运行命令和夹具数据,避免为了通过测试而改坏真实逻辑;涉及浏览器或外部服务时,应区分本地模拟、测试环境和生产环境。

总安装

384

周安装

16

GitHub Stars

4

下载量

128
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:abtesting-mobile(禁止测试手机)
来源仓库:https://github.com/alphaonedev/openclaw-graph
仓库路径:skills/abtesting-mobile
安装命令:
npx skills add https://github.com/alphaonedev/openclaw-graph --skill abtesting-mobile
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/alphaonedev/openclaw-graph --skill abtesting-mobile

简介

用于移动端 A/B 测试,支持功能开关、分阶段发布和灰度发布以优化用户体验。

  • 可集成 Firebase Remote Config、Optimizely 或 Statsig 实现动态参数更新与实验分组。
  • 适用于 iOS/Android 应用,用于测试 UI 变更、功能开关或逐步发布新功能。
  • 安装方式:github,命令为 npx skills add https://github.com/alphaonedev/openclaw-graph --skill abtesting-mobile。
  • 注意:需区分测试环境与生产环境,避免在正式环境中直接修改逻辑。

SKILL.md

abtesting-mobile

Purpose

This skill handles A/B testing for mobile applications using tools like Firebase Remote Config, Optimizely, Statsig, and app store experiments. It focuses on feature flagging, staged rollouts, and canary releases to optimize user experiences.

When to Use

Use this skill when you need to run experiments on mobile apps, such as testing UI changes, feature toggles, or gradual rollouts. Apply it for apps on iOS/Android to minimize risks, gather data-driven insights, or comply with app store guidelines for experiments.

Key Capabilities

  • Configure Firebase Remote Config for dynamic parameter updates without app redeployment.
  • Integrate Optimizely SDK for full A/B testing cycles, including event tracking and audience segmentation.
  • Use Statsig for quick feature flags and experiments with minimal setup.
  • Manage staged rollouts via Firebase or app store APIs to control user exposure.
  • Support canary releases by defining percentages for new features.

Usage Patterns

To set up an A/B test, first authenticate with the service, then define parameters in a config file, fetch values in your app code, and monitor results. For Firebase, use the CLI to update configs; for Optimizely, initialize the SDK early in your app lifecycle. Always wrap experiments in try-catch blocks for error resilience. Pattern: Load config → Assign variants → Track events → Analyze data.

Common Commands/API

For Firebase Remote Config:

  • CLI: firebase rc:fetch --token $FIREBASE_API_KEY to fetch parameters.
  • API Endpoint: POST to https://firebaseremoteconfig.googleapis.com/v1/projects/{projectId}/remoteConfig with JSON body like {"parameters": {"feature_flag": {"defaultValue": {"value": "true"}}}}.
  • Code Snippet (Swift for iOS): let remoteConfig = RemoteConfig.remoteConfig() remoteConfig.fetch {status, error in if status ==.success {remoteConfig.activate()}}

For Optimizely:

  • CLI: optimizely project create --apiKey $OPTIMIZELY_API_KEY --name "MobileExperiment".
  • API Endpoint: GET https://api.optimizely.com/v2/experiments to list experiments.
  • Code Snippet (Android Kotlin): OptimizelyManager.getInstance().optimizely.start {userId, attributes -> val variation = optimizely.decide(userId, "experimentKey") // Apply variation}

For Statsig:

  • CLI: statsig config set --key $STATSIG_API_KEY --feature "newFeature" --value true.
  • API Endpoint: POST to https://api.statsig.com/v1/evaluate with body {"userID": "123", "featureKey": "feature"}.
  • Code Snippet (General JS for React Native): import Statsig from 'statsig-react-native'; Statsig.initialize('your-sdk-key').then(() => {const value = Statsig.checkGate('feature_gate');});

Integration Notes

Integrate by adding SDKs via package managers (e.g., pod 'Firebase/RemoteConfig' for iOS or implementation 'com.optimizely.ab:android-sdk:4.0.0' for Android). Use environment variables for auth: set $FIREBASE_API_KEY in your CI/CD pipeline. For config formats, use JSON files like:

{
  "parameters": {
    "color_scheme": {
      "defaultValue": { "value": "blue" },
      "description": "A/B test for app theme"
    }
  }
}

Ensure apps handle offline scenarios by caching configs. For multi-tool setups, prioritize Firebase for simple flags and Optimizely for complex experiments.

Error Handling

Handle authentication errors by checking for 401 responses and retrying with refreshed tokens. For Firebase, catch NSError with code 3 (network error) and fallback to default values. In code:

try {
    remoteConfig.fetchAndActivate { status, error in
        if let error = error { print("Error: \(error.localizedDescription)") }
    }
} catch { print("Fetch failed: \(error)") }

For Optimizely, log decision errors and use a default variation. Common issues: Invalid API keys—verify with echo $OPTIMIZELY_API_KEY; Network failures—implement exponential backoff.

Concrete Usage Examples

Example 1: Set up a staged rollout for a new feature using Firebase.

  • Steps: Export $FIREBASE_API_KEY, run firebase rc:set --project myapp --params '{"rollout_percent": 50}', then in app code, fetch and check the value to enable the feature for 50% of users.

Example 2: Run an A/B test with Optimizely for button color.

  • Steps: Create an experiment via optimizely experiment create --apiKey $OPTIMIZELY_API_KEY --key "buttonColorTest" --variations '["red", "blue"]', integrate SDK, and in code, use the decided variation to set the button color and track clicks.

Graph Relationships

  • Related to: abtesting cluster (e.g., abtesting-web for web variants)
  • Connected via: mobile tag (links to skills like mobile-analytics)
  • Dependencies: Requires firebase and optimizely clusters for full functionality
  • Overlaps: With rollout tag, shares edges to deployment skills

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

37.59%
按下载量换算48

Claude

28.91%
按下载量换算37

Cursor

19.04%
按下载量换算24

Gemini CLI

9.68%
按下载量换算12

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills