ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified developer tools Safety 4/5

device-testing

React Native testing with Jest, Detox E2E, and React Native Testing Library. Use for mobile test strategies or native module mocking.

Why use this skill?

Master React Native testing with Jest, Detox, and RNTL. Get expert guidance on mobile unit tests, integration strategies, and E2E automation.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/anton-abyzov/sw-device-testing
Or

What This Skill Does

The device-testing skill serves as your dedicated OpenClaw expert for React Native quality assurance. It provides deep architectural guidance on mobile testing, helping you structure your test suites according to the mobile testing pyramid: 70% unit tests, 20% integration tests, and 10% E2E tests. Whether you are struggling with complex native module mocking, setting up your first Detox E2E pipeline, or writing efficient React Native Testing Library components, this skill offers code-ready solutions. It covers the full lifecycle of testing from initial setup to running headless tests on simulators or real physical devices.

Installation

You can integrate this skill into your environment by running the following command in your terminal: clawhub install openclaw/skills/skills/anton-abyzov/sw-device-testing

Use Cases

  • Refactoring Legacy Modules: Use the skill to generate comprehensive test suites for native modules that lack coverage.
  • CI/CD Pipeline Setup: Get advice on configuring Detox for GitHub Actions or Bitrise to ensure your mobile apps remain bug-free after every commit.
  • Component Isolation: Learn the best practices for mocking heavy dependencies like Firebase, React Navigation, or complex native APIs in your unit tests.
  • E2E Strategy: Decide between Maestro or Detox based on your team's velocity and infrastructure requirements.
  • Debugging Flaky Tests: Paste your failing test logs to have the agent analyze race conditions or timeout issues specific to asynchronous mobile operations.

Example Prompts

  1. "Create a unit test for my custom useAuth hook that mocks an asynchronous API call to a Firebase login endpoint."
  2. "My Detox E2E tests keep timing out on the login screen of my React Native app. Can you help me write a wait-for-element helper function to handle the splash screen animation?"
  3. "Compare Maestro and Detox for a high-performance React Native app. Which one is better for handling complex physical device interactions?"

Tips & Limitations

To get the most out of the device-testing skill, always provide the specific versions of React Native, Jest, and Detox you are currently using, as APIs have evolved significantly. Note that the agent provides code-based guidance but cannot execute the tests directly on your local device hardware. Ensure your environment has the necessary dependencies like XCode, Android Studio, and the required command-line tools installed for E2E testing to function. Always favor component tests over E2E tests to reduce build times and flakiness in your CI pipeline.

Metadata

Stars1054
Views0
Updated2026-02-16
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-anton-abyzov-sw-device-testing": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#react-native#testing#detox#mobile-dev#qa
Safety Score: 4/5

Flags: code-execution