prototype
MAmattpocock/skills336k4,217 new stars in the last 7 days
Entry-point for React Native performance optimization; profiles first via `argent-react-native-profiler`. Use when the app feels slow, fixing re-renders or jank, or improving startup/TTI.
debugger-evaluate before committing it.argent-create-e2e skill) before the first run so every cycle replays identical steps.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.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 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 for full checklist.
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.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 (levels: ["warning", "error"] with tail: 100). If the byLevel warning and error counts exceed the entries shown, Grep its log file for the rest. 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.
TTI lasts until the first usable screen shows real content. The first native frame is often only the splash screen: bundle evaluation, startup data loading and the first screen's render usually come after it.
argent-native-profiler describes. Runtime creation and JS that runs before the first frame show up in this profile.native-profiler-launch-analysis does not cover it, so do not stop at the first frame. Find what the app waits for and renders before the first usable screen (what hides the splash, the startup data loading, the first screen) and measure it with the tools that fit. react-profiler-* cannot record startup: an app restart discards the JS runtime it attaches to.State exactly what was measured, and what comes only from reading the code.
MAmattpocock/skills336k4,217 new stars in the last 7 days
AFaffaan-m/ECC314k3,503 new stars in the last 7 days
FIfirecrawl/firecrawl214k4,815 new stars in the last 7 days
ANanthropics/skills203k2,822 new stars in the last 7 days
Set visual direction and typography for UI, avoiding templated defaults.
ANanthropics/skills203k2,822 new stars in the last 7 days
Build complex HTML artifacts with React, Tailwind CSS, state management and routing.
ANanthropics/skills203k2,822 new stars in the last 7 days