
argent-react-native-optimization
Optimizes a React Native app by profiling first to find real bottlenecks
by software-mansionFree
Description
argent-react-native-optimization is an agent skill for improving the performance of a React Native app. It is the entry point for all performance work, and it works by profiling first to find real bottlenecks before applying any change. The rules are to avoid shotgun optimizations, to define what good enough looks like as a target metric and threshold, to fix the top offender, and to measure again honestly. A quick scan uses the react-profiler-renders tool to show a live table of render counts and identify hot components. A deep measurement loads the profiler skill and runs a start, interact, stop and analyze sequence. Each finding is checked against its component source and the fiber tree, and the skill asks for a logical conclusion before any fix is made. One fix is applied per cycle for architectural changes, and the result is re-measured, with a revert if there is no net benefit. The skill also covers the React Compiler: when the profiler reports that the compiler is enabled, it does not add useCallback, useMemo or React.memo unless the compiler is confirmed to bail out. Sub-agents can review lint results and checklist items, but they cannot touch the device, so all profiling and end-to-end checks run in the main agent. The skill is installed with npx skills add https://github.com/software-mansion/argent --skill argent-react-native-optimization.…
Highlights
- Profiles before changing code
- Render count table for quick scans
- Per-cycle fixes with re-measurement
- React Compiler awareness
- Install with npx skills add
Ratings & Reviews
No ratings yet
Be the first to rate argent-react-native-optimization.
People also visit
argent-react-native-optimization FAQ
What does this skill do?
It finds real performance bottlenecks in a React Native app by profiling, then fixes them one at a time and measures again.
Does it guess at fixes?
No. The skill says not to apply shotgun optimizations, and to measure first against a target metric.
What if a fix does not help?
The skill says to revert it if there is no net benefit or the trade-offs are not acceptable.
Does it add memo hooks?
Not when the React Compiler is enabled, unless the compiler bail-out is confirmed.
How do I install it?
Run npx skills add https://github.com/software-mansion/argent --skill argent-react-native-optimization.
What are its security audits?
The skills.sh listing shows Gen Agent Trust Hub, Socket and Snyk all passed.
What are the best argent-react-native-optimization alternatives?
Popular alternatives to argent-react-native-optimization include argent-react-native-profiler, callstackincubator/react-native-best-practices and react-native-best-practices. See all argent-react-native-optimization alternatives















