Skip to main content

expo-architect

Scaffold a production-ready Expo React Native app with working screens, navigation, and optional Clerk auth. Generates complete mobile app structure that runs immediately with `bun start`.

来源信息

仓库
shipshitdev/v0
最近来源活动
2026年4月23日 11:55
检测到的 SKILL.md 语言
英语
星标
1
分支
0

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

文件资源管理器
4 个文件

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
expo-architect
description
Scaffold a production-ready Expo React Native app with working screens, navigation, and optional Clerk auth. Generates complete mobile app structure that runs immediately with `bun start`.
metadata
{"version":"1.0.0","tags":"expo, react-native, mobile, scaffold, clerk"}
# 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 1. **PRD Brief Intake** - Extract app type, screens, features, auth needs 2. **Auth Setup** (if requested) - Clerk provider, sign-in/sign-up screens 3. **Screen Generation** - Tab or stack-based navigation 4. **Component Generation** - UI components, entity components, layouts 5. **Quality Setup** - Biome, TypeScript strict, path aliases 6. **Verification** - Run quality gate, report results ## Usage ```bash # Create app with PRD-style prompt python3 scripts/init-expo.py \ --root ~/www/myapp \ --name "My App" \ --brief "A fitness tracker where users can log workouts" # With specific options python3 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 ```bash 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`
在 GitHub 查看