feat: add Claude Code AI skills for react-native-ui-lib#4010
Draft
adids1221 wants to merge 3 commits into
Draft
Conversation
Adds a Claude Code skill for react-native-ui-lib users. Includes: - Component lookup via node_modules api.json files (batched, fast) - Layout-to-component mapping table - Styling guide: modifiers, spacing, design tokens, typography, shadows - Component intelligence: intent classification, discovery loop, props triage - Getting started: install, peer deps, ThemeManager setup - Theming guide: Colors, Typography, Spacings, ThemeManager overrides Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Adds install-skills.js at the package root — copies the uilib-codegen skill into .claude/skills/ in the user's project. Usage: node node_modules/react-native-ui-lib/install-skills.js Also adds skills/ and install-skills.js to the package.json files field so they are included in the npm publish. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Contributor
❌ PR Description Validation FailedThe following required sections need attention:
Required Sections:
Please update your PR description to include all required sections with meaningful content. This validation ensures all sections from the PR template are properly filled. |
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
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
uilib-codegenClaude Code skill that ships inside the npm packagenode node_modules/react-native-ui-lib/install-skills.jsand get AI-assisted screen building with prop lookup, layout mapping, and styling guidancepackages/react-native-ui-lib/skills/uilib-codegen/and are included in the npm publish viafilesin package.jsonWhat's in the skill
SKILL.mdstyling.mdcomponent-intelligence.mdgetting-started.mdtheming.mdWhat's left (follow-up items)
node install-skills.js, open Claude Code and verify the skill loads and activates correctlyfigma.com/community/file/1379775092983284111)Test plan
node packages/react-native-ui-lib/install-skills.jsfrom a test project that has the package installed.claude/skills/uilib-codegen/is created with all 5 files🤖 Generated with Claude Code