expo-architect
78
总安装量
78
周安装量
#2884
全站排名
安装命令
npx skills add https://github.com/shipshitdev/library --skill expo-architect
Agent 安装分布
opencode
62
claude-code
58
codex
54
gemini-cli
53
antigravity
44
github-copilot
44
Skill 文档
Expo Architect
Create production-ready Expo React Native apps with:
- Framework: Expo SDK 54 + React Native 0.83 + TypeScript
- Navigation: Expo Router (file-based routing)
- Auth: Clerk authentication (optional)
- UI: NativeWind (Tailwind for RN) or StyleSheet
- Quality: Biome linting + TypeScript strict mode
- Package Manager: bun
What Makes This Different
Generates working mobile apps, not empty scaffolds:
- Complete navigation structure with working screens
- Optional Clerk authentication flow
- Real UI components with proper styling
- API client integration ready
- Runs immediately with
bun start
Workflow Summary
- PRD Brief Intake – Extract app type, screens, features, auth needs
- Auth Setup (if requested) – Clerk provider, sign-in/sign-up screens
- Screen Generation – Tab or stack-based navigation
- Component Generation – UI components, entity components, layouts
- Quality Setup – Biome, TypeScript strict, path aliases
- Verification – Run quality gate, report results
Usage
# Create app with PRD-style prompt
python3 ~/.claude/skills/expo-architect/scripts/init-expo.py \
--root ~/www/myapp \
--name "My App" \
--brief "A fitness tracker where users can log workouts"
# With specific options
python3 ~/.claude/skills/expo-architect/scripts/init-expo.py \
--root ~/www/myapp \
--name "My App" \
--tabs "Home,Workouts,Profile" \
--auth
Generated Structure
myapp/
âââ app/
â âââ _layout.tsx # Root layout
â âââ (tabs)/ # Tab navigator
â â âââ _layout.tsx
â â âââ index.tsx
â â âââ ...
â âââ (auth)/ # Auth screens (if enabled)
âââ components/
â âââ ui/ # Base UI components
â âââ [entity]/ # Feature components
â âââ layout/ # Layout components
âââ lib/
â âââ api.ts # API client
â âââ auth.ts # Auth utilities
âââ providers/ # Context providers
âââ types/ # TypeScript types
âââ app.json # Expo config
âââ package.json
âââ tsconfig.json
âââ biome.json
Development Commands
bun start # Start Expo dev server
bun run ios # iOS simulator
bun run android # Android emulator
bun run lint # Check code style
bun run typecheck # Type checking
Environment Variables
EXPO_PUBLIC_CLERK_PUBLISHABLE_KEY=pk_test_...
EXPO_PUBLIC_API_URL=http://localhost:3001
For detailed patterns, code templates, and complete examples: references/full-guide.md