Skip to main content
ZICQ

Skills ZICQ category:Agent Workflows argent-react-native-app-workflow

Argent React Native App Workflow

Step-by-step workflows for developing or debugging React Native apps on iOS simulator or Android emulator. Use when starting the app, debugging Metro, fixing builds, diagnosing runtime errors, or running tests.

31178 installs

Official URL:skills.sh

What this skill does

Intro in this page language first. The official description stays in its original wording; we do not rewrite SKILL.md.

What it does

Step-by-step workflows for developing or debugging React Native apps on iOS simulator or Android emulator

When to use it

starting the app, debugging Metro, fixing builds, diagnosing runtime errors, or running tests

How agents load it

Per Agent Skills progressive disclosure: name and description load at startup (~100 tokens); the full SKILL.md body loads when the skill activates; scripts/, references/, and assets/ load only as needed. This file's sections: 1. Starting the React Native App; 1.1 Read the project's configuration first; 1.2 Start Metro; 1.3 Run the App; 2. Metro Already on the Port?; 3. Build, Reload, Reinstall.

File analysis

File analysis: instruction-only skill (SKILL.md). The agent loads the full body when activated.

1. Starting the React Native App1.1 Read the project's configuration first1.2 Start Metro1.3 Run the App2. Metro Already on the Port?3. Build, Reload, Reinstall4. Runtime Problems in the App5. Testing the App

Source category:skills.sh agent-skill

SKILL.md & Agent activation

Official spec ↗
name
argent-react-native-app-workflow
description
Step-by-step workflows for developing or debugging React Native apps on iOS simulator or Android emulator. Use when starting the app, debugging Metro, fixing builds, diagnosing runtime errors, or running tests.
  1. DiscoverThe client exposes names and descriptions to the agent.
  2. ActivateYour request or the task context selects the skill and loads its instructions.
  3. Load resourcesReferenced scripts, documentation and assets are used when needed.

Invocation syntax and available tools depend on your Agent client. Client integration guide ↗

Install this skill

Skills CLI ↗

Choose the target agent and installation scope, keep referenced package files, then verify the skill appears in the client's catalog.

Ask your Agent to install

Copy these instructions to a compatible agent and confirm the target directory matches your client.

Install the agent skill "argent-react-native-app-workflow" into my project. The full SKILL.md and official description are at https://zicq.com/en/skills/skl-a6c6a792a7358c01-Argent-React-Native-App-Workflow.html
Save it as .cursor/skills/argent-react-native-app-workflow/SKILL.md or .claude/skills/argent-react-native-app-workflow/SKILL.md and keep the frontmatter name and description exactly as-is.

Full package on GitHub ↗

Install from the terminal · Skills CLI

Requires Node.js and npx. First inspect the repository's skill list to confirm the name.

npx skills add 'https://github.com/software-mansion/argent' --list

npx skills add 'https://github.com/software-mansion/argent' --skill 'argent-react-native-app-workflow'

The CLI lets you choose the agent interactively. The default scope is the project; use -g for user scope. Confirm package availability with the discovery command, then use npx skills list to inspect installed skills.

