Browse / Mobile Development / React Native Feature Generator

React Native Feature Generator

Generates new feature modules for React Native applications based on a clean, three-layer (Presentation, Domain, Data) architecture.

SkillMobile DevelopmentCross Platform

The source repository doesn't declare a license. Check its terms before reusing the code.

Key features

  • Provides scaffolding for a three-layer architecture (Presentation, Domain, Data).
  • Offers ready-to-use boilerplate for unit and component testing.
  • Guides the process of adding new screens and registering them in the navigation stack.
  • Includes code templates for components, state management (Zustand), data fetching (TanStack Query), and repositories.
  • Defines clear naming conventions and dependency rules for a scalable codebase.

Use cases

  • Adding a new functional module (e.g., 'User Profile') to a React Native application.
  • Scaffolding the file and folder structure for a new feature quickly and consistently.
  • Learning and applying a domain-driven architecture in a React Native project.

FAQ

What capabilities does it provide?

It provides scaffolding for the Presentation, Domain, and Data layers, including code templates for React components, Zustand for state management, TanStack Query for data fetching, repository patterns, and boilerplate for unit and component tests.

What does this skill do?

This skill automatically generates the complete directory structure and boilerplate code for a new feature module in a React Native application, following a clean, three-layer (Presentation, Domain, Data) architecture.

When should I use this skill?

Use this skill whenever you need to add a new feature to your React Native project, such as a user profile screen, a settings module, or any distinct functional area. It's ideal for starting a new module from scratch.

How does this skill improve my workflow?

It saves significant development time by automating repetitive setup and boilerplate writing. It also enforces a consistent, scalable architecture across your project, making your codebase easier to maintain and onboard new developers.