---
title: Argent React Native Optimization Skill for Claude Code
canonical: https://skillselion.com/skills/software-mansion/argent/argent-react-native-optimization
content_type: text/markdown
description: "argent-react-native-optimization is an agent skill for Optimizes a React Native app by profiling first to find real bottlenecks, then sweeping for mechanical."
---

# Argent React Native Optimization Skill

Title: Argent React Native Optimization Skill for Claude Code

> argent-react-native-optimization is an agent skill for Optimizes a React Native app by profiling first to find real bottlenecks, then sweeping for mechanical.

Canonical: https://skillselion.com/skills/software-mansion/argent/argent-react-native-optimization

argent-react-native-optimization is an agent skill for 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

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.

## Key facts

- Installs: 31,496
- GitHub stars: 3,198
- Author: software-mansion
- Repository: software-mansion/argent
- Works in Grok Bot: yes
- Install command: `npx skills add https://github.com/software-mansion/argent --skill argent-react-native-optimization`
- Last updated: November 16, 2026

## What Argent React Native Optimization does

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,

When should developers use argent-react-native-optimization and what problem does it solve?

Grounded guidance and workflows from SKILL.md for argent-react-native-optimization.

Best for: Developers working with argent-react-native-optimization patterns described in the skill documentation.

Not for: Skip when cached docs are empty or the task is outside the skill's documented scope.

- Do not apply shotgun optimizations. Measure first, define what "good enough" looks like (target metric + threshold), fix
- **Quick scan**  -  `react-profiler-renders` for a live render count table. Identifies hot components instantly.
- **Deep measure**  -  load `argent-react-native-profiler` skill. `react-profiler-start` → interact → `react-profiler-stop
- **Inspect**  -  `react-profiler-component-source` per finding. `react-profiler-fiber-tree` to trace component ancestry a
- **Verify correctness** - before fixing, recollect information from steps above and make a logical conclusion whether the

## SKILL.md

### Rules

- Do not apply shotgun optimizations. Measure first, define what "good enough" looks like (target metric + threshold), fix the top offender, re-measure honestly.
- **Profile for discovery, not only verification.** Use the profiler to find issues static analysis missed, not only to confirm fixes.
- **Verify before fixing:** recollect the evidence and conclude whether the fix is worth undertaking. Validate a fix with `debugger-evaluate` before committing it.
- **One fix per cycle for architectural changes.** Mechanical batch fixes (inline styles, index keys) can be grouped; re-profile once after the batch. When the measurement involves device interaction, record it as an e2e test (`argent-create-e2e` skill) before the first run so every cycle replays identical steps.
- **React Compiler**: if the project uses it (`babel-plugin-react-compiler` in the Babel config, or `experiments.reactCompiler: true` in the Expo config), skip memoization fixes (`React.memo`, `useMemo`, `useCallback`, hoisting inline objects and functions) in every phase; the compiler does them. Keep them for components the compiler skips (`compilationMode: "annotation"`, `"use no memo"`, a `sources` filter). Where the profiler report marks a component ⚠️ (bailout suspected), fix what stops the compiler.
- **Sub-agents**: Phases 1-2 dispatch sub-agents: one per file for lint results, one per checklist item for semantic. Sub-agents CANNOT touch the device - all profiling and E2E verification must happen in the main agent.

### Pipeline

**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
```

#### Phase 1: Lint sweep

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.

#### Phase 2: Semantic sweep

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.

#### Phase 3: Profiling

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.

#### Phase 4: Verify no regressions

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.

## Argent React Native Optimization FAQ

### What does argent-react-native-optimization do?

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, red

### When should I invoke argent-react-native-optimization?

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, red

### Where is the source documentation?

Ground claims in SKILL.md excerpts and linked reference files from the cached docs.

### Is Argent React Native Optimization safe to install?

skills.sh reports 3 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.

## Machine access

- [Sitemap](https://skillselion.com/sitemap.xml)
- [llms.txt](https://skillselion.com/llms.txt)
- [llms-full.txt](https://skillselion.com/llms-full.txt)
- [Developer resources](https://skillselion.com/developers)
- [OpenAPI spec](https://skillselion.com/openapi.json)
- [MCP handshake](https://skillselion.com/.well-known/mcp)
- [API catalog](https://skillselion.com/.well-known/api-catalog)
- [AI catalog](https://skillselion.com/.well-known/ai-catalog.json)
- [Pricing](https://skillselion.com/pricing.md)
- [Auth](https://skillselion.com/auth.md)
- [AGENTS.md](https://skillselion.com/AGENTS.md)
- [Contact](https://skillselion.com/contact)
- [Home](https://skillselion.com/)
