app-store-preflight-compliance

A pre-submission check for Apple App Store apps on iOS, macOS, tvOS, watchOS, and visionOS. It reviews Swift, Objective-C, React Native, and Expo projects for rejection risks, privacy issues, and guideline violations.

In plain words
What is it for?
Use it to check a project or IPA build, find issues such as hardcoded secrets or missing account deletion, and verify that critical findings are resolved.
Why use it?
It helps find problems that could cause Apple to reject an app before submission, then guides fixes by severity and repeated checks.

Skill for Claude CodeCodex

Part of the greenlight plugin — 2 skills shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/revylai/greenlight/codex-skill
Any agent
npx skills add RevylAI/greenlight --skill codex-skill
Clone the repo
git clone --depth 1 https://github.com/RevylAI/greenlight

Made for: Claude Code, Codex.

Or install greenlight, the plugin that ships this one along with the rest of its 2 skills.

Per session 65 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 594 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00065 $0.00594
Opus 5 $0.00032 $0.00297
Sonnet 5 $0.00013 $0.00119
Haiku 4.5 $0.00006 $0.00059

Measured 3d ago against content hash 71db6b49b943, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

app-store-preflight-compliance scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

codex-skill/SKILL.md · 88 lines

How it starts

The opening of the file, as written. The whole thing — 88 lines — stays where its author put it; the contents beside it link to each section on GitHub.

App Store Preflight Compliance

Run Greenlight checks, fix findings, and repeat until the project reaches GREENLIT status.

Workflow

  1. Run greenlight preflight at the project root.
  2. Triage findings by severity (CRITICAL, then WARN, then INFO).
  3. Apply concrete code/configuration fixes.
  4. Re-run and continue until no CRITICAL findings remain.

Step 1: Run Scan

greenlight preflight .

If an IPA is available:

greenlight preflight . --ipa /path/to/build.ipa

If greenlight is missing, install it:

# Homebrew (macOS)
brew install revylai/tap/greenlight

# Go
go install github.com/RevylAI/greenlight/cmd/greenlight@latest

# Build from source
git clone https://github.com/RevylAI/greenlight.git
cd greenlight && make build

Step 2: Fix Findings

Fix in order:

  1. CRITICAL: must fix before submission.
  2. WARN: high rejection risk, strongly recommended to fix.
  3. INFO: best-practice improvements.

Common fixes:

  • Move hardcoded secrets to environment variables.
  • Replace external payment flows for digital goods with StoreKit/IAP.
  • Add Sign in with Apple when social login exists.
  • Add account deletion when account creation exists.
  • Remove references to competing platforms.
  • Replace placeholder text (Lorem ipsum, TBD, Coming soon).
  • Rewrite vague purpose strings with concrete app behavior.
  • Replace hardcoded IPs with hostnames.
  • Replace http:// URLs with https://.
  • Remove debug logs or gate them behind development flags.
  • Add missing privacy policy URL and required App Store metadata.

Step 3: Re-Run Until GREENLIT

greenlight preflight .

Continue until output reports GREENLIT (zero CRITICAL findings).

Useful Commands

greenlight codescan .
greenlight privacy .
greenlight ipa /path/to/build.ipa
greenlight scan --app-id <ID>
greenlight guidelines search "privacy"

Attribution

Original project and workflow: RevylAI/greenlight.

Read the full file on GitHub · 88 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 88 lines · 65 tokens per session scan A 71db6b49b943

Subscribe to this mod's changes

app-store-preflight-compliance is a skill published in the GitHub repository RevylAI/greenlight (2,421 stars, last pushed 28d ago), licensed MIT. It adds 65 tokens to every session and 594 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

ipaship-audit

Use when auditing iOS/Android app submissions for compliance with Apple App Store Review Guidelines or Google Play Developer Policies. Scan .ipa, .apk, or .zip files against official store policies, generate structured compliance reports, and identify violations with remediation steps.

atharvnaik1/ipaship-audit · 57 tokens

app-store-compliance

Run an enterprise pre submission compliance audit on a mobile app project before uploading to the Apple App Store or Google Play. Use when the user is about to submit, ship, or release an iOS or Android app, when an app was rejected and needs a fix plan, when reviewing App Store Review Guidelines or Google Play policy…

mjmirza/app-store-compliance · 108 tokens

app-store-approval

Audit an iOS/iPadOS codebase for App Store rejection risks before submission. Use this skill whenever the user mentions App Store submission, App Review, TestFlight release, app rejection, ITMS errors, privacy manifests, PrivacyInfo.xcprivacy, App Store guidelines, paywall compliance, "is my app ready to ship", or…

artbyjazi/app-store-approval · 111 tokens

appstore-precheck

Read-only pre-submission check for an iOS app before App Store review. Scans Swift and Objective-C code, fastlane metadata, screenshots, PrivacyInfo.xcprivacy, and the paywall for 53 rejection vectors, wraps Apple's official fastlane precheck, watches for live App Store Review Guideline drift, has Pierre explain every…

berkayturk/appstore-precheck · 182 tokens

consent-flow

Generates GDPR/CCPA/DPDP privacy consent flows with granular category preferences, consent state persistence, audit logging, and ATT (App Tracking Transparency) integration. Use when user needs privacy consent UI, cookie/tracking consent, or compliance management.

rshankras/claude-code-apple-skills · 54 tokens

aso-playbook

Beginner-friendly App Store Optimization guide covering keyword research, screenshot design, rating management, and A/B testing for iOS and Android. By @WeiYipei — practical ASO for indie developers and small teams.

Gingiris-1031/gingiris-skills · 48 tokens