From claude-team-toolkit
React Native dev ops — clean caches, pod install, bundle analyze, device logs, version bump, icons/splash, patch-package. No credentials.
npx claudepluginhub tuannv14/claude-team-toolkit --plugin claude-team-toolkitThis skill is limited to using the following tools:
Local commands for RN projects. No credentials. Works in cwd or `--path <dir>`.
Prevents silent decimal mismatch bugs in EVM ERC-20 tokens via runtime decimals lookup, chain-aware caching, bridged-token handling, and normalization. For DeFi bots, dashboards using Python/Web3, TypeScript/ethers, Solidity.
Share bugs, ideas, or general feedback.
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).
doctor — environment health checknpx react-native doctor
clean [--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 CocoaPodscd 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 bundlePLATFORM="${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 logscase "$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"}
;;
esac
patch <package> — save patch-package patchnpx patch-package "$PACKAGE"
echo "Add to package.json scripts: \"postinstall\": \"patch-package\""
icons <source.png> / splash <source.png> — asset generatorsnpx app-icon generate --icon "$SOURCE"
npx react-native-bootsplash "$SOURCE" --background-color "#FFFFFF" --logo-width 200
These are simple enough to run as native commands:
npx react-native run-ios [--simulator "iPhone 15"] [--scheme MyApp-Staging]npx react-native run-android [--variant stagingDebug]npx react-native start [--reset-cache]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/resstart --reset-cache + clean --metrocd android && ./gradlew --stop && ./gradlew cleanclean --all wipes Pods + Gradle cache + node_modules/.cache → 5-15 min recovery on first buildpatch-package patches modify third-party code — review patches in PRs (security surface)