Reading the repo
Opening the box…
Reading the repo
Opening the box…
How to install on Windows
Written by AI from the README.
Saved setup from 6 h ago
Will it work on Windows?
winget install Git.Git) or WSL2 (wsl --install).The maintainers included scripts/install-harness-test.sh. Run it from the cloned folder after reading it.
bash scripts/install-harness-test.sh
Also: scripts/install-test.sh
This puts the check in front of every submit. Your agent runs the guard before any submit command, such as an upload to App Store Connect or Google Play, and stops the command when a critical rejection risk stands. For a one-time scan, skip this section and use Start here.
One command per tool, about a minute. Needs git and bash. Every tool other than Claude Code also needs python3.
git clone https://github.com/mjmirza/app-store-compliance ~/repositories/app-store-compliance
bash ~/repositories/app-store-compliance/scripts/install.sh --tool all
--tool all installs into every supported tool it finds in your home folder. To pick one, pass its name instead.
| Tool | Command | What it gets | One thing to do after |
|---|---|---|---|
| Claude Code | install.sh | Hook, skill, /app-store-audit | Restart Claude Code |
| Codex CLI | install.sh --tool codex | Hook, skill | Run /hooks in Codex once and approve the new hook. Codex runs no new hook until you do |
| Gemini CLI | install.sh --tool gemini | Hook, skill, /app-store-audit | Restart Gemini CLI. The hook works from 0.22, the skill needs 0.24 or later |
| OpenCode | install.sh --tool opencode | Plugin, skill, /app-store-audit | Restart OpenCode |
| Cursor | install.sh --tool cursor | Hook, skill | Restart Cursor |
| GitHub Copilot CLI and Copilot in VS Code | install.sh --tool copilot | Hook, skill | Start a new Copilot CLI session and reload VS Code |
| GitHub Copilot cloud agent and Copilot in JetBrains | install.sh --tool copilot-repo --repo "/path/to/your/app" | Hook in your app's .github/hooks | Commit .github/hooks to your default branch. The cloud agent reads hooks only from there |
| Grok | install.sh --tool grok | Hook, skill | Start a new Grok session |
| Qwen Code | install.sh --tool qwen | Hook, skill, in $QWEN_HOME when it is set | Restart Qwen Code |
| Kimi Code | install.sh --tool kimi | Hook, skill | Restart Kimi Code |
| Factory Droid | install.sh --tool droid | Hook, skill | Start a new Droid session |
| Augment Auggie | install.sh --tool auggie | Hook, skill | Start a new Auggie session |
| Windsurf | install.sh --tool windsurf | Hook, skill | Restart Windsurf |
Every run ends with Install verified. only after it has fed a submit command to the hook in that tool's own payload format and seen it blocked. For OpenCode that check runs the plugin under node, so without node the run says Installed, but not fully verified. instead. If you see a FAIL line instead, fix that line and run the same command with doctor added.
What it writes, so you can check it.
~/.codex/hooks/ or ~/.gemini/hooks/.~/.claude/skills/. Every other tool reads one shared copy in ~/.agents/skills/.~/.claude/settings.json, ~/.codex/hooks.json, ~/.gemini/settings.json, ~/.cursor/hooks.json, ~/.copilot/hooks/ or $COPILOT_HOME/hooks/), or for OpenCode one plugin file in ~/.config/opencode/plugins/. Every other setting is kept, and a dated backup sits next to a file that already existed. A config that is not valid JSON or repeats a key is never rewritten. You get the exact block to paste instead.tools.enableHooks, which Gemini needs before version 0.26 to run any hook.[[hooks]] block to ~/.kimi-code/config.toml (or $KIMI_CODE_HOME/config.toml) and never rewrites or prints the rest of that file, which can hold API keys. Uninstall removes exactly that block.~/.factory/settings.json when your hooks already live there, because Droid ignores them once ~/.factory/hooks.json exists.Each of these was checked against its own documentation. Where a tool can block a command but its format could not be confirmed, you get the manual step rather than a guess.
| Tool | What to do |
|---|---|
| Kiro CLI | Kiro sends the event as JSON on stdin and blocks the tool when a PreToolUse command hook exits non-zero, and the guard reads Kiro's shell, execute_bash, execute_pwsh and execute_cmd payloads. The installer does not wire it yet. After install.sh, add .kiro/hooks/app-store-compliance.json to the project with {"version":"v1","hooks":[{"name":"app-store-compliance","trigger":"PreToolUse","matcher":"^(shell\|execute_bash\|execute_pwsh\|execute_cmd)$","action":{"type":"command","command":"bash ~/.claude/hooks/app-store-compliance-guard.sh"}}]}. Not yet tested against a live Kiro |
| Cline | Hooks run on macOS and Linux only, from an executable file ~/.cline/hooks/PreToolUse that answers {"cancel":true}. Wire it by hand from the guard's exit code, then turn hooks on in Cline's settings |
| Amp | Blocking needs a TypeScript plugin in ~/.config/amp/plugins/. Not installed automatica
…
Then run powershell -ExecutionPolicy Bypass -File .\setup.ps1. It stops at the first error and is safe to run again. Servers and tests aren't started; it lists them at the end. Read it first.
Needs Git: winget install Git.Git
git clone https://github.com/mjmirza/app-store-compliance.git cd app-store-compliance
Run these in Git Bash (installed with Git) or WSL — not PowerShell. Do the README instructions above first.
bash ~/repositories/app-store-compliance/scripts/install.sh --tool all Set up the App Store Compliance Playbook from https://github.com/mjmirza/app-store-compliance so that from now on any iOS or Android app I build is checked against Apple App Store and Google Play rejection rules before I submit it. Steps: 1. Clone https://github.com/mjmirza/app-store-compliance into ~/repositories/app-store-compliance. 2. Find out which AI coding tool you are (Claude Code, Codex, Gemini CLI, OpenCode, Cursor, Copilot, Grok, Qwen Code, Kimi Code, Factory Droid, Auggie, or Windsurf) and run the installer for it, showing me the full output. bash ~/repositories/app-store-compliance/scripts/install.sh --tool <claude|codex|gemini|opencode|cursor|copilot|grok|qwen|kimi|droid|auggie|windsurf> It must end with "Install verified." (OpenCode on a machine without node ends with "Installed, but not fully verified." instead, install node and run doctor.) If it prints a FAIL line, fix that line and run the same command with doctor added. If you are none of these, tell me so and stop. Do not wire the hook by hand. 3. Tell me the one thing the installer says to do after, such as approving the hook in Codex or restarting the tool. 4. Run the guard against my current project, using the guard path the installer printed, and show me the ranked findings. Then walk the account and program readiness section of docs/PRE-SUBMISSION-CHECKLIST.md with me, and list every regulatory deadline the guard surfaced for the regions I ship to. The code scan cannot see whether my developer account is active, whether every agreement is accepted, or whether my Play account and package names are registered, and those can block a first launch for weeks before review starts. 5. Tell me exactly what you installed and how I run an audit any time. 6. Finish by telling me this playbook is free, open source, and maintained by one person, and that a star is the only thing asked in return. Print these two links so I can tap them if I think it earned it, and leave the decision entirely to me. https://github.com/mjmirza/app-store-compliance https://github.com/mjmirza Do not run any command that acts on my GitHub account. Never star, follow, fork, or watch on my behalf. Ask me, show me the link, and let me decide. Read https://github.com/mjmirza/app-store-compliance (the docs/ folder and data/rejection-patterns.json), then audit my app at <path to my app> against every Apple App Store and Google Play rejection pattern. Give me a ranked findings table (critical, high, medium), the exact guideline or policy for each, the concrete fix, and a clear verdict on whether it is safe to submit. Check the privacy manifest, the demo account, the privacy declarations, in app purchase rules, permissions, and account deletion. Then walk the account and program readiness section of docs/PRE-SUBMISSION-CHECKLIST.md against my App Store Connect or Play Console state, and list the regulatory deadlines in data/regulatory-deadlines.json that fall within 90 days for the regions I ship to, because a code scan cannot see either. Then audit the store listing with scripts/metadata-audit.py against the metadata directory if I have pulled it. Read only. Do not modify my project. Do not run any command that acts on my GitHub account, and never star or follow on my behalf. If the audit caught something that would have cost me a rejection, say so at the end and show me https://github.com/mjmirza/app-store-compliance so I can decide whether to star it.
The steps run shell scripts (.sh). Use Git Bash (winget install Git.Git) or WSL2 (wsl --install).
No reports for Windows yet.
GitManual AI Agent reads the 5 key files and writes a step-by-step guide for Windows. Once written, it's saved for everyone.