Skip to content

Avoid common App Store and Google Play rejections. Open playbook and pre-submission guard with 117 documented rejection patterns and fixes, privacy manifest and Data safety checks, 95 tracked deadlines (EU AI Act, DSA, COPPA, age laws), and a skill for AI coding agents.

docs: wire references tree and review-notes template into install prompt, skill, and command

mjmirza14e661a75e48
diff --git a/README.md b/README.md
index 2922931..1206fc5 100644
--- a/README.md
+++ b/README.md
@@ -31,7 +31,7 @@ Set up the App Store Compliance Playbook from https://github.com/mjmirza/app-sto
Steps:
1. Clone https://github.com/mjmirza/app-store-compliance into ~/repositories/app-store-compliance. If you cannot clone, read the files over the GitHub raw URLs instead.
-2. Install the audit skill: copy agent-os/skill/SKILL.md plus the docs/ and data/ folders into your agent's skills directory. For Claude Code that is ~/.claude/skills/app-store-compliance/.
+2. Install the audit skill: copy agent-os/skill/SKILL.md plus the docs/, data/, references/, and templates/ folders into your agent's skills directory. For Claude Code that is ~/.claude/skills/app-store-compliance/. The references/ folder is the structured tree the agent loads slices from.
3. Install the pre-submission guard: copy agent-os/hooks/app-store-compliance-guard.sh into your hooks directory (for Claude Code, ~/.claude/hooks/), make it executable, and register it as a PreToolUse hook on the Bash tool in settings.json so it runs before app submission commands (fastlane, eas submit, gradle bundleRelease, xcrun altool, bundletool, xcodebuild archive) and blocks on a critical rejection risk.
4. Add a standing instruction to your agent config: for any iOS or Android work, always adhere to the Apple App Store Review Guidelines and Google Play policies, run the audit before submission, and never say an app is clear to submit while a critical risk stands.
5. Run the guard against my current project and show me the ranked findings:
diff --git a/agent-os/commands/app-store-audit.md b/agent-os/commands/app-store-audit.md
index a082b92..61da591 100644
--- a/agent-os/commands/app-store-audit.md
+++ b/agent-os/commands/app-store-audit.md
@@ -16,6 +16,8 @@ Run a full pre submission compliance audit on a mobile app project so it passes
bash ~/.claude/hooks/app-store-compliance-guard.sh <project-path>
```
+2b. Load the structured references for full context. From `~/.claude/skills/app-store-compliance/references/` load the by app type file that matches the app and the relevant rule category files, so the audit reasons from the full guideline set, not only the guard output. Offer the user `templates/REVIEW-NOTES-TEMPLATE.md` for a new submission.
+
3. Run the human checks the scanner cannot see, from `~/.claude/skills/app-store-compliance/docs/PRE-SUBMISSION-CHECKLIST.md`.
- The production backend is live and stays up during review.
- A working demo account exists, with no 2FA the reviewer cannot pass, not expired, pre populated with data.
diff --git a/agent-os/skill/SKILL.md b/agent-os/skill/SKILL.md
index 15c6a66..3fb058b 100644
--- a/agent-os/skill/SKILL.md
+++ b/agent-os/skill/SKILL.md
@@ -25,6 +25,8 @@ The compliance reference lives in the `app-store-compliance` repo. The key files
- `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.
+- `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.
For the strongest audit, also pull the live App Store Connect metadata and inspect the words in the real listing, not only the source. The asc CLI (`brew install asc`, then `asc metadata pull`) or the App Store Connect API gives the live title, subtitle, keywords, description, and review notes. A large share of rejections live in the listing text, so checking the real metadata catches what a source scan cannot.