Repository navigation
feat(agents): add store-compliance skill for App Store and Google Play release readiness - #187
amaury901130 wants to merge 2 commits into
Conversation
…y release readiness Adds a framework-agnostic skill that audits a mobile project against Apple App Store and Google Play requirements, reports findings with evidence, and fixes approved findings with a validation pass afterwards. - Requirement catalogs (Apple, Google, cross-platform) with stable IDs, type, deadlines and official sources, verified on 2026-12-02 - Stack detectors for Expo, React Native, Flutter, native iOS and Android - Report format, remediation rules and the interactive resolution flow - Mirrored in .claude/skills, like pr-description - STORE_COMPLIANCE_REPORT.md export ignored by git Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
There was a problem hiding this comment.
🟡 Changes recommended
Unresolved issues can misclassify confirmed risks, falsely validate Android native-library compatibility, and trigger unapproved file writes during read-only audits.
3 open issues
What changed in this PR
Overall Review: ai:serious
Adds a reusable store-compliance skill to the template’s agent tooling, without changing application code.
Changes:
- Adds store requirement catalogs, official sources, and stack-specific inspection guides.
- Defines evidence-based reporting, approval-gated remediation, and re-auditing.
- Mirrors the skill for Claude and ignores exported reports.
| File | Description |
|---|---|
.gitignore |
Ignores exported compliance reports. |
.claude/skills/store-compliance/SKILL.md |
Mirrored audit workflow. |
.claude/skills/store-compliance/references/sources.md |
Mirrored official sources. |
.claude/skills/store-compliance/references/requirements/google.md |
Mirrored Google Play catalog. |
.claude/skills/store-compliance/references/requirements/cross-platform.md |
Mirrored shared requirements. |
.claude/skills/store-compliance/references/requirements/apple.md |
Mirrored App Store catalog. |
.claude/skills/store-compliance/references/report-format.md |
Mirrored report schema and verdict rules. |
.claude/skills/store-compliance/references/remediation.md |
Mirrored remediation safeguards. |
.claude/skills/store-compliance/references/detectors/README.md |
Mirrored stack detection guide. |
.claude/skills/store-compliance/references/detectors/react-native.md |
Mirrored React Native checks. |
.claude/skills/store-compliance/references/detectors/native-ios.md |
Mirrored native iOS checks. |
.claude/skills/store-compliance/references/detectors/native-android.md |
Mirrored native Android checks. |
.claude/skills/store-compliance/references/detectors/flutter.md |
Mirrored Flutter checks. |
.claude/skills/store-compliance/references/detectors/expo.md |
Mirrored Expo checks. |
.agents/skills/store-compliance/SKILL.md |
Defines the audit and remediation workflow. |
.agents/skills/store-compliance/references/sources.md |
Lists official verification sources. |
.agents/skills/store-compliance/references/requirements/google.md |
Defines Google Play requirements. |
.agents/skills/store-compliance/references/requirements/cross-platform.md |
Defines shared store requirements. |
.agents/skills/store-compliance/references/requirements/apple.md |
Defines App Store requirements. |
.agents/skills/store-compliance/references/report-format.md |
Defines reports and readiness verdicts. |
.agents/skills/store-compliance/references/remediation.md |
Defines approved-fix safeguards. |
.agents/skills/store-compliance/references/detectors/README.md |
Maps stacks to inspection guides. |
.agents/skills/store-compliance/references/detectors/react-native.md |
Locates React Native evidence. |
.agents/skills/store-compliance/references/detectors/native-ios.md |
Locates native iOS evidence. |
.agents/skills/store-compliance/references/detectors/native-android.md |
Locates native Android evidence. |
.agents/skills/store-compliance/references/detectors/flutter.md |
Locates Flutter evidence. |
.agents/skills/store-compliance/references/detectors/expo.md |
Guides Expo configuration inspection. |
Review effort: Balanced
|
|
||
| ## Export | ||
|
|
||
| When the user asks to export (or the report is too long for chat): |
There was a problem hiding this comment.
Good catch. Phase 4 wrote the export file by itself when the report was long, which contradicted the read-only rule for phases 1–4. Fixed in 55ed86f: Phase 4 now only offers the export (option 5). The Export section requires an explicit request, asks before overwriting an existing STORE_COMPLIANCE_REPORT.md, and tells the user before appending the .gitignore entry. Mirrored in .claude/skills/.
| Status rules for the summary: | ||
|
|
||
| - **Not ready**: at least one Confirmed Blocker. | ||
| - **Ready with risks**: no Confirmed Blocker, but any Risk ≥ Medium, or any Unverified that could be a Blocker. |
There was a problem hiding this comment.
Agreed, the rule left a gap: an audit with only Confirmed High/Medium findings came out as "Ready". Fixed in 55ed86f: "Ready with risks" now covers any Confirmed or Risk finding of Medium severity or higher. Mirrored in .claude/skills/.
| - Check: list the `.so` files in a release AAB/APK and check that their LOAD segments are 16 KB aligned (`zipalign -c -P 16 -v 4 app.apk`, the `check_elf_alignment.sh` script from the Android guide, or Android Studio's APK Analyzer). Without a build, check that the versions of the framework, AGP (≥ 8.5.1), NDK (≥ r28), and native libraries are ones that announced 16 KB support. | ||
| - Pass: every `.so` is 16 KB aligned. |
There was a problem hiding this comment.
Correct, zipalign -c -P 16 only checks ZIP offsets, not ELF LOAD segment alignment. Fixed in 55ed86f: GPL-BUILD-002 now requires two separate checks on a release APK (ELF alignment with check_elf_alignment.sh / llvm-objdump -p / APK Analyzer, and ZIP alignment with zipalign). It says explicitly that zipalign alone never proves compliance, and keeps the status Unverified when only dependency versions are available. The native-android.md detector row was updated too, and both changes are mirrored in .claude/skills/.
- Phase 4 no longer writes the export file on its own; exporting needs an explicit request and asks before overwriting an existing report - "Ready with risks" now also covers Confirmed findings of Medium or higher - 16 KB check requires both ELF LOAD-segment and ZIP alignment checks, and stays Unverified when only dependency versions are available Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

Jira board reference:
What does this do?
Adds a
store-complianceagent skill that audits a mobile project for Apple App Store and Google Play release readiness. It identifies the stack, checks the project against a catalog of store requirements, and reports Critical Blockers, Potential Rejection Risks, Upcoming Requirements, Recommendations, Manual Verification items, and an Action Plan. Every finding cites evidence asfile:line. It only changes code after the user approves specific findings, then re-runs the quality gates and produces a before/after report.Why did you do this?
Store rejections and missed deadlines (target API, Xcode SDK, privacy manifests, age rating, Play declarations) are found late, usually at submission. This gives every project generated from the template a repeatable pre-release check that separates confirmed issues from risks and from console-only tasks.
Who/what does this impact?
Agent tooling only; no app code changes.
.agents/skills/store-compliance/withSKILL.mdandreferences/: requirement catalogs (apple.md,google.md,cross-platform.md) with stable IDs, deadlines and official sources verified on 2026-12-02; stack detectors (Expo, React Native, Flutter, native iOS, native Android); report format; remediation rules..claude/skills/store-compliance/, likepr-description..gitignore: ignores theSTORE_COMPLIANCE_REPORT.mdexport.The skill ships to generated apps through the template sync (it isn't in
.appignore).Layer 2: Risk Classification
risk:low: Markdown agent instructions and one.gitignoreentry.How did you test this?
Ran the skill end to end on this template, phases 1–4 (read-only), at commit
594b962:Resolved the production config with
APP_ENV=production npx expo prebuild --no-install --cleanin a scratch copy, after a cleanpnpm install --frozen-lockfile.It reported 1 Blocker (demo screens reachable in production: empty Feed and Add Post, and the Style tab not gated by env), 1 High (no in-app privacy policy link), and Medium/Low risks (no app-level privacy manifest, iPad enabled with a portrait-only UI,
expo-updatesmissing while OTA is configured, unused Android permissions, dev-launcher strings in the releaseInfo.plist,wwwroute accepting any URL). It also listed what passes and the console checklist.Checked that all 62 source URLs resolve (fixed one 404 and two redirects).
Tested on iOS
Tested on Android
Tested on a small device
Tested on a real device
Tested all flows related with this PR changes
Tested accessibility
Added tests
Notes:
Last verifieddate, and the skill re-checks official sources before reporting anything with a deadline.--no-verify: the only Pushgate result was the non-blockingdiff_sizewarning (2.6k lines, mostly because the skill is mirrored in two folders), which needs an interactive confirmation.node_modulesmatches the lockfile before resolving config. During testing, a stale install (Expo 54 against a lockfile for Expo 58) produced wrong native config.Screenshots / Previews
N/A: no UI changes.
🤖 Generated with Claude Code