[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7ERPWT6S6PD2J1MVM25KQ2V":3,"skill-same:01M7ERPWT6S6PD2J1MVM25KQ2V":219},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":25,"forksCount":13,"repositoryHtmlUrl":26,"repositoryHomepageUrl":6,"ownerHtmlUrl":27,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":28,"install":29,"resources":42},"01M7ERPWT6S6PD2J1MVM25KQ2V","react-native-best-practices",null,"Provides React Native performance optimization guidelines for FPS, TTI, bundle size, memory leaks, re-renders, and animations. Applies to tasks involving Hermes optimization, JS thread blocking, bridge overhead, FlashList, native modules, or debugging jank and frame drops.","ga-arnez\u002Fhabii-base","ga-arnez","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F171380296?v=4","01M7ERN055RRZGC541T4VJPWAP","01M7ERN05V02WTNTBGR3QYNYFK",0,"MIT","https:\u002F\u002Fgithub.com\u002Fga-arnez\u002Fhabii-base\u002Fblob\u002Fmain\u002Fplugins\u002Fhabii-mobile\u002Fskills\u002Freact-native-best-practices\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: react-native-best-practices\ndescription: Provides React Native performance optimization guidelines for FPS, TTI, bundle size, memory leaks, re-renders, and animations. Applies to tasks involving Hermes optimization, JS thread blocking, bridge overhead, FlashList, native modules, or debugging jank and frame drops.\nlicense: MIT\n---\n\n# React Native Best Practices\n\n## Overview\n\nPerformance optimization guide for React Native applications, covering JavaScript\u002FReact, Native (iOS\u002FAndroid), and bundling optimizations. Based on Callstack's \"Ultimate Guide to React Native Optimization\".\n\n## When to Apply\n\nReference these guidelines when:\n- Debugging slow\u002Fjanky UI or animations\n- Investigating memory leaks (JS or native)\n- Optimizing app startup time (TTI)\n- Reducing bundle or app size\n- Writing native modules (Turbo Modules)\n- Profiling React Native performance\n- Reviewing React Native code for performance\n\n## Security Notes\n\n- Treat shell commands in these references as local developer operations. Review them before running, prefer version-pinned tooling, and avoid piping remote scripts directly to a shell.\n- Treat third-party libraries and plugins as dependencies that still require normal supply-chain controls: pin versions, verify provenance, and update through your standard review process.\n- Treat remote chunk loading as first-party artifact delivery only. Prefer app-bundled chunks or signed CI release manifests; hosted chunks must come from trusted HTTPS origins you control and be pinned to the current app release.\n\n## Priority-Ordered Guidelines\n\n| Priority | Category | Impact | Prefix |\n|----------|----------|--------|--------|\n| 1 | FPS & Re-renders | CRITICAL | `js-*` |\n| 2 | Bundle Size | CRITICAL | `bundle-*` |\n| 3 | TTI Optimization | HIGH | `native-*`, `bundle-*` |\n| 4 | Native Performance | HIGH | `native-*` |\n| 5 | Memory Management | MEDIUM-HIGH | `js-*`, `native-*` |\n| 6 | Animations | MEDIUM | `js-*` |\n\nImpact labels are triage hints: CRITICAL first, HIGH next, MEDIUM when evidence points there.\n\n## Quick Reference\n\n### Optimization Workflow\n\nFollow this cycle for any performance issue: **Measure → Optimize → Re-measure → Validate**\n\n1. **Measure**: Capture baseline metrics before changes. For runtime issues, prefer commit timeline, re-render counts, slow components, heaviest-commit breakdown, and startup\u002FTTI when available. Component tree depth or count are optional context, not substitutes. Do not recommend memoization, atomic state, or compiler changes without a measured render or FPS problem.\n2. **Optimize**: Apply the targeted fix from the relevant reference\n3. **Re-measure**: Run the same measurement to get updated metrics\n4. **Validate**: Confirm improvement (e.g., FPS 45→60, TTI 3.2s→1.8s, bundle 2.1MB→1.6MB)\n\nIf metrics did not improve, revert and try the next suggested fix.\n\n### Review Guardrails\n\n- Check library versions before suggesting API-specific fixes. Example: FlashList v2 deprecates `estimatedItemSize`, so do not flag it as missing there.\n- Do not suggest `useMemo` or `useCallback` dependency changes unless behavior is demonstrably incorrect or profiling shows wasted work tied to that value.\n- Do not report stale closures speculatively. Show the stale read path, a repro, or profiler evidence before calling it out.\n- When profiling a flow, measure the target interaction itself. Do not treat component tree depth or component count as the main performance evidence.\n\n### Critical: FPS & Re-renders\n\n**Profile first:**\n```bash\nagent-device react-devtools status\nagent-device react-devtools wait --connected\nagent-device react-devtools profile start\nagent-device react-devtools profile stop\nagent-device react-devtools profile slow --limit 5\nagent-device react-devtools profile rerenders --limit 5\nagent-device react-devtools profile timeline --limit 20\n```\n\nDrive the target interaction with normal `agent-device` commands between `profile start` and `profile stop`.\n\nManual fallback when `agent-device` is unavailable: open React Native DevTools from Metro (`j`) or the Dev Menu, use the Profiler tab, and record the same interaction.\n\nFor release-build React component profiling, connect [`@callstack\u002Finspector`](https:\u002F\u002Fgithub.com\u002Fcallstackincubator\u002Finspector#inspector) first so React DevTools can attach to the release app, then run the `agent-device react-devtools` flow above.\n\n**Common fixes:**\n- Replace ScrollView with FlatList\u002FFlashList\u002FLegend List for long lists\n- After profiling shows cascading re-renders, use React Compiler for automatic memoization\n- After profiling shows broad store\u002Fcontext updates, use atomic state (Jotai\u002FZustand) to reduce re-renders\n- Use `useDeferredValue` for expensive computations\n\n### Critical: Bundle Size\n\n**Analyze bundle:**\n```bash\nnpx react-native bundle \\\n  --entry-file index.js \\\n  --bundle-output output.js \\\n  --platform ios \\\n  --sourcemap-output output.js.map \\\n  --dev false --minify true\n\nnpx source-map-explorer output.js --no-border-checks\n```\n\n**Verify improvement after optimization:**\n```bash\n# Record baseline size before changes\nls -lh output.js  # e.g., Before: 2.1 MB\n\n# After applying fixes, re-bundle and compare\nnpx react-native bundle --entry-file index.js --bundle-output output.js \\\n  --platform ios --dev false --minify true\nls -lh output.js  # e.g., After: 1.6 MB  (24% reduction)\n```\n\n**Common fixes:**\n- Avoid barrel imports (import directly from source)\n- Remove unnecessary Intl polyfills only after checking Hermes API and method coverage\n- Evaluate tree shaking (Expo SDK 52+ experimental unused import\u002Fexport removal, or Re.Pack only if already configured)\n- Enable R8 for Android native code shrinking\n\n### High: TTI Optimization\n\n**Measure TTI:**\n- Use `react-native-performance` for markers\n- Only measure cold starts (exclude warm\u002Fhot\u002Fprewarm)\n\n**Common fixes:**\n- For React Native 0.78 and earlier, disable Android JS bundle compression to enable Hermes mmap\n- Use native navigation (react-native-screens)\n- Preload commonly-used expensive screens before navigating to them\n\n### High: Native Performance\n\n**Profile native:**\n- iOS: Xcode Instruments → Time Profiler\n- Android: Android Studio → CPU Profiler\n\n**Common fixes:**\n- Use background threads for heavy native work\n- Prefer async over sync Turbo Module methods\n- Use C++ for cross-platform performance-critical code\n\n## References\n\nFull documentation with code examples in [references\u002F][references]:\n\n### JavaScript\u002FReact (`js-*`)\n\n| File | Impact | Description |\n|------|--------|-------------|\n| [js-lists-flatlist-flashlist.md][js-lists-flatlist-flashlist] | CRITICAL | Replace ScrollView with virtualized lists |\n| [js-profile-react.md][js-profile-react] | MEDIUM | `agent-device react-devtools` profiling |\n| [js-measure-fps.md][js-measure-fps] | HIGH | FPS monitoring and measurement |\n| [js-memory-leaks.md][js-memory-leaks] | MEDIUM | JS memory leak hunting |\n| [js-atomic-state.md][js-atomic-state] | HIGH | Jotai\u002FZustand patterns |\n| [js-concurrent-react.md][js-concurrent-react] | HIGH | useDeferredValue, useTransition |\n| [js-react-compiler.md][js-react-compiler] | HIGH | Automatic memoization |\n| [js-animations-reanimated.md][js-animations-reanimated] | MEDIUM | Reanimated worklets |\n| [js-bottomsheet.md][js-bottomsheet] | HIGH | Bottom sheet optimization |\n| [js-uncontrolled-components.md][js-uncontrolled-components] | HIGH | TextInput optimization |\n\n### Native (`native-*`)\n\n| File | Impact | Description |\n|------|--------|-------------|\n| [native-turbo-modules.md][native-turbo-modules] | HIGH | Building fast native modules |\n| [native-sdks-over-polyfills.md][native-sdks-over-polyfills] | HIGH | Native vs JS libraries |\n| [native-measure-tti.md][native-measure-tti] | HIGH | TTI measurement setup |\n| [native-threading-model.md][native-threading-model] | HIGH | Turbo Module threads |\n| [native-profiling.md][native-profiling] | MEDIUM | Xcode\u002FAndroid Studio profiling |\n| [native-platform-setup.md][native-platform-setup] | MEDIUM | iOS\u002FAndroid tooling guide |\n| [native-view-flattening.md][native-view-flattening] | MEDIUM | View hierarchy debugging |\n| [native-memory-patterns.md][native-memory-patterns] | MEDIUM | C++\u002FSwift\u002FKotlin memory |\n| [native-memory-leaks.md][native-memory-leaks] | MEDIUM | Native memory leak hunting |\n| [native-android-16kb-alignment.md][native-android-16kb-alignment] | CRITICAL | Third-party library alignment for Google Play |\n\n### Bundling (`bundle-*`)\n\n| File | Impact | Description |\n|------|--------|-------------|\n| [bundle-barrel-exports.md][bundle-barrel-exports] | CRITICAL | Avoid barrel imports |\n| [bundle-analyze-js.md][bundle-analyze-js] | CRITICAL | JS bundle visualization |\n| [bundle-tree-shaking.md][bundle-tree-shaking] | HIGH | Dead code elimination |\n| [bundle-analyze-app.md][bundle-analyze-app] | HIGH | App size analysis |\n| [bundle-r8-android.md][bundle-r8-android] | HIGH | Android code shrinking |\n| [bundle-hermes-mmap.md][bundle-hermes-mmap] | HIGH | Disable bundle compression |\n| [bundle-native-assets.md][bundle-native-assets] | HIGH | Asset catalog setup |\n| [bundle-library-size.md][bundle-library-size] | MEDIUM | Evaluate dependencies |\n| [bundle-code-splitting.md][bundle-code-splitting] | MEDIUM | Remote chunk loading safeguards |\n\n## Problem → Skill Mapping\n\n| Problem | Start With |\n|---------|------------|\n| App feels slow\u002Fjanky | [js-measure-fps.md][js-measure-fps] → [js-profile-react.md][js-profile-react] |\n| Too many re-renders | [js-profile-react.md][js-profile-react] → [js-react-compiler.md][js-react-compiler] |\n| Slow startup (TTI) | [native-measure-tti.md][native-measure-tti] → [bundle-analyze-js.md][bundle-analyze-js] |\n| Large app size | [bundle-analyze-app.md][bundle-analyze-app] → [bundle-r8-android.md][bundle-r8-android] |\n| Memory growing | [js-memory-leaks.md][js-memory-leaks] or [native-memory-leaks.md][native-memory-leaks] |\n| Animation drops frames | [js-animations-reanimated.md][js-animations-reanimated] |\n| Bottom sheet jank\u002Fre-renders | [js-bottomsheet.md][js-bottomsheet] → [js-animations-reanimated.md][js-animations-reanimated] |\n| List scroll jank | [js-lists-flatlist-flashlist.md][js-lists-flatlist-flashlist] |\n| TextInput lag | [js-uncontrolled-components.md][js-uncontrolled-components] |\n| Native module slow | [native-turbo-modules.md][native-turbo-modules] → [native-threading-model.md][native-threading-model] |\n| Native library alignment issue | [native-android-16kb-alignment.md][native-android-16kb-alignment] |\n\n[references]: references\u002F\n[js-lists-flatlist-flashlist]: references\u002Fjs-lists-flatlist-flashlist.md\n[js-profile-react]: references\u002Fjs-profile-react.md\n[js-measure-fps]: references\u002Fjs-measure-fps.md\n[js-memory-leaks]: references\u002Fjs-memory-leaks.md\n[js-atomic-state]: references\u002Fjs-atomic-state.md\n[js-concurrent-react]: references\u002Fjs-concurrent-react.md\n[js-react-compiler]: references\u002Fjs-react-compiler.md\n[js-animations-reanimated]: references\u002Fjs-animations-reanimated.md\n[js-bottomsheet]: references\u002Fjs-bottomsheet.md\n[js-uncontrolled-components]: references\u002Fjs-uncontrolled-components.md\n[native-turbo-modules]: references\u002Fnative-turbo-modules.md\n[native-sdks-over-polyfills]: references\u002Fnative-sdks-over-polyfills.md\n[native-measure-tti]: references\u002Fnative-measure-tti.md\n[native-threading-model]: references\u002Fnative-threading-model.md\n[native-profiling]: references\u002Fnative-profiling.md\n[native-platform-setup]: references\u002Fnative-platform-setup.md\n[native-view-flattening]: references\u002Fnative-view-flattening.md\n[native-memory-patterns]: references\u002Fnative-memory-patterns.md\n[native-memory-leaks]: references\u002Fnative-memory-leaks.md\n[native-android-16kb-alignment]: references\u002Fnative-android-16kb-alignment.md\n[bundle-barrel-exports]: references\u002Fbundle-barrel-exports.md\n[bundle-analyze-js]: references\u002Fbundle-analyze-js.md\n[bundle-tree-shaking]: references\u002Fbundle-tree-shaking.md\n[bundle-analyze-app]: references\u002Fbundle-analyze-app.md\n[bundle-r8-android]: references\u002Fbundle-r8-android.md\n[bundle-hermes-mmap]: references\u002Fbundle-hermes-mmap.md\n[bundle-native-assets]: references\u002Fbundle-native-assets.md\n[bundle-library-size]: references\u002Fbundle-library-size.md\n[bundle-code-splitting]: references\u002Fbundle-code-splitting.md\n\n## Attribution\n\nBased on \"The Ultimate Guide to React Native Optimization\" by Callstack.\n","# React Native Best Practices\n\n## Overview\n\nPerformance optimization guide for React Native applications, covering JavaScript\u002FReact, Native (iOS\u002FAndroid), and bundling optimizations. Based on Callstack's \"Ultimate Guide to React Native Optimization\".\n\n## When to Apply\n\nReference these guidelines when:\n- Debugging slow\u002Fjanky UI or animations\n- Investigating memory leaks (JS or native)\n- Optimizing app startup time (TTI)\n- Reducing bundle or app size\n- Writing native modules (Turbo Modules)\n- Profiling React Native performance\n- Reviewing React Native code for performance\n\n## Security Notes\n\n- Treat shell commands in these references as local developer operations. Review them before running, prefer version-pinned tooling, and avoid piping remote scripts directly to a shell.\n- Treat third-party libraries and plugins as dependencies that still require normal supply-chain controls: pin versions, verify provenance, and update through your standard review process.\n- Treat remote chunk loading as first-party artifact delivery only. Prefer app-bundled chunks or signed CI release manifests; hosted chunks must come from trusted HTTPS origins you control and be pinned to the current app release.\n\n## Priority-Ordered Guidelines\n\n| Priority | Category | Impact | Prefix |\n|----------|----------|--------|--------|\n| 1 | FPS & Re-renders | CRITICAL | `js-*` |\n| 2 | Bundle Size | CRITICAL | `bundle-*` |\n| 3 | TTI Optimization | HIGH | `native-*`, `bundle-*` |\n| 4 | Native Performance | HIGH | `native-*` |\n| 5 | Memory Management | MEDIUM-HIGH | `js-*`, `native-*` |\n| 6 | Animations | MEDIUM | `js-*` |\n\nImpact labels are triage hints: CRITICAL first, HIGH next, MEDIUM when evidence points there.\n\n## Quick Reference\n\n### Optimization Workflow\n\nFollow this cycle for any performance issue: **Measure → Optimize → Re-measure → Validate**\n\n1. **Measure**: Capture baseline metrics before changes. For runtime issues, prefer commit timeline, re-render counts, slow components, heaviest-commit breakdown, and startup\u002FTTI when available. Component tree depth or count are optional context, not substitutes. Do not recommend memoization, atomic state, or compiler changes without a measured render or FPS problem.\n2. **Optimize**: Apply the targeted fix from the relevant reference\n3. **Re-measure**: Run the same measurement to get updated metrics\n4. **Validate**: Confirm improvement (e.g., FPS 45→60, TTI 3.2s→1.8s, bundle 2.1MB→1.6MB)\n\nIf metrics did not improve, revert and try the next suggested fix.\n\n### Review Guardrails\n\n- Check library versions before suggesting API-specific fixes. Example: FlashList v2 deprecates `estimatedItemSize`, so do not flag it as missing there.\n- Do not suggest `useMemo` or `useCallback` dependency changes unless behavior is demonstrably incorrect or profiling shows wasted work tied to that value.\n- Do not report stale closures speculatively. Show the stale read path, a repro, or profiler evidence before calling it out.\n- When profiling a flow, measure the target interaction itself. Do not treat component tree depth or component count as the main performance evidence.\n\n### Critical: FPS & Re-renders\n\n**Profile first:**\n```bash\nagent-device react-devtools status\nagent-device react-devtools wait --connected\nagent-device react-devtools profile start\nagent-device react-devtools profile stop\nagent-device react-devtools profile slow --limit 5\nagent-device react-devtools profile rerenders --limit 5\nagent-device react-devtools profile timeline --limit 20\n```\n\nDrive the target interaction with normal `agent-device` commands between `profile start` and `profile stop`.\n\nManual fallback when `agent-device` is unavailable: open React Native DevTools from Metro (`j`) or the Dev Menu, use the Profiler tab, and record the same interaction.\n\nFor release-build React component profiling, connect [`@callstack\u002Finspector`](https:\u002F\u002Fgithub.com\u002Fcallstackincubator\u002Finspector#inspector) first so React DevTools can attach to the release app, then run the `agent-device react-devtools` flow above.\n\n**Common fixes:**\n- Replace ScrollView with FlatList\u002FFlashList\u002FLegend List for long lists\n- After profiling shows cascading re-renders, use React Compiler for automatic memoization\n- After profiling shows broad store\u002Fcontext updates, use atomic state (Jotai\u002FZustand) to reduce re-renders\n- Use `useDeferredValue` for expensive computations\n\n### Critical: Bundle Size\n\n**Analyze bundle:**\n```bash\nnpx react-native bundle \\\n  --entry-file index.js \\\n  --bundle-output output.js \\\n  --platform ios \\\n  --sourcemap-output output.js.map \\\n  --dev false --minify true\n\nnpx source-map-explorer output.js --no-border-checks\n```\n\n**Verify improvement after optimization:**\n```bash\n# Record baseline size before changes\nls -lh output.js  # e.g., Before: 2.1 MB\n\n# After applying fixes, re-bundle and compare\nnpx react-native bundle --entry-file index.js --bundle-output output.js \\\n  --platform ios --dev false --minify true\nls -lh output.js  # e.g., After: 1.6 MB  (24% reduction)\n```\n\n**Common fixes:**\n- Avoid barrel imports (import directly from source)\n- Remove unnecessary Intl polyfills only after checking Hermes API and method coverage\n- Evaluate tree shaking (Expo SDK 52+ experimental unused import\u002Fexport removal, or Re.Pack only if already configured)\n- Enable R8 for Android native code shrinking\n\n### High: TTI Optimization\n\n**Measure TTI:**\n- Use `react-native-performance` for markers\n- Only measure cold starts (exclude warm\u002Fhot\u002Fprewarm)\n\n**Common fixes:**\n- For React Native 0.78 and earlier, disable Android JS bundle compression to enable Hermes mmap\n- Use native navigation (react-native-screens)\n- Preload commonly-used expensive screens before navigating to them\n\n### High: Native Performance\n\n**Profile native:**\n- iOS: Xcode Instruments → Time Profiler\n- Android: Android Studio → CPU Profiler\n\n**Common fixes:**\n- Use background threads for heavy native work\n- Prefer async over sync Turbo Module methods\n- Use C++ for cross-platform performance-critical code\n\n## References\n\nFull documentation with code examples in [references\u002F][references]:\n\n### JavaScript\u002FReact (`js-*`)\n\n| File | Impact | Description |\n|------|--------|-------------|\n| [js-lists-flatlist-flashlist.md][js-lists-flatlist-flashlist] | CRITICAL | Replace ScrollView with virtualized lists |\n| [js-profile-react.md][js-profile-react] | MEDIUM | `agent-device react-devtools` profiling |\n| [js-measure-fps.md][js-measure-fps] | HIGH | FPS monitoring and measurement |\n| [js-memory-leaks.md][js-memory-leaks] | MEDIUM | JS memory leak hunting |\n| [js-atomic-state.md][js-atomic-state] | HIGH | Jotai\u002FZustand patterns |\n| [js-concurrent-react.md][js-concurrent-react] | HIGH | useDeferredValue, useTransition |\n| [js-react-compiler.md][js-react-compiler] | HIGH | Automatic memoization |\n| [js-animations-reanimated.md][js-animations-reanimated] | MEDIUM | Reanimated worklets |\n| [js-bottomsheet.md][js-bottomsheet] | HIGH | Bottom sheet optimization |\n| [js-uncontrolled-components.md][js-uncontrolled-components] | HIGH | TextInput optimization |\n\n### Native (`native-*`)\n\n| File | Impact | Description |\n|------|--------|-------------|\n| [native-turbo-modules.md][native-turbo-modules] | HIGH | Building fast native modules |\n| [native-sdks-over-polyfills.md][native-sdks-over-polyfills] | HIGH | Native vs JS libraries |\n| [native-measure-tti.md][native-measure-tti] | HIGH | TTI measurement setup |\n| [native-threading-model.md][native-threading-model] | HIGH | Turbo Module threads |\n| [native-profiling.md][native-profiling] | MEDIUM | Xcode\u002FAndroid Studio profiling |\n| [native-platform-setup.md][native-platform-setup] | MEDIUM | iOS\u002FAndroid tooling guide |\n| [native-view-flattening.md][native-view-flattening] | MEDIUM | View hierarchy debugging |\n| [native-memory-patterns.md][native-memory-patterns] | MEDIUM | C++\u002FSwift\u002FKotlin memory |\n| [native-memory-leaks.md][native-memory-leaks] | MEDIUM | Native memory leak hunting |\n| [native-android-16kb-alignment.md][native-android-16kb-alignment] | CRITICAL | Third-party library alignment for Google Play |\n\n### Bundling (`bundle-*`)\n\n| File | Impact | Description |\n|------|--------|-------------|\n| [bundle-barrel-exports.md][bundle-barrel-exports] | CRITICAL | Avoid barrel imports |\n| [bundle-analyze-js.md][bundle-analyze-js] | CRITICAL | JS bundle visualization |\n| [bundle-tree-shaking.md][bundle-tree-shaking] | HIGH | Dead code elimination |\n| [bundle-analyze-app.md][bundle-analyze-app] | HIGH | App size analysis |\n| [bundle-r8-android.md][bundle-r8-android] | HIGH | Android code shrinking |\n| [bundle-hermes-mmap.md][bundle-hermes-mmap] | HIGH | Disable bundle compression |\n| [bundle-native-assets.md][bundle-native-assets] | HIGH | Asset catalog setup |\n| [bundle-library-size.md][bundle-library-size] | MEDIUM | Evaluate dependencies |\n| [bundle-code-splitting.md][bundle-code-splitting] | MEDIUM | Remote chunk loading safeguards |\n\n## Problem → Skill Mapping\n\n| Problem | Start With |\n|---------|------------|\n| App feels slow\u002Fjanky | [js-measure-fps.md][js-measure-fps] → [js-profile-react.md][js-profile-react] |\n| Too many re-renders | [js-profile-react.md][js-profile-react] → [js-react-compiler.md][js-react-compiler] |\n| Slow startup (TTI) | [native-measure-tti.md][native-measure-tti] → [bundle-analyze-js.md][bundle-analyze-js] |\n| Large app size | [bundle-analyze-app.md][bundle-analyze-app] → [bundle-r8-android.md][bundle-r8-android] |\n| Memory growing | [js-memory-leaks.md][js-memory-leaks] or [native-memory-leaks.md][native-memory-leaks] |\n| Animation drops frames | [js-animations-reanimated.md][js-animations-reanimated] |\n| Bottom sheet jank\u002Fre-renders | [js-bottomsheet.md][js-bottomsheet] → [js-animations-reanimated.md][js-animations-reanimated] |\n| List scroll jank | [js-lists-flatlist-flashlist.md][js-lists-flatlist-flashlist] |\n| TextInput lag | [js-uncontrolled-components.md][js-uncontrolled-components] |\n| Native module slow | [native-turbo-modules.md][native-turbo-modules] → [native-threading-model.md][native-threading-model] |\n| Native library alignment issue | [native-android-16kb-alignment.md][native-android-16kb-alignment] |\n\n[references]: references\u002F\n[js-lists-flatlist-flashlist]: references\u002Fjs-lists-flatlist-flashlist.md\n[js-profile-react]: references\u002Fjs-profile-react.md\n[js-measure-fps]: references\u002Fjs-measure-fps.md\n[js-memory-leaks]: references\u002Fjs-memory-leaks.md\n[js-atomic-state]: references\u002Fjs-atomic-state.md\n[js-concurrent-react]: references\u002Fjs-concurrent-react.md\n[js-react-compiler]: references\u002Fjs-react-compiler.md\n[js-animations-reanimated]: references\u002Fjs-animations-reanimated.md\n[js-bottomsheet]: references\u002Fjs-bottomsheet.md\n[js-uncontrolled-components]: references\u002Fjs-uncontrolled-components.md\n[native-turbo-modules]: references\u002Fnative-turbo-modules.md\n[native-sdks-over-polyfills]: references\u002Fnative-sdks-over-polyfills.md\n[native-measure-tti]: references\u002Fnative-measure-tti.md\n[native-threading-model]: references\u002Fnative-threading-model.md\n[native-profiling]: references\u002Fnative-profiling.md\n[native-platform-setup]: references\u002Fnative-platform-setup.md\n[native-view-flattening]: references\u002Fnative-view-flattening.md\n[native-memory-patterns]: references\u002Fnative-memory-patterns.md\n[native-memory-leaks]: references\u002Fnative-memory-leaks.md\n[native-android-16kb-alignment]: references\u002Fnative-android-16kb-alignment.md\n[bundle-barrel-exports]: references\u002Fbundle-barrel-exports.md\n[bundle-analyze-js]: references\u002Fbundle-analyze-js.md\n[bundle-tree-shaking]: references\u002Fbundle-tree-shaking.md\n[bundle-analyze-app]: references\u002Fbundle-analyze-app.md\n[bundle-r8-android]: references\u002Fbundle-r8-android.md\n[bundle-hermes-mmap]: references\u002Fbundle-hermes-mmap.md\n[bundle-native-assets]: references\u002Fbundle-native-assets.md\n[bundle-library-size]: references\u002Fbundle-library-size.md\n[bundle-code-splitting]: references\u002Fbundle-code-splitting.md\n\n## Attribution\n\nBased on \"The Ultimate Guide to React Native Optimization\" by Callstack.\n",{"name":5,"license":14,"description":7},"main","673b9947a5ae59be5e46a590b2dddb529b8461ba","plugins\u002Fhabii-mobile\u002Fskills\u002Freact-native-best-practices","https:\u002F\u002Fgithub.com\u002Fga-arnez\u002Fhabii-base","https:\u002F\u002Fgithub.com\u002Fga-arnez","2026-11-13 05:04:20",{"source":8,"skillName":5,"commands":30,"prompt":40,"zipAvailable":41},[31,34,37],{"tool":32,"command":33},"npx","npx skills add ga-arnez\u002Fhabii-base --skill react-native-best-practices",{"tool":35,"command":36},"bunx","bunx skills add ga-arnez\u002Fhabii-base --skill react-native-best-practices",{"tool":38,"command":39},"pnpm","pnpm dlx skills add ga-arnez\u002Fhabii-base --skill react-native-best-practices","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fga-arnez\u002Fhabii-base\u002Fblob\u002Fmain\u002Fplugins\u002Fhabii-mobile\u002Fskills\u002Freact-native-best-practices\u002FSKILL.md",true,[43,49,53,57,61,65,69,73,77,81,85,89,95,99,103,107,111,115,119,123,127,131,135,139,143,147,151,155,159,163,167,171,175,179,183,187,191,195,199,203,207,211,215],{"path":44,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":47,"sourceHtmlUrl":48},"agents\u002Fopenai.yaml","REFERENCE","参考文档",227,"https:\u002F\u002Fgithub.com\u002Fga-arnez\u002Fhabii-base\u002Fblob\u002Fmain\u002Fplugins\u002Fhabii-mobile\u002Fskills\u002Freact-native-best-practices\u002Fagents\u002Fopenai.yaml",{"path":50,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":51,"sourceHtmlUrl":52},"POWER.md",8312,"https:\u002F\u002Fgithub.com\u002Fga-arnez\u002Fhabii-base\u002Fblob\u002Fmain\u002Fplugins\u002Fhabii-mobile\u002Fskills\u002Freact-native-best-practices\u002FPOWER.md",{"path":54,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":55,"sourceHtmlUrl":56},"references\u002Fbundle-analyze-app.md",5461,"https:\u002F\u002Fgithub.com\u002Fga-arnez\u002Fhabii-base\u002Fblob\u002Fmain\u002Fplugins\u002Fhabii-mobile\u002Fskills\u002Freact-native-best-practices\u002Freferences\u002Fbundle-analyze-app.md",{"path":58,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":59,"sourceHtmlUrl":60},"references\u002Fbundle-analyze-js.md",7029,"https:\u002F\u002Fgithub.com\u002Fga-arnez\u002Fhabii-base\u002Fblob\u002Fmain\u002Fplugins\u002Fhabii-mobile\u002Fskills\u002Freact-native-best-practices\u002Freferences\u002Fbundle-analyze-js.md",{"path":62,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":63,"sourceHtmlUrl":64},"references\u002Fbundle-barrel-exports.md",5406,"https:\u002F\u002Fgithub.com\u002Fga-arnez\u002Fhabii-base\u002Fblob\u002Fmain\u002Fplugins\u002Fhabii-mobile\u002Fskills\u002Freact-native-best-practices\u002Freferences\u002Fbundle-barrel-exports.md",{"path":66,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":67,"sourceHtmlUrl":68},"references\u002Fbundle-code-splitting.md",7545,"https:\u002F\u002Fgithub.com\u002Fga-arnez\u002Fhabii-base\u002Fblob\u002Fmain\u002Fplugins\u002Fhabii-mobile\u002Fskills\u002Freact-native-best-practices\u002Freferences\u002Fbundle-code-splitting.md",{"path":70,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":71,"sourceHtmlUrl":72},"references\u002Fbundle-hermes-mmap.md",4133,"https:\u002F\u002Fgithub.com\u002Fga-arnez\u002Fhabii-base\u002Fblob\u002Fmain\u002Fplugins\u002Fhabii-mobile\u002Fskills\u002Freact-native-best-practices\u002Freferences\u002Fbundle-hermes-mmap.md",{"path":74,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":75,"sourceHtmlUrl":76},"references\u002Fbundle-library-size.md",4150,"https:\u002F\u002Fgithub.com\u002Fga-arnez\u002Fhabii-base\u002Fblob\u002Fmain\u002Fplugins\u002Fhabii-mobile\u002Fskills\u002Freact-native-best-practices\u002Freferences\u002Fbundle-library-size.md",{"path":78,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":79,"sourceHtmlUrl":80},"references\u002Fbundle-native-assets.md",5041,"https:\u002F\u002Fgithub.com\u002Fga-arnez\u002Fhabii-base\u002Fblob\u002Fmain\u002Fplugins\u002Fhabii-mobile\u002Fskills\u002Freact-native-best-practices\u002Freferences\u002Fbundle-native-assets.md",{"path":82,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":83,"sourceHtmlUrl":84},"references\u002Fbundle-r8-android.md",5356,"https:\u002F\u002Fgithub.com\u002Fga-arnez\u002Fhabii-base\u002Fblob\u002Fmain\u002Fplugins\u002Fhabii-mobile\u002Fskills\u002Freact-native-best-practices\u002Freferences\u002Fbundle-r8-android.md",{"path":86,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":87,"sourceHtmlUrl":88},"references\u002Fbundle-tree-shaking.md",5690,"https:\u002F\u002Fgithub.com\u002Fga-arnez\u002Fhabii-base\u002Fblob\u002Fmain\u002Fplugins\u002Fhabii-mobile\u002Fskills\u002Freact-native-best-practices\u002Freferences\u002Fbundle-tree-shaking.md",{"path":90,"resourceType":91,"resourceTypeDesc":92,"sizeBytes":93,"sourceHtmlUrl":94},"references\u002Fimages\u002Fbundle-treemap-source-map-explorer.png","ASSET","资产文件",667493,"https:\u002F\u002Fgithub.com\u002Fga-arnez\u002Fhabii-base\u002Fblob\u002Fmain\u002Fplugins\u002Fhabii-mobile\u002Fskills\u002Freact-native-best-practices\u002Freferences\u002Fimages\u002Fbundle-treemap-source-map-explorer.png",{"path":96,"resourceType":91,"resourceTypeDesc":92,"sizeBytes":97,"sourceHtmlUrl":98},"references\u002Fimages\u002Fcontrolled-textinput-pingpong.png",127223,"https:\u002F\u002Fgithub.com\u002Fga-arnez\u002Fhabii-base\u002Fblob\u002Fmain\u002Fplugins\u002Fhabii-mobile\u002Fskills\u002Freact-native-best-practices\u002Freferences\u002Fimages\u002Fcontrolled-textinput-pingpong.png",{"path":100,"resourceType":91,"resourceTypeDesc":92,"sizeBytes":101,"sourceHtmlUrl":102},"references\u002Fimages\u002Fdevtools-flamegraph.png",520655,"https:\u002F\u002Fgithub.com\u002Fga-arnez\u002Fhabii-base\u002Fblob\u002Fmain\u002Fplugins\u002Fhabii-mobile\u002Fskills\u002Freact-native-best-practices\u002Freferences\u002Fimages\u002Fdevtools-flamegraph.png",{"path":104,"resourceType":91,"resourceTypeDesc":92,"sizeBytes":105,"sourceHtmlUrl":106},"references\u002Fimages\u002Femerge-xray-ios.png",439669,"https:\u002F\u002Fgithub.com\u002Fga-arnez\u002Fhabii-base\u002Fblob\u002Fmain\u002Fplugins\u002Fhabii-mobile\u002Fskills\u002Freact-native-best-practices\u002Freferences\u002Fimages\u002Femerge-xray-ios.png",{"path":108,"resourceType":91,"resourceTypeDesc":92,"sizeBytes":109,"sourceHtmlUrl":110},"references\u002Fimages\u002Fexpo-atlas-treemap.png",618904,"https:\u002F\u002Fgithub.com\u002Fga-arnez\u002Fhabii-base\u002Fblob\u002Fmain\u002Fplugins\u002Fhabii-mobile\u002Fskills\u002Freact-native-best-practices\u002Freferences\u002Fimages\u002Fexpo-atlas-treemap.png",{"path":112,"resourceType":91,"resourceTypeDesc":92,"sizeBytes":113,"sourceHtmlUrl":114},"references\u002Fimages\u002Fflashlight-flatlist-vs-flashlist.png",313215,"https:\u002F\u002Fgithub.com\u002Fga-arnez\u002Fhabii-base\u002Fblob\u002Fmain\u002Fplugins\u002Fhabii-mobile\u002Fskills\u002Freact-native-best-practices\u002Freferences\u002Fimages\u002Fflashlight-flatlist-vs-flashlist.png",{"path":116,"resourceType":91,"resourceTypeDesc":92,"sizeBytes":117,"sourceHtmlUrl":118},"references\u002Fimages\u002Ffps-drop-graph.png",152493,"https:\u002F\u002Fgithub.com\u002Fga-arnez\u002Fhabii-base\u002Fblob\u002Fmain\u002Fplugins\u002Fhabii-mobile\u002Fskills\u002Freact-native-best-practices\u002Freferences\u002Fimages\u002Ffps-drop-graph.png",{"path":120,"resourceType":91,"resourceTypeDesc":92,"sizeBytes":121,"sourceHtmlUrl":122},"references\u002Fimages\u002Fmemory-heap-snapshot.png",308032,"https:\u002F\u002Fgithub.com\u002Fga-arnez\u002Fhabii-base\u002Fblob\u002Fmain\u002Fplugins\u002Fhabii-mobile\u002Fskills\u002Freact-native-best-practices\u002Freferences\u002Fimages\u002Fmemory-heap-snapshot.png",{"path":124,"resourceType":91,"resourceTypeDesc":92,"sizeBytes":125,"sourceHtmlUrl":126},"references\u002Fimages\u002Ftti-warm-start-diagram.png",127254,"https:\u002F\u002Fgithub.com\u002Fga-arnez\u002Fhabii-base\u002Fblob\u002Fmain\u002Fplugins\u002Fhabii-mobile\u002Fskills\u002Freact-native-best-practices\u002Freferences\u002Fimages\u002Ftti-warm-start-diagram.png",{"path":128,"resourceType":91,"resourceTypeDesc":92,"sizeBytes":129,"sourceHtmlUrl":130},"references\u002Fimages\u002Fview-hierarchy-flattening.png",2587021,"https:\u002F\u002Fgithub.com\u002Fga-arnez\u002Fhabii-base\u002Fblob\u002Fmain\u002Fplugins\u002Fhabii-mobile\u002Fskills\u002Freact-native-best-practices\u002Freferences\u002Fimages\u002Fview-hierarchy-flattening.png",{"path":132,"resourceType":91,"resourceTypeDesc":92,"sizeBytes":133,"sourceHtmlUrl":134},"references\u002Fimages\u002Fxcode-instruments-templates.png",408360,"https:\u002F\u002Fgithub.com\u002Fga-arnez\u002Fhabii-base\u002Fblob\u002Fmain\u002Fplugins\u002Fhabii-mobile\u002Fskills\u002Freact-native-best-practices\u002Freferences\u002Fimages\u002Fxcode-instruments-templates.png",{"path":136,"resourceType":91,"resourceTypeDesc":92,"sizeBytes":137,"sourceHtmlUrl":138},"references\u002Fimages\u002Fxcode-thread-view.png",178440,"https:\u002F\u002Fgithub.com\u002Fga-arnez\u002Fhabii-base\u002Fblob\u002Fmain\u002Fplugins\u002Fhabii-mobile\u002Fskills\u002Freact-native-best-practices\u002Freferences\u002Fimages\u002Fxcode-thread-view.png",{"path":140,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":141,"sourceHtmlUrl":142},"references\u002Fjs-animations-reanimated.md",8015,"https:\u002F\u002Fgithub.com\u002Fga-arnez\u002Fhabii-base\u002Fblob\u002Fmain\u002Fplugins\u002Fhabii-mobile\u002Fskills\u002Freact-native-best-practices\u002Freferences\u002Fjs-animations-reanimated.md",{"path":144,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":145,"sourceHtmlUrl":146},"references\u002Fjs-atomic-state.md",5267,"https:\u002F\u002Fgithub.com\u002Fga-arnez\u002Fhabii-base\u002Fblob\u002Fmain\u002Fplugins\u002Fhabii-mobile\u002Fskills\u002Freact-native-best-practices\u002Freferences\u002Fjs-atomic-state.md",{"path":148,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":149,"sourceHtmlUrl":150},"references\u002Fjs-bottomsheet.md",12199,"https:\u002F\u002Fgithub.com\u002Fga-arnez\u002Fhabii-base\u002Fblob\u002Fmain\u002Fplugins\u002Fhabii-mobile\u002Fskills\u002Freact-native-best-practices\u002Freferences\u002Fjs-bottomsheet.md",{"path":152,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":153,"sourceHtmlUrl":154},"references\u002Fjs-concurrent-react.md",6652,"https:\u002F\u002Fgithub.com\u002Fga-arnez\u002Fhabii-base\u002Fblob\u002Fmain\u002Fplugins\u002Fhabii-mobile\u002Fskills\u002Freact-native-best-practices\u002Freferences\u002Fjs-concurrent-react.md",{"path":156,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":157,"sourceHtmlUrl":158},"references\u002Fjs-lists-flatlist-flashlist.md",5998,"https:\u002F\u002Fgithub.com\u002Fga-arnez\u002Fhabii-base\u002Fblob\u002Fmain\u002Fplugins\u002Fhabii-mobile\u002Fskills\u002Freact-native-best-practices\u002Freferences\u002Fjs-lists-flatlist-flashlist.md",{"path":160,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":161,"sourceHtmlUrl":162},"references\u002Fjs-measure-fps.md",5306,"https:\u002F\u002Fgithub.com\u002Fga-arnez\u002Fhabii-base\u002Fblob\u002Fmain\u002Fplugins\u002Fhabii-mobile\u002Fskills\u002Freact-native-best-practices\u002Freferences\u002Fjs-measure-fps.md",{"path":164,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":165,"sourceHtmlUrl":166},"references\u002Fjs-memory-leaks.md",5301,"https:\u002F\u002Fgithub.com\u002Fga-arnez\u002Fhabii-base\u002Fblob\u002Fmain\u002Fplugins\u002Fhabii-mobile\u002Fskills\u002Freact-native-best-practices\u002Freferences\u002Fjs-memory-leaks.md",{"path":168,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":169,"sourceHtmlUrl":170},"references\u002Fjs-profile-react.md",5871,"https:\u002F\u002Fgithub.com\u002Fga-arnez\u002Fhabii-base\u002Fblob\u002Fmain\u002Fplugins\u002Fhabii-mobile\u002Fskills\u002Freact-native-best-practices\u002Freferences\u002Fjs-profile-react.md",{"path":172,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":173,"sourceHtmlUrl":174},"references\u002Fjs-react-compiler.md",7372,"https:\u002F\u002Fgithub.com\u002Fga-arnez\u002Fhabii-base\u002Fblob\u002Fmain\u002Fplugins\u002Fhabii-mobile\u002Fskills\u002Freact-native-best-practices\u002Freferences\u002Fjs-react-compiler.md",{"path":176,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":177,"sourceHtmlUrl":178},"references\u002Fjs-uncontrolled-components.md",5492,"https:\u002F\u002Fgithub.com\u002Fga-arnez\u002Fhabii-base\u002Fblob\u002Fmain\u002Fplugins\u002Fhabii-mobile\u002Fskills\u002Freact-native-best-practices\u002Freferences\u002Fjs-uncontrolled-components.md",{"path":180,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":181,"sourceHtmlUrl":182},"references\u002Fnative-android-16kb-alignment.md",3761,"https:\u002F\u002Fgithub.com\u002Fga-arnez\u002Fhabii-base\u002Fblob\u002Fmain\u002Fplugins\u002Fhabii-mobile\u002Fskills\u002Freact-native-best-practices\u002Freferences\u002Fnative-android-16kb-alignment.md",{"path":184,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":185,"sourceHtmlUrl":186},"references\u002Fnative-measure-tti.md",6527,"https:\u002F\u002Fgithub.com\u002Fga-arnez\u002Fhabii-base\u002Fblob\u002Fmain\u002Fplugins\u002Fhabii-mobile\u002Fskills\u002Freact-native-best-practices\u002Freferences\u002Fnative-measure-tti.md",{"path":188,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":189,"sourceHtmlUrl":190},"references\u002Fnative-memory-leaks.md",5627,"https:\u002F\u002Fgithub.com\u002Fga-arnez\u002Fhabii-base\u002Fblob\u002Fmain\u002Fplugins\u002Fhabii-mobile\u002Fskills\u002Freact-native-best-practices\u002Freferences\u002Fnative-memory-leaks.md",{"path":192,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":193,"sourceHtmlUrl":194},"references\u002Fnative-memory-patterns.md",5986,"https:\u002F\u002Fgithub.com\u002Fga-arnez\u002Fhabii-base\u002Fblob\u002Fmain\u002Fplugins\u002Fhabii-mobile\u002Fskills\u002Freact-native-best-practices\u002Freferences\u002Fnative-memory-patterns.md",{"path":196,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":197,"sourceHtmlUrl":198},"references\u002Fnative-platform-setup.md",3786,"https:\u002F\u002Fgithub.com\u002Fga-arnez\u002Fhabii-base\u002Fblob\u002Fmain\u002Fplugins\u002Fhabii-mobile\u002Fskills\u002Freact-native-best-practices\u002Freferences\u002Fnative-platform-setup.md",{"path":200,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":201,"sourceHtmlUrl":202},"references\u002Fnative-profiling.md",4358,"https:\u002F\u002Fgithub.com\u002Fga-arnez\u002Fhabii-base\u002Fblob\u002Fmain\u002Fplugins\u002Fhabii-mobile\u002Fskills\u002Freact-native-best-practices\u002Freferences\u002Fnative-profiling.md",{"path":204,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":205,"sourceHtmlUrl":206},"references\u002Fnative-sdks-over-polyfills.md",6279,"https:\u002F\u002Fgithub.com\u002Fga-arnez\u002Fhabii-base\u002Fblob\u002Fmain\u002Fplugins\u002Fhabii-mobile\u002Fskills\u002Freact-native-best-practices\u002Freferences\u002Fnative-sdks-over-polyfills.md",{"path":208,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":209,"sourceHtmlUrl":210},"references\u002Fnative-threading-model.md",6882,"https:\u002F\u002Fgithub.com\u002Fga-arnez\u002Fhabii-base\u002Fblob\u002Fmain\u002Fplugins\u002Fhabii-mobile\u002Fskills\u002Freact-native-best-practices\u002Freferences\u002Fnative-threading-model.md",{"path":212,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":213,"sourceHtmlUrl":214},"references\u002Fnative-turbo-modules.md",5650,"https:\u002F\u002Fgithub.com\u002Fga-arnez\u002Fhabii-base\u002Fblob\u002Fmain\u002Fplugins\u002Fhabii-mobile\u002Fskills\u002Freact-native-best-practices\u002Freferences\u002Fnative-turbo-modules.md",{"path":216,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":217,"sourceHtmlUrl":218},"references\u002Fnative-view-flattening.md",5236,"https:\u002F\u002Fgithub.com\u002Fga-arnez\u002Fhabii-base\u002Fblob\u002Fmain\u002Fplugins\u002Fhabii-mobile\u002Fskills\u002Freact-native-best-practices\u002Freferences\u002Fnative-view-flattening.md",[220,227,234,241,248,257],{"skillNo":221,"name":222,"nameZh":6,"description":223,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":224,"categories":225,"keywords":226,"publishedAt":18},"01M7ERS7Y51EDYAWW4NVTXH722","vercel-react-best-practices","React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React\u002FNext.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.","https:\u002F\u002Fgithub.com\u002Fga-arnez\u002Fhabii-base\u002Fblob\u002Fmain\u002Fplugins\u002Fhabii-ts\u002Fskills\u002Fvercel-react-best-practices\u002FSKILL.md",[],[],{"skillNo":228,"name":229,"nameZh":6,"description":230,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":231,"categories":232,"keywords":233,"publishedAt":18},"01M7ERS2YQMAPNHTXQ011SZEPF","vercel-composition-patterns","React composition patterns that scale. Use when refactoring components with boolean prop proliferation, building flexible component libraries, or designing reusable APIs. Triggers on tasks involving compound components, render props, context providers, or component architecture. Includes React 19 API changes.","https:\u002F\u002Fgithub.com\u002Fga-arnez\u002Fhabii-base\u002Fblob\u002Fmain\u002Fplugins\u002Fhabii-ts\u002Fskills\u002Fvercel-composition-patterns\u002FSKILL.md",[],[],{"skillNo":235,"name":236,"nameZh":6,"description":237,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":238,"categories":239,"keywords":240,"publishedAt":18},"01M7ERREG7BR55CZYE944RKBK3","prisma-client-api","Prisma Client API reference covering model queries, filters, operators, and client methods. Use when writing database queries, using CRUD operations, filtering data, or configuring Prisma Client. Triggers on \"prisma query\", \"findMany\", \"create\", \"update\", \"delete\", \"$transaction\".","https:\u002F\u002Fgithub.com\u002Fga-arnez\u002Fhabii-base\u002Fblob\u002Fmain\u002Fplugins\u002Fhabii-ts\u002Fskills\u002Fprisma-client-api\u002FSKILL.md",[],[],{"skillNo":242,"name":243,"nameZh":6,"description":244,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":245,"categories":246,"keywords":247,"publishedAt":18},"01M7ERRAMGZJ0W08Y98D6ZC6WV","prisma-cli","Prisma ORM 7 CLI reference for existing Prisma 7 applications or explicitly selected Prisma 7 workflows. Covers prisma init, generate, migrate, db, dev, studio, and mcp. For setup, connection repair, or Prisma 8, use prisma-orm-setup; not the Prisma Platform CLI.","https:\u002F\u002Fgithub.com\u002Fga-arnez\u002Fhabii-base\u002Fblob\u002Fmain\u002Fplugins\u002Fhabii-ts\u002Fskills\u002Fprisma-cli\u002FSKILL.md",[],[],{"skillNo":249,"name":250,"nameZh":6,"description":251,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":252,"licenseFileUrl":253,"sourceHtmlUrl":254,"categories":255,"keywords":256,"publishedAt":18},"01M7ERR7K7RJR1CW1SB7RW769B","frontend-design","Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fga-arnez\u002Fhabii-base\u002Fblob\u002Fmain\u002Fplugins\u002Fhabii-ts\u002Fskills\u002Ffrontend-design\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fga-arnez\u002Fhabii-base\u002Fblob\u002Fmain\u002Fplugins\u002Fhabii-ts\u002Fskills\u002Ffrontend-design\u002FSKILL.md",[],[],{"skillNo":258,"name":259,"nameZh":6,"description":260,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":261,"categories":262,"keywords":263,"publishedAt":18},"01M7ERQMMESXB742C1RD1139DP","security-check","Use when auditing a Rails app for XSS, CSRF, SQLi, IDOR, secrets, or auth bypass. Never print secrets. Trigger words: security, audit, XSS, CSRF, SQL injection, vulnerability.","https:\u002F\u002Fgithub.com\u002Fga-arnez\u002Fhabii-base\u002Fblob\u002Fmain\u002Fplugins\u002Fhabii-rails\u002Fskills\u002Fsecurity-check\u002FSKILL.md",[],[]]