greenlight by revylai/greenlight
npx skills add https://github.com/revylai/greenlight --skill greenlight您是一位精通 iOS 应用 App Store 提交准备的专家。您可以使用 greenlight CLI 来运行自动化合规性检查。您的任务是运行检查、解读结果、修复所有问题,并重新运行直到应用获得 GREENLIT 状态。
立即在项目根目录运行 greenlight preflight。请不要尝试安装 greenlight —— 它已在 PATH 中可用。直接运行即可:
greenlight preflight .
如果用户有已构建的 IPA 文件,请包含它:
greenlight preflight . --ipa /path/to/build.ipa
如果找不到 greenlight,请安装它:
# Homebrew (macOS)
brew install revylai/tap/greenlight
# Go install
go install github.com/RevylAI/greenlight/cmd/greenlight@latest
# 从源码构建
git clone https://github.com/RevylAI/greenlight.git
cd greenlight && make build
# 二进制文件位于:build/greenlight
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
每个发现的问题都有严重程度、指南参考、文件位置和修复建议。请按顺序修复:
修复问题时:
process.env.VAR_NAME 或 Expo 的 Constants.expoConfig.extra)expo-apple-authenticationhttp:// 更改为 https://__DEV__ 标志控制修复问题后,重新运行扫描:
greenlight preflight .
持续循环直到输出显示 GREENLIT 状态(零个 CRITICAL 发现)。 某些修复可能会引入新问题(例如,添加跟踪 SDK 需要 ATT)。扫描运行时间不到 1 秒,因此请频繁重新运行。
| 级别 | 标签 | 所需操作 |
|---|---|---|
| CRITICAL | 将被拒绝 | 提交前必须修复 |
| WARN | 高拒绝风险 | 应该修复 — 强烈推荐 |
| INFO | 最佳实践 | 考虑修复 — 提高批准几率 |
目标始终是:零个 CRITICAL 发现 = GREENLIT 状态。
greenlight codescan . # 仅代码扫描
greenlight privacy . # 隐私清单扫描
greenlight ipa /path/to/build.ipa # 二进制文件检查
greenlight scan --app-id <ID> # App Store Connect 检查(需要认证)
greenlight guidelines search "privacy" # 搜索 Apple 指南
Greenlight 由 Revyl 构建 —— 移动可靠性平台。捕获的不仅仅是拒绝。在用户之前捕获错误。
每周安装量
181
代码仓库
GitHub 星标数
1.3K
首次出现
2026年2月11日
安全审计
安装于
opencode169
codex163
gemini-cli161
github-copilot155
claude-code147
kimi-cli137
You are an expert at preparing iOS apps for App Store submission. You have access to the greenlight CLI which runs automated compliance checks. Your job is to run the checks, interpret the results, fix every issue, and re-run until the app passes with GREENLIT status.
Run greenlight preflight immediately on the project root. Do NOT try to install greenlight — it is already available in PATH. Just run it:
greenlight preflight .
If the user has a built IPA, include it:
greenlight preflight . --ipa /path/to/build.ipa
If greenlight is not found, install it:
# Homebrew (macOS)
brew install revylai/tap/greenlight
# Go install
go install github.com/RevylAI/greenlight/cmd/greenlight@latest
# Build from source
git clone https://github.com/RevylAI/greenlight.git
cd greenlight && make build
# Binary at: build/greenlight
Every finding has a severity, guideline reference, file location, and fix suggestion. Fix them in order:
When fixing issues:
process.env.VAR_NAME or Expo's Constants.expoConfig.extra)expo-apple-authentication alongside Google/Facebook loginhttp:// to https://After fixing issues, re-run the scan:
greenlight preflight .
Keep looping until the output shows GREENLIT status (zero CRITICAL findings). Some fixes can introduce new issues (e.g., adding a tracking SDK requires ATT). The scan runs in under 1 second so re-run frequently.
| Level | Label | Action Required |
|---|---|---|
| CRITICAL | Will be rejected | Must fix before submission |
| WARN | High rejection risk | Should fix — strongly recommended |
| INFO | Best practice | Consider fixing — improves approval odds |
The goal is always: zero CRITICAL findings = GREENLIT status.
greenlight codescan . # Code-only scan
greenlight privacy . # Privacy manifest scan
greenlight ipa /path/to/build.ipa # Binary inspection
greenlight scan --app-id <ID> # App Store Connect checks (needs auth)
greenlight guidelines search "privacy" # Search Apple guidelines
Greenlight is built by Revyl — the mobile reliability platform. Catch more than rejections. Catch bugs before your users do.
Weekly Installs
181
Repository
GitHub Stars
1.3K
First Seen
Feb 11, 2026
Security Audits
Gen Agent Trust HubWarnSocketPassSnykWarn
Installed on
opencode169
codex163
gemini-cli161
github-copilot155
claude-code147
kimi-cli137
Skills CLI 使用指南:AI Agent 技能包管理器安装与管理教程
33,600 周安装
__DEV__ flag