跳到正文
FunCoding

app-store-compliance

Run a 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.

Star
10,234
最近提交
2026年12月2日

directory/source/skills/app-store-compliance/SKILL.md

在 GitHub 上查看

App Store Compliance Audit

This skill runs a 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 works by reading the bundled reference files and the app project with your own file tools (Read, Grep, Glob). It runs no bundled program.

Set ROOT to the plugin root, the folder two levels above this SKILL.md, which contains docs/, data/, references/ and templates/. Every path below that starts with one of those folders is relative to ROOT. Read the user's app project from its own folder, never from the plugin copy.

What is bundled

  • data/rejection-patterns.json the machine readable taxonomy. Each pattern has an id, a platform, the cited guideline, a severity, what triggers it, and the fix.
  • data/detection-recipes.json search patterns per pattern id. Use each one as a Grep pattern over the app project.
  • data/regulatory-deadlines.json dated legal and store deadlines with sources.
  • data/ruling-register.json how past ambiguous cases were ruled.
  • references/README.md the index of the structured reference tree. references/rules/<category>.md holds every rule by category, and references/guidelines/by-app-type/<type>.md routes the rules by app type.
  • docs/APPLE.md and docs/GOOGLE-PLAY.md the full rejection maps.
  • docs/PRE-SUBMISSION-CHECKLIST.md the verifiable checklist.
  • docs/RELEASE-REVIEW-GUIDE.md the 15 point release review list.
  • 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.
  • docs/ADVANCED-2026.md the upload time and legal layer.
  • docs/EU-REGULATORY-2026.md the EU legal rules with dated sources. Load it for any app reaching EU users.
  • docs/GLOBAL-REGULATORY-2026.md the USA and other regional legal rules with dated sources.
  • docs/PLATFORM-MECHANICS-2026.md the platform mechanics and newer policy rules with dated sources.
  • docs/CROSS-PLATFORM-FRAMEWORKS.md Flutter, React Native, Expo, Ionic and Capacitor specifics.
  • What a code scan can and cannot prove is explained at https://github.com/mjmirza/app-store-compliance/blob/main/docs/WHAT-THE-SCAN-PROVES.md.
  • templates/REVIEW-NOTES-TEMPLATE.md the review notes template for a new submission.
  • templates/app-review-readiness.json the record of the manual checks.

How to run it

Step 1. Identify the app

Use the path the user gave, otherwise the current working directory. With Glob, find what the project ships. An iOS app has an .xcodeproj, .xcworkspace, Info.plist or Package.swift. An Android app has AndroidManifest.xml and a build.gradle or build.gradle.kts. A cross platform app has pubspec.yaml, a package.json with react-native or expo, or a capacitor.config file. Decide the app type (games, kids, health, social, subscriptions, AI, finance, VPN, macOS, or universal) from the project and the listing.

Step 2. Load the right references

Read references/guidelines/by-app-type/universal-every-app.md and the by app type file that matches. Read the references/rules/<category>.md files those point to. For a cross platform app, read docs/CROSS-PLATFORM-FRAMEWORKS.md.

Step 3. Check the code and configuration

For each pattern that applies to the platform and app type, look for its trigger in the project.

  • Take the pattern's recipe from data/detection-recipes.json and run it as a Grep search with the Grep tool. Translate a shell recipe into Grep calls, never into a shell command.
  • Read the files that decide the outcome. Info.plist, PrivacyInfo.xcprivacy, the entitlements file, AndroidManifest.xml, the Gradle files, the dependency manifests and lockfiles, and the login, purchase and account settings code.
  • For every hit, read the surrounding code before reporting it. A match in a comment, a test, or a debug only build is not a finding.

Record each finding with the pattern id, the platform, the cited guideline, the severity from the taxonomy, the file and line, and the fix.

Step 4. Check the store listing

If the user has the listing text in the project (for example a fastlane metadata folder), read it and check it against references/rules/metadata.md. Check character limits, mentions of other platforms, promises of future features, ranking and price claims, a missing privacy policy URL, a missing support URL, and subscription terms with no Terms or EULA link.

Step 5. Walk the checks a code search cannot see

Walk docs/PRE-SUBMISSION-CHECKLIST.md and docs/RELEASE-REVIEW-GUIDE.md with the user. At least these.

  • The production backend is live and stays up during the whole review window.
  • A working demo account is in the review notes, with no 2FA the reviewer cannot pass, and it does not expire.
  • The Apple privacy nutrition labels and privacy manifest, and the Google Data Safety form, match the real runtime behavior, including every third party SDK.
  • Screenshots show the app in use, not a splash or login screen, and the listing claims only what the app does.
  • For a new Google personal account, the closed test of 12 testers over 14 days is complete.
  • The Apple age rating questions are answered.
  • For any app reaching EU, US, or other regional users, the legal layer in docs/EU-REGULATORY-2026.md and docs/GLOBAL-REGULATORY-2026.md is met. Store review does not check it.
  • The platform mechanics in docs/PLATFORM-MECHANICS-2026.md that match the app type are met.

Check data/regulatory-deadlines.json for any deadline in the next 90 days that applies to the app.

Ask the team to record the manual checks in .app-review-readiness.json in the app folder, using templates/app-review-readiness.json as the shape.

Step 6. Produce the fix plan

Output one table row per finding. The pattern id, the platform, the cited guideline, the severity, the concrete fix, and the file or setting to change. Order by severity. Mark every critical finding as a release blocker. Report code findings and manual checks as two separate halves.

Step 7. If the app was already rejected

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.

The two checks that matter most

If time is short, check these two first. They cause the majority of rejections across both stores.

  1. A working demo account with a live backend.
  2. A privacy declaration that matches actual runtime behavior, including every SDK.

A code search cannot prove either one. See https://github.com/mjmirza/app-store-compliance/blob/main/docs/WHAT-THE-SCAN-PROVES.md.

The automated guard

This directory build carries the references only. The automated guard, a scanner that runs before an upload command, ships with the full install from https://github.com/mjmirza/app-store-compliance.

Output contract

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.

相似的 Skill

rea-ci-tests-audit

MOmorluto/rea486k近 7 天新增 8,943 个 star

rea-changelog-update

MOmorluto/rea486k近 7 天新增 8,943 个 star

wizard

MAmattpocock/skills337k近 7 天新增 4,978 个 star

pr

MAmattpocock/skills337k近 7 天新增 4,978 个 star

triage

MAmattpocock/skills337k近 7 天新增 4,978 个 star

精选

git-guardrails-claude-code

阻止危险的 git 命令,避免误推、误删分支。

MAmattpocock/skills337k近 7 天新增 4,978 个 star