argent-android-emulato…
Set up and connect to an Android emulator using argent MCP tools. Use when starting a new session on Android, booting an…
Optimizes a React Native app by profiling first to find real bottlenecks, then sweeping for mechanical issues. Entry-point for all performance work. Use when the app feels slow, user asks to optimize, fix re-renders, reduce jank, or improve startup. Delegates to
Claude Code
$ npx -y skills add software-mansion/argent --skill argent-react-native-optimization --agent claude-code
Codex
$ npx skills add software-mansion/argent --skill argent-react-native-optimization -a codex -y
Cursor
$ npx skills add software-mansion/argent --skill argent-react-native-optimization -a cursor -y
Gemini CLI
$ npx skills add software-mansion/argent --skill argent-react-native-optimization -a gemini-cli -y
GitHub Copilot
$ npx skills add software-mansion/argent --skill argent-react-native-optimization -a github-copilot -y
OpenCode
$ npx skills add software-mansion/argent --skill argent-react-native-optimization -a opencode -y
Windsurf
$ npx skills add software-mansion/argent --skill argent-react-native-optimization -a windsurf -y
name: argent-react-native-optimization description: Optimizes a React Native app by profiling first to find real bottlenecks, then sweeping for mechanical issues. Entry-point for all performance work. Use when the app feels slow, user asks to optimize, fix re-renders, reduce jank, or improve startup. Delegates to argent-react-native-profiler for measurement.
**Lint and semantic sweeps catch deterministic issues cheaply. Profiling finds runtime bottlenecks that static analysis misses. Do both.**
Copy this checklist into your TODO list:
Optimization Progress: - [ ] Phase 1: Lint sweep (deterministic: catch mechanical issues without a running app) - [ ] Phase 2: Semantic sweep (judgment: memoization, lists, animations, etc.) - [ ] Phase 3: Baseline profile (find real bottlenecks, fix top offenders) - [ ] Phase 4: Verify no regressions (crashes, errors, red screens) - [ ] Re-run lint to confirm the fixes added no new issues and none were missed
Run ESLint once at the project root with a comprehensive RN performance ruleset. Dispatch sub-agents to fix results: one per file, in parallel. See [references/lint-rules.md](references/lint-rules.md) for ruleset and procedure.
Review each area requiring judgment: memoization, list rendering, animations, async patterns, effect cleanup, state hygiene, context architecture. Dispatch one sub-agent per checklist item. See [references/semantic-checklist.md](references/semantic-checklist.md) for full checklist.
1. Load the `argent-react-native-profiler` skill and follow its workflow (React and native profiling together) on the key user flows: the screens the user named, or all major flows. It covers analysis, drill-down, and re-profiling after each fix. 2. Cross-reference the profiling results with the Phase 1–2 findings, and fix the highest-impact issues top-down. Re-profile after architectural changes; batch mechanical fixes.
Navigate every screen and UI flow within scope (the entire app if no scope was given, via `argent-device-interact`) and confirm each renders without errors. Check `debugger-log-registry` for warnings and errors (`Grep` its log file). Argent hides LogBox toasts once a `debugger-*` tool connects, so screenshots catch only full-screen red errors. Look for regressions the fixes introduced (e.g. fewer re-renders but higher CPU, or new jank on a different screen). Main agent only.
An agentic toolkit to control, debug, and profile iOS and Android apps. Made by Software Mansion.
Set up and connect to an Android emulator using argent MCP tools. Use when starting a new session on Android, booting an…
Create, record, edit, replay, or repair reusable Argent e2e test YAML files. Use when the user asks to record, replay, or run an…
Interact with an iOS simulator, Android emulator, or Chromium (CDP) app using argent MCP tools. Use when tapping UI elements,…
Drive a physical iPhone through argent. Use when a physical iPhone is involved (a list-devices iOS entry with kind "device") and…
Set up a cabled physical iPhone for argent. Use when a physical iPhone is involved (a list-devices iOS entry with kind "device")…
Set up and connect to an iOS simulator using argent MCP tools. Use when starting a new session, booting an iOS simulator, getting…
Decompile Android APK, XAPK, JAR, and AAR files using jadx or Fernflower/Vineflower. Reverse engineer Android apps, extract HTTP…