Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问clear审计未展示

react-native-setupReact native 设置

Agent Skill

用于辅助前端页面、组件、样式和交互逻辑的开发与维护。它适合让 Agent 生成或审查 React、Next.js、Vue、Tailwind、CSS 等相关代码,整理组件结构,或定位布局和性能问题。使用时需要结合项目现有设计系统、路由和构建方式,避免只生成孤立片段;涉及页面改动时,应配合本地预览和构建检查确认视觉效果。

总安装

419

周安装

18

GitHub Stars

公开资料未说明

下载量

147
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:react-native-setup(React native 设置)
来源仓库:https://github.com/microck/ordinary-claude-skills
仓库路径:skills/react-native-setup
安装命令:
npx skills add microck/ordinary-claude-skills --skill "react-native-setup"
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

AgentSkills.tonpx skills
npx skills add microck/ordinary-claude-skills --skill "react-native-setup"

简介

用于辅助 React Native 项目的环境配置和工具链设置。

  • 适合处理依赖安装、调试工具和 CI/CD 流水线对接。
  • 通过 GitHub 安装,需确认 Node、JDK 和原生开发环境已就绪。
  • 修改配置前建议备份原有 setup 脚本以防冲突。
  • 完成后应运行基础测试用例确保环境稳定可用。react-native-setup 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

name
react-native-setup
description
Expert in React Native environment setup and configuration. Helps with Node.js, Xcode, Android Studio, watchman installation, CocoaPods, simulators, emulators, and troubleshooting setup issues. Activates for environment setup, installation issues, xcode setup, android studio, simulators, emulators, react-native init, expo init, development environment, SDK configuration.

React Native Setup Expert

Expert in React Native and Expo environment configuration across macOS, Windows, and Linux. Specializes in troubleshooting installation issues, SDK configuration, and development environment optimization.

What I Know

Prerequisites & Installation

Node.js & npm

  • Node.js 18.x or later required
  • Version verification: node --version && npm --version
  • Troubleshooting Node.js installation issues
  • npm vs yarn vs pnpm for React Native projects

Xcode (macOS - iOS Development)

  • Xcode 15.x or later required
  • Command line tools installation: xcode-select --install
  • License acceptance: sudo xcodebuild -license accept
  • Platform installation verification
  • Common Xcode errors and fixes

Android Studio (Android Development)

  • Android Studio Hedgehog or later
  • Required SDK components:

- Android SDK Platform 34 or later - Android SDK Build-Tools - Android Emulator - Android SDK Platform-Tools

  • ANDROID_HOME environment variable setup
  • SDK Manager configuration
  • Common Android Studio issues

Watchman

  • Installation via Homebrew (macOS): brew install watchman
  • Purpose: File watching for fast refresh
  • Troubleshooting watchman errors
  • Cache clearing strategies

Environment Configuration

iOS Setup

  • CocoaPods installation and troubleshooting
  • Pod install issues and resolutions
  • Xcode project configuration
  • Provisioning profiles and certificates
  • iOS Simulator management
  • Device selection: xcrun simctl list devices

Android Setup

  • Gradle configuration
  • Android SDK path configuration
  • Environment variables (ANDROID_HOME, PATH)
  • AVD (Android Virtual Device) creation
  • Emulator performance optimization
  • ADB troubleshooting

Metro Bundler

  • Port 8081 configuration
  • Cache clearing: npx react-native start --reset-cache
  • Custom Metro config
  • Asset resolution issues

Common Setup Issues

"Command not found" Errors

  • PATH configuration
  • Shell profile updates (.zshrc, .bash_profile)
  • Symlink issues

SDK Not Found

  • SDK path verification
  • Environment variable troubleshooting
  • SDK Manager reinstallation

Pod Install Failures

  • CocoaPods version issues
  • Ffi gem compilation errors
  • Ruby version compatibility
  • pod deintegrate && pod install strategy

Build Failures

  • Clean build strategies
  • Dependency conflicts
  • Native module compilation errors
  • Xcode derived data clearing

When to Use This Skill

Ask me when you need help with:

  • Initial React Native environment setup
  • Installing and configuring Xcode or Android Studio
  • Setting up iOS simulators or Android emulators
  • Troubleshooting "Command not found" errors
  • Resolving SDK path or ANDROID_HOME issues
  • Fixing CocoaPods installation problems
  • Clearing Metro bundler cache
  • Configuring development environment variables
  • Troubleshooting build failures
  • Setting up watchman for file watching
  • Verifying development environment prerequisites

Quick Setup Commands

iOS (macOS)

# Install Xcode command line tools
xcode-select --install

# Accept Xcode license
sudo xcodebuild -license accept

# Install CocoaPods
sudo gem install cocoapods

# Install watchman
brew install watchman

# Verify setup
xcodebuild -version
pod --version
watchman version

Android (All Platforms)

# Verify Android setup
echo $ANDROID_HOME
adb --version
emulator -version

# List available emulators
emulator -list-avds

# List connected devices
adb devices

React Native Project

# Create new React Native project
npx react-native init MyProject

# Navigate to project
cd MyProject

# Install iOS dependencies
cd ios && pod install && cd ..

# Start Metro bundler
npm start

# Run on iOS (separate terminal)
npm run ios

# Run on Android (separate terminal)
npm run android

Pro Tips

  1. Clean Builds: When in doubt, clean everything
   # iOS
   cd ios && rm -rf build Pods && pod install && cd ..

   # Android
   cd android && ./gradlew clean && cd ..

   # Metro
   npx react-native start --reset-cache
  1. Environment Variables: Always verify environment variables after changes
   # Add to ~/.zshrc or ~/.bash_profile
   export ANDROID_HOME=$HOME/Library/Android/sdk
   export PATH=$PATH:$ANDROID_HOME/emulator
   export PATH=$PATH:$ANDROID_HOME/platform-tools

   # Reload shell
   source ~/.zshrc
  1. Simulator Management: List and boot specific devices
   # iOS
   xcrun simctl list devices
   xcrun simctl boot "iPhone 15 Pro"

   # Android
   emulator -list-avds
   emulator -avd Pixel_6_API_34
  1. Quick Health Check: Verify entire environment
   node --version      # Node.js
   npm --version       # npm
   xcodebuild -version # Xcode (macOS)
   pod --version       # CocoaPods (macOS)
   adb --version       # Android tools
   watchman version    # Watchman

Integration with SpecWeave

This skill integrates with SpecWeave's increment workflow:

  • Use during /specweave:increment planning for environment setup tasks
  • Reference in tasks.md for setup-related acceptance criteria
  • Include in spec.md for mobile-specific prerequisites
  • Document setup issues in increment reports/ folder

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

trae

31.64%
按下载量换算47

Antigravity

23.28%
按下载量换算34

windsurf

15.95%
按下载量换算23

Claude Code

11.49%
按下载量换算17

Codex

7.95%
按下载量换算12

Gemini CLI

3.48%
按下载量换算5

安全审计

暂无安全审计结果可展示。

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills