platform-specific-code
OfficialWrite cross-platform React Native code.
AuthorMolcajeteAI
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill provides patterns and best practices for writing code that works seamlessly across both iOS and Android platforms in React Native development, minimizing platform-specific bugs and inconsistencies.
Core Features & Use Cases
- Platform Detection: Use
Platform.OSandPlatform.selectfor conditional logic and styling. - Platform-Specific Files: Leverage file naming conventions (e.g.,
Button.ios.tsx) for distinct implementations. - Use Case: When designing a custom button component, use this skill to apply different padding and touch feedback mechanisms for iOS and Android users, ensuring a native feel on each platform.
Quick Start
Use the platform-specific-code skill to implement conditional styling for iOS and Android within your React Native application.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: platform-specific-code Download link: https://github.com/MolcajeteAI/plugin/archive/main.zip#platform-specific-code Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.