Readable layout
--- name: argent-react-native-app-workflow description: Step-by-step workflows for developing or debugging React Native apps on iOS simulator or Android emulator. Use when starting the app, debugging Metro, fixing builds, diagnosing runtime errors, or running tests. --- Physical iPhone (`kind: "device"`): Metro debugging and profiling tools reject it. Use a simulator. react-native-macos app: start Metro (§1.2), then follow `argent-macos-app-interact` instead of `run-macos`. ## 1. Starting the React Native App ### 1.1 Read the project's configuration first **Before running commands**, read the project's build and run setup: every `package.json` script (custom scripts such as `start:local`, `start:dev`, `ios`, `build:ios` or flavors take priority over the defaults) and `metro.config.js` (a non-default port or `watchFolders`). Do NOT default to `npx react-native …` or `npx expo …` without checking. Before the first build, install dependencies if `node_modules` or `ios/Pods` is missing. **If the project structure is convoluted, ask the user before proceeding.** Once you know how the project starts Metro, builds and runs the app, and what environment setup it needs, **save that to project memory** so you don't need to rediscover it each time. ### 1.2 Start Metro 1. If Metro is already running on the project's port, do not start another (§2). 2. Start it in the background with the project's start script (e.g. `npm run start:local`, `yarn start:dev`). With none: `npx expo start` in an Expo project, `npx react-native start` otherwise. 3. Verify with `debugger-status`: `status: "connected"` or `reason: "no_app_connected"` both mean Metro is up (the app just hasn't attached yet); `reason: "metro_not_running"` means Metro is not reachable. ### 1.3 Run the App Start the app only once Metro is ready, from the project root. Use the project's build/run script if one exists (e.g. `npm run ios`, `npm run android`, `yarn ios:debug`); fall back to the defaults below only if there is none. **Pass the target device explicitly**, taken from `list-devices`: use the platform the user named, and do not pick a cabled physical phone just because it is listed. If the device isn't booted yet, boot it with `boot-device` (see `argent-ios-simulator-setup` / `argent-android-emulator-setup`). ```bash npx expo run:ios --device # Expo npx expo run:android --device npx react-native run-ios --udid # bare RN (needs @react-native-community/cli) npx react-native run-android --deviceId= ``` --- ## 2. Metro Already on the Port? The default port is 8081 unless the project configures another. Check it with `lsof -i :`. If something is listening, `debugger-status` tells you whether it is Metro: `status: "connected"` or `reason: "no_app_connected"` means it is. `reason: "metro_not_running"` while `lsof` shows a listener means the port is held by something that is **not** Metro; the result's `detail` shows what answered (`... (got: ...)`). In that case ask the user whether you may kill the process. To stop a Metro process, use the `stop-metro` tool. --- ## 3. Build, Reload, Reinstall | Situation | Action | | --------------------------------------------- | ---------------------------------------------------------------- | | JS/React only changed | `debugger-reload-metro`, or `restart-app`. No rebuild. | | Native code, pods or project config changed | Rebuild with the project's run command (Metro can stay running). | | App needs reinstalling from a `.app` / `.apk` | `reinstall-app`. | When a build fails (e.g. xcodebuild exit code 65), try the simplest fix first: clean the build folder and retry, then clear caches and reinstall dependencies and pods. **After 2-3 failed build or run attempts, STOP and ask the user for guidance.** The user may know about required env vars, Xcode version requirements, custom build configurations, monorepo-specific setup, or required external services. If the correct build approach is not obvious, **ask the user early** rather than guessing. --- ## 4. Runtime Problems in the App | Problem type | Where to look | | --------------------------------- | ---------------------------------------------------------------------------------------------------------------- | | **JavaScript errors / logs** | `debugger-log-registry` for a summary and the log file path, then `Grep` the file | | **React component hierarchy** | `debugger-component-tree`, or `debugger-inspect-element` at logical pixel coordinates (not normalized 0-1) | | **App state** | `debugger-evaluate` to run JavaScript in the app's runtime | | **Native crashes / native stack** | iOS: `~/Library/Logs/DiagnosticReports/`. Android: `adb -s logcat -d`, with `-b crash` for crashes only | If `list-devices` returns a `hint` about the adb server, prefix the `adb` command above as the hint shows. For connection failures, component inspection and searching the console log file, use the `argent-metro-debugger` skill. Do not open the React Native DevMenu by default; use the argent tools instead. --- ## 5. Testing the App Ask the user before running tests: which suite (unit, E2E, or both), whether to use existing CI commands, and whether they want you to run existing tests, write new ones, or explore test cases yourself. Find the test commands in `package.json` and the test config (Jest, Detox, …). For interactive UI testing with screenshot verification after each action, use the `argent-test-ui-flow` skill. For visible UI changes, follow the `argent-screenshot-diff` skill when stable before/after screenshots add meaningful pixel-visible evidence.

Related skills

Agent Workflows

Skill Creator

Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that exte…

Agent Workflows

Clawdhub

Use the ClawdHub CLI to search, install, update, and publish agent skills from clawdhub.com. Use when you need to fetch new skills on the fl…

Agent Workflows

Agent Team Orchestration

Orchestrate multi-agent teams with defined roles, task lifecycles, handoff protocols, and review workflows. Use when: (1) Setting up a team …

Agent Workflows

Superpowers

Spec-first, TDD, subagent-driven software development workflow. Use when: (1) building any new feature or app — triggers brainstorm → plan →…