SalesforceMobileSDK-ReactNative: Skill for Claude Code

.claude/skills/upgrade-react-native/SKILL.md

upgrade-react-native is a skill for Claude Code from forcedotcom/SalesforceMobileSDK-ReactNative. It costs 0 tokens per session (3,117 once invoked), scanned A, original, BSD-3-Clause.

A procedure for upgrading the React Native version in two Salesforce mobile software repositories. React Native is a framework for building mobile apps with JavaScript and React.

In plain words
What is it for?
Use it to check the target release, inspect dependency requirements, find removed APIs, update the repositories, and validate the upgrade.
Why use it?
It organizes the compatibility checks and code updates needed when moving an app to a newer React Native release.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions Claude Code.

This is forcedotcom/SalesforceMobileSDK-ReactNative's own configuration. It tells Claude Code how to work on SalesforceMobileSDK-ReactNative itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything SalesforceMobileSDK-ReactNative configures →

Reuse

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.

Copy the file
curl -O https://raw.githubusercontent.com/forcedotcom/SalesforceMobileSDK-ReactNative/dev/.claude/skills/upgrade-react-native/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/forcedotcom/SalesforceMobileSDK-ReactNative

Made for: Claude Code.

Wrote 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.

agentmods badge for upgrade-react-native

README.md
[![agentmods](https://agentmods.dev/badge/skills/forcedotcom/salesforcemobilesdk-reactnative/upgrade-react-native/github.svg)](https://agentmods.dev/skills/forcedotcom/salesforcemobilesdk-reactnative/upgrade-react-native)
Your own site
<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.

agentmods 80×15 button for upgrade-react-native

Your own site · 80×15
<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>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,117 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. ✓ AI security review Sonnet 5 · 7 Sept 2026 📄 Read the review
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 2mo ago against content hash ce62f1f2dce3, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

.claude/skills/upgrade-react-native/SKILL.md · 271 lines

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

Read the full file on GitHub · 271 lines

Changes

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.

  1. 2mo ago First seen · 271 lines · 0 tokens per session scan E ce62f1f2dce3

Subscribe to this mod's changes

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.

Related

upgrade-react-native compared with skills from other repositories

upgrade-react-native next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
upgrade-react-nativeforcedotcom/SalesforceMobileSDK-ReactNativeSkill5711d agoBSD-3-ClauseA0Claude Code
agent-spec-mobile-react-nativeruvnet/rufloSkill81kyesterdayMITA22Claude Code
expo-native-uiexpo/skillsSkill4.1kyesterdayMITA63Claude Code, Codex
expo-brownfieldexpo/skillsSkill4.1kyesterdayMITA70Claude Code, Codex
react-native-testingcallstack/react-native-testing-librarySkill3.4kyesterdayMITA134Claude Code, Codex
truesheet-usagelodev09/react-native-true-sheetSkill2.1kyesterdayMITA171Claude Code, Codex
vercel-react-native-skillsfcakyon/claude-codex-settingsSkill1.2kyesterdayApache-2.0A57Claude Code