react-native
Skill1 starsChanged 7 months agoMITView on GitHub
Use when troubleshooting React Native local dev — stale Metro/Watchman caches, pod install issues, bundle size analysis, device logs, version bumps, icon/splash regen, or patch-package.
- Deletes or force-pushes
10 other projects use a version of this.
Adopted by
Most recently taken up by
- vercel-labs/json-rendertheir own version, first seen Sep 23, 2026
- SkotAlexsander/skillstheir own version, first seen Sep 16, 2026
- nimadorostkar/Claude-Skills-collectiontheir own version, first seen Jul 14, 2026
- DongDuong2001/pudo-code-systemtheir own version, first seen Jun 18, 2026
- alinaqi/maggytheir own version, first seen Jun 12, 2026
- joabgonzalez/ai-agents-skillstheir own version, first seen Jun 8, 2026
Used with
Projects with it also use llm-integration and git-workflow.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
martinholovskySkillllm-integration
Expert skill for integrating local Large Language Models using llama.cpp and Ollama. Covers secure model loading, inference optimization, prompt handling, and protection against LLM-specific vulnerabilities including prompt injection, model theft, and denial of service attacks.
Also in 3 projects that use this
Microsoft AzureSkillgit-workflow
Squad branching model: dev-first workflow with insiders preview channel
Also in 3 projects that use this
Other versions10 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 10
- vercel-labs/json-render★ 18ksame name
- alinaqi/maggy★ 707same name
- travisjneuman/.claude★ 101same name
- nimadorostkar/Claude-Skills-collection★ 28same name
- s-hiraoku/synapse-a2a★ 16same name
- joabgonzalez/ai-agents-skills★ 9same name
- DongDuong2001/pudo-code-system★ 5same name
- ffsshhttiikk/opencode-agents-skills★ 2same name
- medy-gribkov/arcana★ 1same name
- SkotAlexsander/skills★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository16 other files it gives its agents.
- azure-devopsSkill
- fastlaneSkill
- firebaseSkill
- herokuSkill
- k6Skill
- linearSkill
- maestroSkill
- postgresSkill
- profiles-and-credentialsSkill
- rails-securitySkill
- rspecSkill
- sentrySkill
- shopifySkill
- slackSkill
- trelloSkill
- xlsx-testcasesSkill
The file
Files
/react-native — RN dev ops
Local commands for RN projects. No credentials. Works in cwd or --path <dir>.
Deps: Node 18+, Yarn/npm, Watchman, Xcode (iOS), Android Studio + JDK 17 (Android).
Overview
Local dev ops for React Native projects. No credentials needed — operates on the project tree. Solves the "won't build" mysteries (cache pollution, pod sync, version drift) that consume most of RN dev frustration.
When to Use
- Build errors after dependency changes ("Module not found", stale Metro/Watchman caches)
- CocoaPods install / Gradle issues
- Bundle size analysis with source-map-explorer
- Tailing device logs (
xcrun simctl/adb logcat) with filter - Bumping version (package.json + iOS Info.plist + Android
build.gradlein sync) - Generating icons / splash from a source PNG
When NOT to Use
- Code signing / store releases → use
fastlaneskill - E2E tests → use
maestroskill - Backend / API issues → wrong scope
- Anything requiring Apple Developer account credentials
Dispatch
doctor — environment health check
npx react-native doctorclean [--ios] [--android] [--metro] [--all] — recovery from "won't build"
[ "$ALL" = "true" ] || [ "$IOS" = "true" ] && \
rm -rf ios/Pods ios/build ios/DerivedData "$HOME/Library/Developer/Xcode/DerivedData"
[ "$ALL" = "true" ] || [ "$ANDROID" = "true" ] && \
(cd android && ./gradlew clean) && rm -rf android/app/build android/build android/.gradle
[ "$ALL" = "true" ] || [ "$METRO" = "true" ] && \
watchman watch-del-all 2>/dev/null; rm -rf "$TMPDIR/metro-"* "$TMPDIR/haste-map-"* node_modules/.cache--all = nuclear option, fixes 90% of build mysteries.
pods — install/update CocoaPods
cd ios
[ -f Gemfile ] && bundle install --quiet && bundle exec pod install || pod install
cd -If broken: pod deintegrate && pod install.
bundle-size [--platform ios|android] — analyze bundle
PLATFORM="${PLATFORM:-android}"
case "$PLATFORM" in
android) BUNDLE=android/app/src/main/assets/index.android.bundle ;;
ios) BUNDLE=ios/main.jsbundle ;;
esac
[ -f "$BUNDLE" ] || { echo "Run: npx react-native bundle --platform $PLATFORM ..." >&2; return 1; }
echo "Total: $(du -h "$BUNDLE" | cut -f1)"
npx source-map-explorer "$BUNDLE" --html /tmp/rn-bundle.html 2>/dev/null && \
echo "Open: file:///tmp/rn-bundle.html"version <new-version> — bump app version (package.json + iOS + Android)
npm version "$NEW_VERSION" --no-git-tag-version
# iOS
(cd ios && agvtool new-marketing-version "$NEW_VERSION" && agvtool next-version -all) 2>/dev/null
# Android (auto-increment versionCode)
CURRENT_CODE=$(grep -oE 'versionCode\s+[0-9]+' android/app/build.gradle | grep -oE '[0-9]+')
NEW_CODE=$((CURRENT_CODE + 1))
sed -i.bak -E "s/versionName\s+\".*\"/versionName \"$NEW_VERSION\"/; s/versionCode\s+[0-9]+/versionCode $NEW_CODE/" android/app/build.gradle
rm android/app/build.gradle.bak
echo "Bumped to $NEW_VERSION (Android code: $NEW_CODE)"logs <ios|android> [--filter pattern] — tail device logs
case "$PLATFORM" in
ios)
xcrun simctl spawn booted log stream --level debug \
--predicate "subsystem CONTAINS '$BUNDLE_ID'" \
${FILTER:+| grep -i "$FILTER"}
;;
android)
adb logcat -v color ReactNativeJS:V ReactNative:V "*:E" \
${FILTER:+| grep -i "$FILTER"}
;;
esacpatch <package> — save patch-package patch
npx patch-package "$PACKAGE"
echo "Add to package.json scripts: \"postinstall\": \"patch-package\""icons <source.png> / splash <source.png> — asset generators
npx app-icon generate --icon "$SOURCE"
npx react-native-bootsplash "$SOURCE" --background-color "#FFFFFF" --logo-width 200Other RN commands (use Bash directly)
These are simple enough to run as native commands:
- Run iOS:
npx react-native run-ios [--simulator "iPhone 15"] [--scheme MyApp-Staging] - Run Android:
npx react-native run-android [--variant stagingDebug] - Start Metro:
npx react-native start [--reset-cache] - Bundle:
npx react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res
Common Mistakes
- "Module not found" after install →
start --reset-cache+clean --metro - Gradle daemon stuck →
cd android && ./gradlew --stop && ./gradlew clean - iOS keychain issues → use Fastlane match (don't manually delete certs)
- Pod install fails → check Ruby version (RN often needs 3.0+)
clean --allbefore checking what specifically broke → 5-15 min wasted on every run
Safety
clean --allwipes Pods + Gradle cache + node_modules/.cache → 5-15 min recovery on first buildpatch-packagepatches modify third-party code — review patches in PRs (security surface)- iOS keychain → use Fastlane match, not manual deletion
- Android signing keystore lost = can't update app on Play Store; back up encrypted
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

