[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6EMH62T80PV0982N4AWYCHQ":3,"skill-same:01M6EMH62T80PV0982N4AWYCHQ":72},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":37,"linkOnly":38,"markdownContent":39,"markdownBody":40,"frontMatter":41,"refName":43,"commitSha":44,"skillDirectory":45,"forksCount":46,"repositoryHtmlUrl":47,"repositoryHomepageUrl":48,"ownerHtmlUrl":49,"ownerBlogUrl":6,"ownerDescription":50,"updatedAt":51,"install":52,"resources":65},"01M6EMH62T80PV0982N4AWYCHQ","mobile-debugging",null,"Debug React Native apps including metro bundler issues, native errors, performance problems, and crash analysis. Use when troubleshooting errors or investigating issues.","ComeOnOliver\u002Fskillshub","ComeOnOliver","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F43215937?v=4","01M6E5JNFECJAAVFE0W7SMWWD2","Haoran Shu","01M6E5JNNDQS7AJZDYFQ8TPZCK",67,"MIT","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Faiskillstore\u002Fmarketplace\u002Fbabakbar\u002Fmobile-debugging\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36],"mobile debugging","debugging","mobile","read","native","apps","native apps","crash","use","react native","performance","grep","troubleshooting","Bash","analysis","issues","debug","react","2026-11-10 10:12:30",false,"---\nname: mobile-debugging\ndescription: Debug React Native apps including metro bundler issues, native errors, performance problems, and crash analysis. Use when troubleshooting errors or investigating issues.\nallowed-tools: Bash, Read, Grep\n---\n\n# Mobile Debugging\n\nDebugging guide for React Native and Expo applications.\n\n## When to Use\n\n- App crashes or freezes\n- Metro bundler errors\n- Native module issues\n- Performance problems\n- Build failures\n- Network request debugging\n\n## Common Issues & Fixes\n\n### Metro Bundler Problems\n\n```bash\n# Clear all caches\nnpx expo start --clear\nwatchman watch-del-all\nrm -rf node_modules && npm install\n\n# Reset packager cache\nrm -rf \u002Ftmp\u002Fmetro-*\nrm -rf \u002Ftmp\u002Fhaste-*\n```\n\n### Native Module Errors\n\n```bash\n# iOS: Reset pods\ncd ios && pod deintegrate && pod install && cd ..\n\n# Android: Clean build\ncd android && .\u002Fgradlew clean && cd ..\n\n# Expo: Prebuild clean\nnpx expo prebuild --clean\n```\n\n### Simulator\u002FEmulator Issues\n\n```bash\n# iOS: Reset simulator\nxcrun simctl erase all\n\n# Android: Wipe emulator data\nadb devices  # Find device ID\nadb -s DEVICE_ID emu kill\n```\n\n## Debugging Tools\n\n### React DevTools\n\n```bash\n# Install\nnpm install -g react-devtools\n\n# Start\nreact-devtools\n\n# In app: Shake device -> \"Debug Remote JS\"\n```\n\n### Metro Logs\n\n```bash\n# View detailed logs\nnpx expo start --verbose\n\n# iOS device logs\nnpx react-native log-ios\n\n# Android device logs\nnpx react-native log-android\nadb logcat\n```\n\n### Network Debugging\n\n```typescript\n\u002F\u002F Enable network inspector\nimport { Platform } from 'react-native';\n\nif (__DEV__ && Platform.OS === 'ios') {\n  require('react-native').NativeModules.DevSettings.setIsDebuggingRemotely(true);\n}\n\n\u002F\u002F Or use Flipper for advanced network inspection\n```\n\n## Performance Debugging\n\n### Identify Slow Renders\n\n```typescript\n\u002F\u002F Add performance logging\nimport { useEffect, useRef } from 'react';\n\nfunction useRenderTime(componentName: string) {\n  const start = useRef(performance.now());\n\n  useEffect(() => {\n    const duration = performance.now() - start.current;\n    if (duration > 16) {\n      console.warn(`Slow render: ${componentName} took ${duration.toFixed(2)}ms`);\n    }\n  });\n}\n\n\u002F\u002F Use in components\nfunction MyComponent() {\n  useRenderTime('MyComponent');\n  return \u003CView>...\u003C\u002FView>;\n}\n```\n\n### Memory Leaks\n\n```typescript\n\u002F\u002F Check for missing cleanup\nuseEffect(() => {\n  const subscription = someObservable.subscribe();\n  const timer = setInterval(() => {}, 1000);\n\n  \u002F\u002F MUST clean up!\n  return () => {\n    subscription.unsubscribe();\n    clearInterval(timer);\n  };\n}, []);\n```\n\n## Error Investigation\n\n### JavaScript Errors\n\n```bash\n# Look for error in stack trace\n# Check recent file changes\n# Verify imports and dependencies\n# Check for typos in variable names\n```\n\n### Native Errors\n\n```bash\n# iOS: Check Xcode console\n# Android: Check Android Studio Logcat\n# Look for Java\u002FSwift exceptions\n# Check native module compatibility\n```\n\n### Build Errors\n\n```bash\n# Check package versions\nnpx expo-doctor\n\n# Verify node\u002Fnpm versions\nnode --version\nnpm --version\n\n# Check for conflicting dependencies\nnpm ls PACKAGE_NAME\n```\n\n## Debugging Commands\n\n```bash\n# Check what's using a port\nlsof -ti:8081  # Metro bundler port\nlsof -ti:19000 # Expo DevTools\n\n# Kill process on port\nkill -9 $(lsof -ti:8081)\n\n# Check device connectivity\n# iOS\nxcrun simctl list devices\n\n# Android\nadb devices\n\n# Restart adb\nadb kill-server\nadb start-server\n```\n\n## Debugging Checklist\n\nWhen investigating issues:\n\n1. **Reproduce**: Can you consistently trigger the issue?\n2. **Recent Changes**: What was changed before it broke?\n3. **Error Message**: Read the full error, including stack trace\n4. **Dependencies**: Check if packages are compatible\n5. **Platform**: Does it happen on iOS, Android, or both?\n6. **Environment**: Dev only or production builds too?\n7. **Logs**: Check Metro, Xcode, and Logcat for details\n\n## Common Error Patterns\n\n- **\"Unable to resolve module\"**: Check import path and file exists\n- **\"Invariant Violation\"**: React error, check component lifecycle\n- **\"Network request failed\"**: Check API URL and network connection\n- **\"Undefined is not an object\"**: Check for null\u002Fundefined before accessing properties\n- **\"Maximum call stack size exceeded\"**: Infinite loop or recursion\n\n## Resources\n\n- [React Native Debugging](https:\u002F\u002Freactnative.dev\u002Fdocs\u002Fdebugging)\n- [Expo Debugging](https:\u002F\u002Fdocs.expo.dev\u002Fdebugging\u002Fruntime-issues\u002F)\n- [Flipper Debugger](https:\u002F\u002Ffbflipper.com\u002F)\n","# Mobile Debugging\n\nDebugging guide for React Native and Expo applications.\n\n## When to Use\n\n- App crashes or freezes\n- Metro bundler errors\n- Native module issues\n- Performance problems\n- Build failures\n- Network request debugging\n\n## Common Issues & Fixes\n\n### Metro Bundler Problems\n\n```bash\n# Clear all caches\nnpx expo start --clear\nwatchman watch-del-all\nrm -rf node_modules && npm install\n\n# Reset packager cache\nrm -rf \u002Ftmp\u002Fmetro-*\nrm -rf \u002Ftmp\u002Fhaste-*\n```\n\n### Native Module Errors\n\n```bash\n# iOS: Reset pods\ncd ios && pod deintegrate && pod install && cd ..\n\n# Android: Clean build\ncd android && .\u002Fgradlew clean && cd ..\n\n# Expo: Prebuild clean\nnpx expo prebuild --clean\n```\n\n### Simulator\u002FEmulator Issues\n\n```bash\n# iOS: Reset simulator\nxcrun simctl erase all\n\n# Android: Wipe emulator data\nadb devices  # Find device ID\nadb -s DEVICE_ID emu kill\n```\n\n## Debugging Tools\n\n### React DevTools\n\n```bash\n# Install\nnpm install -g react-devtools\n\n# Start\nreact-devtools\n\n# In app: Shake device -> \"Debug Remote JS\"\n```\n\n### Metro Logs\n\n```bash\n# View detailed logs\nnpx expo start --verbose\n\n# iOS device logs\nnpx react-native log-ios\n\n# Android device logs\nnpx react-native log-android\nadb logcat\n```\n\n### Network Debugging\n\n```typescript\n\u002F\u002F Enable network inspector\nimport { Platform } from 'react-native';\n\nif (__DEV__ && Platform.OS === 'ios') {\n  require('react-native').NativeModules.DevSettings.setIsDebuggingRemotely(true);\n}\n\n\u002F\u002F Or use Flipper for advanced network inspection\n```\n\n## Performance Debugging\n\n### Identify Slow Renders\n\n```typescript\n\u002F\u002F Add performance logging\nimport { useEffect, useRef } from 'react';\n\nfunction useRenderTime(componentName: string) {\n  const start = useRef(performance.now());\n\n  useEffect(() => {\n    const duration = performance.now() - start.current;\n    if (duration > 16) {\n      console.warn(`Slow render: ${componentName} took ${duration.toFixed(2)}ms`);\n    }\n  });\n}\n\n\u002F\u002F Use in components\nfunction MyComponent() {\n  useRenderTime('MyComponent');\n  return \u003CView>...\u003C\u002FView>;\n}\n```\n\n### Memory Leaks\n\n```typescript\n\u002F\u002F Check for missing cleanup\nuseEffect(() => {\n  const subscription = someObservable.subscribe();\n  const timer = setInterval(() => {}, 1000);\n\n  \u002F\u002F MUST clean up!\n  return () => {\n    subscription.unsubscribe();\n    clearInterval(timer);\n  };\n}, []);\n```\n\n## Error Investigation\n\n### JavaScript Errors\n\n```bash\n# Look for error in stack trace\n# Check recent file changes\n# Verify imports and dependencies\n# Check for typos in variable names\n```\n\n### Native Errors\n\n```bash\n# iOS: Check Xcode console\n# Android: Check Android Studio Logcat\n# Look for Java\u002FSwift exceptions\n# Check native module compatibility\n```\n\n### Build Errors\n\n```bash\n# Check package versions\nnpx expo-doctor\n\n# Verify node\u002Fnpm versions\nnode --version\nnpm --version\n\n# Check for conflicting dependencies\nnpm ls PACKAGE_NAME\n```\n\n## Debugging Commands\n\n```bash\n# Check what's using a port\nlsof -ti:8081  # Metro bundler port\nlsof -ti:19000 # Expo DevTools\n\n# Kill process on port\nkill -9 $(lsof -ti:8081)\n\n# Check device connectivity\n# iOS\nxcrun simctl list devices\n\n# Android\nadb devices\n\n# Restart adb\nadb kill-server\nadb start-server\n```\n\n## Debugging Checklist\n\nWhen investigating issues:\n\n1. **Reproduce**: Can you consistently trigger the issue?\n2. **Recent Changes**: What was changed before it broke?\n3. **Error Message**: Read the full error, including stack trace\n4. **Dependencies**: Check if packages are compatible\n5. **Platform**: Does it happen on iOS, Android, or both?\n6. **Environment**: Dev only or production builds too?\n7. **Logs**: Check Metro, Xcode, and Logcat for details\n\n## Common Error Patterns\n\n- **\"Unable to resolve module\"**: Check import path and file exists\n- **\"Invariant Violation\"**: React error, check component lifecycle\n- **\"Network request failed\"**: Check API URL and network connection\n- **\"Undefined is not an object\"**: Check for null\u002Fundefined before accessing properties\n- **\"Maximum call stack size exceeded\"**: Infinite loop or recursion\n\n## Resources\n\n- [React Native Debugging](https:\u002F\u002Freactnative.dev\u002Fdocs\u002Fdebugging)\n- [Expo Debugging](https:\u002F\u002Fdocs.expo.dev\u002Fdebugging\u002Fruntime-issues\u002F)\n- [Flipper Debugger](https:\u002F\u002Ffbflipper.com\u002F)\n",{"name":5,"description":7,"allowed-tools":42},"Bash, Read, Grep","main","def8531e65114c0fca8fb8551c1871ee0eed705c","skills\u002Faiskillstore\u002Fmarketplace\u002Fbabakbar\u002Fmobile-debugging",24,"https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub","https:\u002F\u002Fskillshub.wtf","https:\u002F\u002Fgithub.com\u002FComeOnOliver","AI & Blockchain Engineer\r\n","2026-06-24 22:07:19",{"source":8,"skillName":5,"commands":53,"prompt":63,"zipAvailable":64},[54,57,60],{"tool":55,"command":56},"npx","npx skills add ComeOnOliver\u002Fskillshub --skill mobile-debugging",{"tool":58,"command":59},"bunx","bunx skills add ComeOnOliver\u002Fskillshub --skill mobile-debugging",{"tool":61,"command":62},"pnpm","pnpm dlx skills add ComeOnOliver\u002Fskillshub --skill mobile-debugging","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Faiskillstore\u002Fmarketplace\u002Fbabakbar\u002Fmobile-debugging\u002FSKILL.md",true,[66],{"path":67,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":70,"sourceHtmlUrl":71},"skill-report.json","REFERENCE","参考文档",13230,"https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Faiskillstore\u002Fmarketplace\u002Fbabakbar\u002Fmobile-debugging\u002Fskill-report.json",[73,82,91,99,105,111],{"skillNo":74,"name":75,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":37},"01M6FKJN13GMG4KY57J3QD8GY5","model-hierarchy-skill","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzscole\u002Fmodel-hierarchy-skill\u002Fmodel-hierarchy-skill\u002FSKILL.md",[],[79,80,81],"model","model hierarchy","model hierarchy skill",{"skillNo":83,"name":84,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":37},"01M6FKJJJ6GCAMR4PPPRD12M5X","zoom-mcp","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-mcp\u002FSKILL.md",[],[88,89,90],"MCP","zoom","zoom mcp",{"skillNo":92,"name":93,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":37},"01M6FKJE3KYT3KPEZMEEHYKA6K","zoom-apps-sdk","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-apps-sdk\u002FSKILL.md",[],[97,98,24,89],"sdk","zoom apps sdk",{"skillNo":100,"name":101,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":37},"01M6FKJ9EDH9Q5VWDF8HAJRSP0","windows","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwindows\u002FSKILL.md",[],[101],{"skillNo":106,"name":107,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":108,"categories":109,"keywords":110,"publishedAt":37},"01M6FKJ666BEEFC3AE9GJ72Q93","whiteboard","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwhiteboard\u002FSKILL.md",[],[107],{"skillNo":112,"name":113,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":114,"categories":115,"keywords":116,"publishedAt":37},"01M6FKJ21WFCDGTJQ2Q91T9DVW","websockets","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwebsockets\u002FSKILL.md",[],[113]]