react-native-component-generator
使用 TypeScript、样式和特定于平台的代码生成 React Native 组件。在“创建反应本机组件”、“生成 rn 组件”、“移动组件”、“反应本机屏幕”上触发。
📖 中文导读:使用 TypeScript、样式和特定于平台的代码生成 React Native 组件。在“创建反应本机组件”、“生成 rn 组件”、“移动组件”、“反应本机屏幕”上触发。 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。
name: react-native-component-generator description: Generate React Native components with TypeScript, styling, and platform-specific code. Triggers on "create react native component", "generate rn component", "mobile component", "react native screen".
React Native Component Generator
Generate React Native TypeScript components with StyleSheet and platform handling.
Output Requirements
File Output: *.tsx component files
Format: Valid React Native TypeScript
Standards: React Native 0.72+, TypeScript
When Invoked
Immediately generate a complete React Native component with styles and types.
Example Invocations
Prompt: "Create React Native button component"
Output: Complete Button.tsx with variants, loading state, and styles.