-
Notifications
You must be signed in to change notification settings - Fork 934
feat: Add experimental skills package #2766
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
huntie
wants to merge
6
commits into
react-native-community:main
from
huntie:claude/add-skills-package-ZElWn
Closed
feat: Add experimental skills package #2766
huntie
wants to merge
6
commits into
react-native-community:main
from
huntie:claude/add-skills-package-ZElWn
+299
−0
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Introduces a new `skills/` directory at the repo root, distributed as `@react-native-community/skills`. This follows the pattern established by expo/skills — installable in Claude Code (via plugin marketplace) and Cursor (via Remote Rules). The first skill, `upgrade-react-native`, guides an AI agent through upgrading a React Native Community CLI project by: - Detecting the current react-native version from package.json - Fetching the unified diff from rn-diff-purge (the same data source as the Upgrade Helper web UI) - Mapping template paths (RnDiffApp/) to the actual project - Categorizing changes and presenting a plan before applying - Providing a post-upgrade checklist https://claude.ai/code/session_019uZymRV1PLDAHFYuHxAndc
Adds step 7 to the upgrade-react-native skill which scans project dependencies for third-party React Native libraries with native code, fetches their README for a version compatibility table, and proposes version bumps where documented support for the target RN version exists. https://claude.ai/code/session_019uZymRV1PLDAHFYuHxAndc
Remove the intermediate plugins/react-native-upgrade/ layer. Skills now live directly under skills/<skill-name>/. This enables a simpler install command: npx skills add react-native-community/skills Merge marketplace.json and plugin.json into a single plugin.json at the skills root. https://claude.ai/code/session_019uZymRV1PLDAHFYuHxAndc
huntie
commented
Feb 11, 2026
huntie
commented
Feb 11, 2026
| ### Claude Code | ||
|
|
||
| ```sh | ||
| npx skills add https://github.com/react-native-community/cli/tree/main/skills |
Collaborator
Author
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
While experimental, I reckon a full URL here is reasonable. This skill lives with the code it's about, and we stay in a monorepo for the Community CLI project.
We can pursue a new react-native-community/skills repo if popular later.
Collaborator
Author
|
Replaced by react-native-community/skills#1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Introduces an experimental
react-native-community-skillspackage. This intends to be a minimal set of agent skills supporting React Native Community CLI projects.The new
skills/directory at the repo root will be distributed asreact-native-community-skills— installable in Claude Code (via plugin marketplace) and Cursor (via Remote Rules) usingnpx skills, documented in the README.Initial skill: Upgrade React Native
/upgrade-react-nativeguides an AI agent through upgrading a React Native Community CLI project by:package.json.rn-diff-purge(the same data source as the Upgrade Helper web UI).RnDiffApp/) to the target project.https://claude.ai/code/session_019uZymRV1PLDAHFYuHxAndc
Test Plan
1/ Install
react-native-cli/skills(locally link)2/ Run skill
✅ Checks Upgrade Helper
✅ Builds plan
✅ Applies changes
Generated diff
3/ Follow up on post-upgrade checklist
✅ Test upgraded app (iOS)
✅ Project is upgraded to 0.84 RC5 🎉