| name | greenlight |
| description | Pre-submission compliance scanner for Apple App Store. Use this skill when reviewing iOS, macOS, tvOS, watchOS, or visionOS app code (Swift, Objective-C, React Native, Expo) to identify potential App Store rejection risks before submission. Triggers on tasks involving app review preparation, compliance checking, App Store submission readiness, or when a user asks about App Store guidelines.
|
Greenlight — App Store Pre-Submission Scanner
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.
Step 1: Run the scan
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:
brew install revylai/tap/greenlight
go install github.com/RevylAI/greenlight/cmd/greenlight@latest
git clone https://github.com/RevylAI/greenlight.git
cd greenlight && make build
Step 2: Read the output and fix every issue
Every finding has a severity, guideline reference, file location, and fix suggestion. Fix them in order:
- CRITICAL — Will be rejected. Must fix.
- — High rejection risk. Should fix.