expo-react-native-coder

📁 pproenca/dot-skills 📅 9 days ago
41
总安装量
13
周安装量
#9320
全站排名
安装命令
npx skills add https://github.com/pproenca/dot-skills --skill expo-react-native-coder

Agent 安装分布

claude-code 12
codex 11
opencode 10
gemini-cli 9
antigravity 8
windsurf 8

Skill 文档

Expo React Native Coder Best Practices

Comprehensive feature development guide for Expo React Native applications. Contains 50 rules across 10 categories, covering everything from project setup to testing. Includes production-ready code templates for common features.

When to Apply

Reference these guidelines when:

  • Setting up a new Expo project with TypeScript
  • Building navigation with Expo Router (tabs, stacks, drawers, modals)
  • Creating screens (list, detail, form, settings)
  • Implementing authentication flows with protected routes
  • Configuring deep linking and universal links

Rule Categories by Priority

Priority Category Impact Prefix
1 Project Setup & Configuration CRITICAL setup-
2 Routing & Navigation CRITICAL route-
3 Screen Patterns & Layouts HIGH screen-
4 Data Fetching & State HIGH data-
5 Authentication & Security HIGH auth-
6 Deep Linking & Universal Links HIGH link-
7 Native UX Patterns MEDIUM-HIGH ux-
8 Forms & User Input MEDIUM form-
9 Assets & Theming MEDIUM asset-
10 Error Handling & Testing MEDIUM test-

Quick Reference

1. Project Setup & Configuration (CRITICAL)

2. Routing & Navigation (CRITICAL)

3. Screen Patterns & Layouts (HIGH)

4. Data Fetching & State (HIGH)

5. Authentication & Security (HIGH)

6. Deep Linking & Universal Links (HIGH)

7. Native UX Patterns (MEDIUM-HIGH)

8. Forms & User Input (MEDIUM)

9. Assets & Theming (MEDIUM)

10. Error Handling & Testing (MEDIUM)

Code Templates

Production-ready templates are available in assets/templates/:

Template Description
layouts/tab-layout.tsx Bottom tab navigator with icons
layouts/auth-layout.tsx Root layout with protected routes
screens/list-screen.tsx List with FlashList, refresh, states
screens/detail-screen.tsx Detail screen with param handling
screens/form-screen.tsx Form with validation, keyboard handling
hooks/use-auth.tsx Auth context with SecureStore
components/error-boundary.tsx Error boundary component

How to Use

Read individual reference files for detailed explanations and code examples:

Full Compiled Document

For a single comprehensive document with all rules, see AGENTS.md.

Reference Files

File Description
AGENTS.md Complete compiled guide with all rules
references/_sections.md Category definitions and ordering
assets/templates/ Production-ready code templates
metadata.json Version and reference information