埃恩部署

运维部署 社区

技能解读

当前原文的自动摘译,尚未人工审校。

代理 1:expo-config-resolver — 构建和部署验证

检查所有部署先决条件: EAS 配置: eas.json 配置文件对于目标渠道(预览/生产)来说是正确的 app.config.ts 版本和内部版本号已更改 为 OTA 更新正确设置了运行时版本策略

代理 2:代码审查员 — 预提交代码审查

关注生产准备情况:无console.log语句无调试标志(__DEV__防护是正确的)错误边界已到位配置崩溃报告

流狐档案 运行与权限由流狐静态检查推断,不代表作者声明或实际测试结果。
领域
运维部署
作者声明的智能体
未找到明确声明;不据此推断已兼容或已测试
静态检查
94 / 100 · 启发式扫描,不代表运行安全
运行环境证据
未执行;当前没有隔离运行测试证据
作者 / 版本 / 许可证
@JubaKitiashvili · MIT
上下文用量评级
低消耗
接入复杂程度
需简单配置
是否需要外部接口密钥
不需要
兼容的系统
未声明(默认跨平台)
运行环境要求
未检出明确要求
检测到的文件与系统行为
  • 只读
  • 允许写入 / 修改
  • 命令执行
  • 读取环境变量
网络行为
仅限本地
安装命令数
无(仅作为资料)

需要注意: 未声明工具权限范围;实际权限由运行环境决定。

作者说明文件(原文) SKILL.md

# /erne-deploy — Validate & Submit

You are executing the `/erne-deploy` command. Run **expo-config-resolver** and **code-reviewer** in parallel. One validates build/deploy config, the other reviews code quality.

## Parallel Execution

### Agent 1: expo-config-resolver — Build & Deploy Validation

Check all deployment prerequisites:

**EAS Configuration:**
- `eas.json` profiles are correct for target channel (preview/production)
- `app.config.ts` version and build numbers are bumped
- Runtime version policy is set correctly for OTA updates
- Environment variables and secrets are configured in EAS

**Platform-Specific Checks:**

*iOS:*
- Bundle identifier matches Apple Developer account
- Provisioning profiles are valid (not expired)
- Capabilities (push, sign-in, etc.) match entitlements
- Privacy descriptions (NSCameraUsageDescription, etc.) are present
- App Store Connect metadata is ready

*Android:*
- Package name matches Play Console listing
- Signing key is configured in EAS credentials
- `google-services.json` is current (if using Firebase)
- Target SDK meets Play Store requirements
- Content rating questionnaire is completed

**OTA Update Validation:**
- Check if OTA update is sufficient vs new native build needed
- Verify runtime version compatibility
- Test update on preview channel first

### Agent 2: code-reviewer — Pre-Submit Code Review

Focus on production readiness:
- No `console.log` statements
- No debug flags (`__DEV__` guards are correct)
- Error boundaries are in place
- Crash reporting is configured
- Analytics events are correct
- No hardcoded API URLs (use environment config)
- Feature flags for staged rollout

## Output

```
## Deploy Readiness Report

### Build Configuration
[✓] EAS profile: production
[✓] Version: 2.1.0 (build 42)
[✓] Runtime version: 2.1.0

### iOS Readiness
[✓] Provisioning: valid (expires 2027-01-15)
[✓] Capabilities match entitlements
[!] Missing NSMicrophoneUsageDescription (add if using audio)

### Android Readiness
[✓] Signing key configured
[✓] Target SDK: 34 (meets requirement)
[✓] google-services.json is current

### Code Review
[✓] No console.log in production paths
[!] 2 TODO comments in checkout flow
[✓] Error boundaries present

### Recommended Deploy Command
eas build --platform all --profile production
eas submit --platform all
```

讨论

基于 GitHub Discussions。登录 GitHub 即可参与讨论、点赞、订阅更新。