play-policy-insights

Audit Android apps against Google Play policies and generate compliance reports.

7.1k|466|Updated Mar 16, 2026
One-click install
npx skills add https://github.com/android/skills --skill play-policy-insights
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: play-policy-insights
Source: https://github.com/android/skills/tree/main/play/play-policy-insights
Command: npx skills add https://github.com/android/skills --skill play-policy-insights

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

Submitting an Android app to Google Play risks rejection or account suspension when the code violates policies on restricted permissions, data safety declarations, or account deletion. This Skill automates a pre-submission audit that cross-references static code analysis with Play Store declarations to surface compliance risks before review.

Core Features & Use Cases

  • Static Policy Audit: Scans manifests, permissions, and source code for violations across Permissions and APIs Hygiene, User Account and Identity, and Data Safety and Privacy domains.
  • Data Safety Cross-Check: Compares detected data collection and transmission behavior against Play Store Data Safety declarations to flag undeclared collection.
  • Deterministic Compliance Reports: Aggregates worker findings through a critic review pass and generates a Markdown compliance report with severity ratings and remediation checklists.
  • Use Case: Before uploading a release build, run the audit to discover that your app requests READ_CONTACTS for a one-time picker flow and get a recommendation to migrate to the Android Contact Picker.

Quick Start

Audit my Android app in the current project directory for Google Play policy compliance and generate a report.

Frequently Asked Questions about play-policy-insights

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I check my Android app for Google Play policy violations before submission?

Run the play-policy-insights audit against your app directory. It performs static analysis of your manifest, permissions, and source code, then generates a compliance report identifying critical violations, important risks, and remediation steps.

What Google Play policy domains does this audit cover?

The audit covers three domains: Permissions and APIs Hygiene (restricted permissions like exact alarms, all files access, background location), User Account and Identity (login credentials, account deletion), and Data Safety and Privacy (data collection, transmission, and disclosure).

Does the audit compare my code against my Play Store Data Safety declaration?

Yes. The report generator scrapes your published app's Play Store Data Safety section and cross-references it with data collection detected in code, flagging discrepancies where collection is undeclared or declarations lack code evidence.

Can the audit run without sub-agent delegation support?

Yes. The skill supports two execution modes: Mode A delegates audit goals to parallel sub-agents when delegation tools exist, and Mode B executes the same worker and critic prompts sequentially in environments without delegation capabilities.

What are the limitations of an automated Play policy audit?

The audit is advisory only and does not guarantee Play Store approval, since the Google Play Review team has final authority. Ambiguous findings are downgraded to suggestions or manual review items rather than flagged as violations.