一键导入
mobile-perf
Audits React Native app for performance issues - FlatList, re-renders, bridge calls
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Audits React Native app for performance issues - FlatList, re-renders, bridge calls
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Analyzes the current session's token usage, pinpoints where tokens were wasted, and produces concrete optimization actions
Generates API documentation from route definitions (Express, Fastify, Hono, etc.)
Adds caching to expensive operations - Redis, in-memory, HTTP cache headers
Staged değişiklikleri analiz edip Conventional Commits formatında commit mesajı oluşturur
Reports cyclomatic complexity hotspots and refactoring suggestions
Finds unused functions, variables, exports, and dependencies across the codebase
| name | mobile-perf |
| description | Audits React Native app for performance issues - FlatList, re-renders, bridge calls |
| argument-hint | ["file-or-directory"] |
| user-invocable | true |
| allowed-tools | Read Grep Glob |
| effort | medium |
Target: $1 (or src/ if not specified)
grep -rn "map.*return\|\.map(" ${1:-src/} --include="*.tsx" | grep -v "test\|spec" | head -20
map() in JSX for lists > 10 items → should use FlatListFlatList without keyExtractorFlatList without getItemLayout for fixed-height items (prevents scroll optimization)removeClippedSubviews for long listsgrep -rn "useState\|useSelector\|useContext" ${1:-src/} --include="*.tsx" | head -20
style={{ margin: 10 }} recreated every render)React.memo on list itemsuseCallback on functions passed as propsuseNativeDriver: true)InteractionManager.runAfterInteractions for post-navigation heavy workresizeMode and explicit dimensionsFastImage for remote imagesReport with severity and code fix for each finding.