rea-ci-tests-audit
MOmorluto/rea486k8,943 new stars in the last 7 days
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 compliance, or when the user mentions App Store rejection, Play Console rejection, Resolution Center, Data Safety form, privacy nutrition labels, account deletion requirement, in app purchase rules, or app review.
This skill runs a full pre submission compliance audit against the Apple App Store Review Guidelines and the Google Play Developer Program Policies, then produces a fix plan ranked by severity. It exists because roughly one in four App Store submissions is rejected and Google blocked over 1.75 million Play submissions in 2025, almost always for the same handful of preventable causes.
Set ROOT to the playbook root, the folder two levels above this SKILL.md, which contains agent-os/, data/, docs/, references/ and scripts/. In an installed plugin that is the plugin's own copy, for example under ~/.claude/plugins/ or ~/.codex/plugins/cache/. Every playbook path below is relative to ROOT, so write it as $ROOT/.... Run the commands from the app project, so ./metadata and any other app path stay in the app, never in the plugin copy.
The key files in this checkout are.
data/rejection-patterns.json the machine readable taxonomy.docs/APPLE.md and docs/GOOGLE-PLAY.md the full rejection maps.docs/PRE-SUBMISSION-CHECKLIST.md the verifiable checklist.docs/MISTAKE-PATTERNS.md root causes, the appeal playbook, and real rejection case studies.docs/BY-APP-TYPE.md the rejection map routed by app type. Load the section that matches the app.docs/ADVANCED-2026.md the modern upload time and legal layer.docs/EU-REGULATORY-2026.md the EU legal hard rules with dated sources. the EU AI Act, the DMA and the Core Technology Fee, DSA trader status, and the European Accessibility Act. Load it for any app reaching EU users.docs/GLOBAL-REGULATORY-2026.md the USA and other-global legal hard rules with dated sources. COPPA, the US state App Store Accountability Acts, the external-link rules, the UK, Australia, Brazil, Canada, South Korea, India, and more, plus Apple's cross-region age-assurance spine. Load it for any app reaching those users.docs/PLATFORM-MECHANICS-2026.md the platform-mechanics and newer-policy hard rules with dated sources. macOS notarization, Guideline 4.2 and 4.3 with the June 2026 saturation tightening, reader apps, France ANSSI encryption, visionOS and watchOS and tvOS specifics, Android developer verification, Foreground Service types, Play Integrity, Play Billing v8, target API, Health Connect, and the cross-cutting CSAM, UGC, accessibility, sanctions, and PCI items. Load it for any app whose type touches these.references/ the structured, AI loadable tree. Load references/guidelines/by-app-type/<type>.md for the app at hand and the relevant references/rules/<category>.md files for full context before judging.templates/REVIEW-NOTES-TEMPLATE.md the review notes template to hand the user for a new submission.agent-os/hooks/app-store-compliance-guard.sh the automated scanner.AGENTS.md the release review checklist for agents working in this repo or an app that uses this playbook.For the strongest audit, also run the metadata layer. A large share of rejections live in the listing text, not the source.
bash "$ROOT"/scripts/pull-metadata.sh apple # pulls the live listing into ./metadata via the asc CLI
python3 "$ROOT"/scripts/metadata-audit.py ./metadata # audits name, subtitle, keywords, description, URLs
python3 "$ROOT"/scripts/metadata-audit.py ./metadata --propose # writes suggested fixes, source copy untouched
python3 "$ROOT"/scripts/metadata-audit.py ./metadata/android --platform google # Google Play limits and rules
python3 "$ROOT"/scripts/release-audit.py /path/to/app --metadata ./metadata # full gate, exit 0 clear, 2 blocked, 3 incomplete
The metadata audit checks character limits, other platform mentions, future functionality, negative Apple sentiment, profanity, ranking and price claims, keyword formatting, missing privacy policy and subscription terms, China storefront AI references, and malformed URLs (pass --check-urls to also test that each URL loads). It audits every locale folder on its own, filled from a fastlane default/ folder and parent folders like fastlane does, and names the locale in each finding. It flags a URL that is not a real http or https address, an Apple listing with no support URL, a Google listing with no contact email, and a subscription with no real Terms or EULA link. Run it, then re run it after applying fixes. That is the detect, propose, re validate loop.
The release audit blocks on any critical or high finding with exit 2. It exits 3 when a scan failed or the listing was not audited, so pass --metadata with your pulled listing.
For monitoring evolving developer requirements, also run the Apple Developer requirements monitor. This tracks 25 key categories against active developer news/announcements and maps updates directly to repository impact:
python3 "$ROOT"/scripts/monitor.py --project /path/to/app/project
Or simulate a simulated track update (e.g., "Privacy Manifests") to preview impact:
python3 "$ROOT"/scripts/monitor.py --project /path/to/app/project --simulate "Privacy Manifests"
The monitor determines repository impact, identifies affected files, generates migration tasks, estimates release impact, and drafts a complete pull request description.
Run the guard against the project root.
bash "$ROOT"/agent-os/hooks/app-store-compliance-guard.sh "/path/to/app/project"
If the user already installed the playbook with scripts/install.sh, the same guard may also live in that tool's hooks folder. Prefer the copy in this checkout when working from the plugin.
It detects iOS and Android, scans for the rejection patterns, and prints findings ranked critical, high, medium. It exits 2 when a critical risk is present.
Some rejection causes are not visible in code. Walk these by hand against the project, using docs/PRE-SUBMISSION-CHECKLIST.md.
docs/EU-REGULATORY-2026.md and docs/GLOBAL-REGULATORY-2026.md.docs/PLATFORM-MECHANICS-2026.md.For every finding, output a table row. The pattern id, the platform, the cited guideline, the severity, the concrete fix, and the file or setting to change. Order by severity. Mark each critical as a release blocker.
Read the exact guideline number the store cited, find the matching pattern in data/rejection-patterns.json, apply the fix, then follow the appeal playbook in docs/MISTAKE-PATTERNS.md. Never resubmit an unchanged build. On Google, a careless resubmit moves the account toward suspension.
If time is short, verify these two first, because they cause the majority of rejections across both stores.
The scan cannot prove either one. Ask the team to record them, with the other manual checks, in .app-review-readiness.json in the app folder (template in templates/app-review-readiness.json). The guard reads it, blocks on any check marked fail, and lists what is still open. Report scanner findings and manual checks as two separate halves, and quote the Rule pack. line from the guard so the reader knows how current the rules are. See docs/WHAT-THE-SCAN-PROVES.md.
The audit ends with a ranked findings table and a clear verdict. Clear to submit, or blocked with a numbered fix list. Never report clear while a critical finding stands.
MOmorluto/rea486k8,943 new stars in the last 7 days
MOmorluto/rea486k8,943 new stars in the last 7 days
MAmattpocock/skills337k4,978 new stars in the last 7 days
MAmattpocock/skills337k4,978 new stars in the last 7 days
MAmattpocock/skills337k4,978 new stars in the last 7 days
Block dangerous git commands like push and reset --hard before they execute.
MAmattpocock/skills337k4,978 new stars in the last 7 days