tdd-workflow

Enforce a Red-Green-Refactor workflow for React Native with Jest, RNTL, and Detox.

1|Updated Dec 7, 2025
One-click install
npx skills add https://github.com/treesus6/SkateQuest-Mobile --skill tdd-workflow-treesus6
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tdd-workflow
Source: https://github.com/treesus6/SkateQuest-Mobile/tree/main/.claude/skills/tdd-workflow
Command: npx skills add https://github.com/treesus6/SkateQuest-Mobile --skill tdd-workflow-treesus6

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Streamlines the adoption of test-driven development in React Native projects by providing a clear, repeatable workflow that teams can follow.

Core Features & Use Cases

  • Red-Green-Refactor cycle for RN components and features
  • Integrated testing with Jest, React Native Testing Library, and Detox
  • Documentation of best practices and decision points for feature work

Quick Start

Begin by writing a failing test for a new feature, then implement the minimal code to pass that test.

Frequently Asked Questions about tdd-workflow

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

FAQPage Schema
How do I set up a test-driven development workflow for React Native?

A React Native test-driven development workflow enforces a Red-Green-Refactor cycle by writing tests before implementation. This approach integrates Jest, React Native Testing Library, and Detox to ensure end-to-end quality for components and features.

Can I use Jest and Detox together for React Native end-to-end testing?

Yes, Jest and Detox can be integrated together for React Native end-to-end testing. Combining Jest for unit tests, React Native Testing Library for component tests, and Detox for end-to-end tests ensures comprehensive quality coverage.

What is the Red-Green-Refactor cycle in React Native testing?

The Red-Green-Refactor cycle in React Native testing involves writing a failing test, implementing minimal code to pass that test, and then refactoring. It enforces test-driven development for feature work, bug fixes, and refactors.

How do I apply TDD to bug fixes and refactors in a React Native app?

To apply TDD to bug fixes and refactors in a React Native app, begin by writing a failing test that captures the bug or desired refactor behavior, then implement the minimal code to pass the test using the integrated workflow.

Does a guided TDD workflow streamline adoption for React Native teams?

A guided TDD workflow streamlines adoption for React Native teams by providing a clear, repeatable process. It documents best practices and decision points for feature development, ensuring consistent end-to-end quality.

What's the best way to document test-driven development best practices for React Native?

The best way to document test-driven development best practices for React Native is to follow a guided workflow that outlines decision points for feature work. This streamlines team adoption by providing a clear, repeatable Red-Green-Refactor cycle.