Borrowing it
Nothing to install: this file belongs to forcedotcom/SalesforceMobileSDK-ReactNative. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/forcedotcom/SalesforceMobileSDK-ReactNative/dev/.claude/skills/upgrade-react-native/SKILL.mdgit clone --depth 1 https://github.com/forcedotcom/SalesforceMobileSDK-ReactNativeWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/forcedotcom/salesforcemobilesdk-reactnative/upgrade-react-native)<a href="https://agentmods.dev/skills/forcedotcom/salesforcemobilesdk-reactnative/upgrade-react-native"><img src="https://agentmods.dev/badge/skills/forcedotcom/salesforcemobilesdk-reactnative/upgrade-react-native/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/forcedotcom/salesforcemobilesdk-reactnative/upgrade-react-native"><img src="https://agentmods.dev/badge/skills/forcedotcom/salesforcemobilesdk-reactnative/upgrade-react-native.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.03117 |
| Opus 5.5 | $0.00000 | $0.01247 |
| Sonnet 5.5 | $0.00000 | $0.00623 |
| Haiku 4.5 | $0.00000 | $0.00312 |
Grade A, and why
upgrade-react-native scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 271 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Upgrade React Native Version
Upgrades the React Native version in the SalesforceMobileSDK-ReactNative and SalesforceMobileSDK-Templates repos.
When to Use
When bumping React Native from one minor/patch version to another (e.g., 0.84.x → 0.85.x) as part of the SDK's regular RN upgrade cadence.
Parameters
OLD_VERSION: Current RN version (e.g.,0.84.1)NEW_VERSION: Target RN version (e.g.,0.85.3)BRANCH: Feature branch name (e.g.,rn-upgrade-0.85)FORK_USER: GitHub username for the personal fork (e.g.,wmathurin)
Process
Phase 1: Pre-Checks
1a. Find the latest patch
curl -s "https://registry.npmjs.org/react-native" | python3 -c "
import sys, json
data = json.load(sys.stdin)
versions = [v for v in data['versions'] if v.startswith('NEW_MINOR.')]
print('Latest:', versions[-1])
"
1b. Check React peer dep for the new version
curl -s "https://registry.npmjs.org/react-native/NEW_VERSION" | python3 -c "
import sys, json; d=json.load(sys.stdin)
print('React peer dep:', d['peerDependencies'].get('react'))
"
1c. Grep for removed/deprecated APIs in our source
Check the RN release blog for removed APIs, then grep:
# Examples from past upgrades — always check the release notes for the actual list
grep -r "StyleSheet\.absoluteFillObject" src/ test/
grep -r "CatalystInstanceImpl\|NativeViewHierarchyManager\|ReactTextUpdate\|UIManagerHelper" android/
grep -r "RCTHostRuntimeDelegate" ios/
grep -r "preset.*react-native" --include="*.json" --include="*.js" .
If any hits: fix before bumping. If clean: proceed.
Phase 2: Version Bumps — ReactNative repo
Edit these files, replacing OLD_VERSION → NEW_VERSION everywhere:
| File | Fields |
|---|---|
package.json |
peerDependencies["react-native"], devDependencies["@react-native/*"] |
iosTests/package.json |
dependencies["react-native"], devDependencies["@react-native/*"], dependencies["react-native-force"] URL #rn-upgrade-OLD → #rn-upgrade-NEW |
androidTests/package.json |
same as iosTests |
android/build.gradle |
react-android:OLD_VERSION → react-android:NEW_VERSION |
androidTests/android/app/build.gradle.kts |
react-android:OLD, hermes-android:OLD → NEW |
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2mo ago First seen · 271 lines · 0 tokens per session scan E ce62f1f2dce3
upgrade-react-native is a skill published in the GitHub repository forcedotcom/SalesforceMobileSDK-ReactNative (57 stars, last pushed 11d ago), licensed BSD-3-Clause. It costs nothing until one of its globs matches a file; then it loads 3,117 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
upgrade-react-native compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| upgrade-react-nativeforcedotcom/SalesforceMobileSDK-ReactNative | Skill | 57 | 11d ago | BSD-3-Clause | A | 0 | Claude Code |
| agent-spec-mobile-react-nativeruvnet/ruflo | Skill | 81k | yesterday | MIT | A | 22 | Claude Code |
| expo-native-uiexpo/skills | Skill | 4.1k | yesterday | MIT | A | 63 | Claude Code, Codex |
| expo-brownfieldexpo/skills | Skill | 4.1k | yesterday | MIT | A | 70 | Claude Code, Codex |
| react-native-testingcallstack/react-native-testing-library | Skill | 3.4k | yesterday | MIT | A | 134 | Claude Code, Codex |
| truesheet-usagelodev09/react-native-true-sheet | Skill | 2.1k | yesterday | MIT | A | 171 | Claude Code, Codex |
| vercel-react-native-skillsfcakyon/claude-codex-settings | Skill | 1.2k | yesterday | Apache-2.0 | A | 57 | Claude Code |