Langsung ke konten
Skillpedia
Keamanan10k · #11930

play-policy-insights

Fungsinya

Skill ini memeriksa kode aplikasi Android terhadap tiga area kebijakan Google Play: keamanan data, kredensial login demo, dan izin terbatas. Skill membandingkan apa yang dilakukan kode dengan apa yang dinyatakan di daftar toko. Skill ditujukan bagi pengembang Android yang menyiapkan aplikasi untuk tinjauan Play.

Kapan dipakai

  • ✓Saat Anda ingin memeriksa apakah pengumpulan data aplikasi sudah dinyatakan dengan benar untuk Google Play.
  • ✓Ketika Anda perlu memastikan login demo tersedia bagi peninjau Google Play.
  • ✓Ketika aplikasi Anda meminta izin terbatas dan Anda ingin tahu apakah izin itu dibenarkan dan dinyatakan.

Link skill

https://github.com/android/skills/blob/main/play/play-policy-insights/SKILL.md

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/android/skills/blob/main/play/play-policy-insights/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit →

Contoh permintaan ke AI

“Audit aplikasi Android saya untuk masalah keamanan data dan izin terbatas Google Play sebelum saya mengirimkannya.”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Skill membaca kode aplikasi dan membandingkannya dengan deklarasi Play Store yang diberikan kepada skill. Lalu ia menulis laporan kepatuhan yang mendaftar pengumpulan data yang tidak dinyatakan, risiko, dan pengungkapan yang hilang.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.

Play Policy Insights: data safety, login credentials, and restricted permissions

You must audit Android apps for three specific policy domains. You must check data safety, demo login credentials, and restricted permissions.

Path Resolution

  • repo_root: Absolute path to the directory containing this SKILL.md.
  • app_dir:: Absolute path to the directory containing app's code.
  • temp_dir: Absolute path to the scratch directory at the workspace root. It is located at .scratch/play_policy_insights_<uuid>. Containment Mandate: You must confine all file system writes, intermediate artifacts, and logs strictly to this directory. This ensures the skill remains portable and safe across diverse execution environments, including local harnesses and CI/CD pipelines, by avoiding reliance on system-level temporary paths or user home directories.

Critical mandates

  • Execution Mode Awareness Before starting Phase 2, evaluate if your execution environment provides a tool to spawn or delegate tasks to general-purpose sub-agents (e.g., tools often named invoke_agent, delegate_task, or spawn_worker, using generic agent profiles like 'generalist' or 'coding_agent').

  • If YES, you MUST use Mode A (Delegation).

  • If NO, use Mode B (Sequential Self-Execution). You must read the prompt files intended for the subagents, follow their instructions, and write the expected output files to disk.

  • Sub-agents orchestration:

    • If you use "Mode A (Delegation)", wait for "SUCCESS" confirmation from sub-agents to know when they are done.

    • Idempotency & Timeout Safeguard: If a sub-agent fails or times out, you MUST verify the presence and integrity of its target output file (e.g., <temp_dir>/worker_<goal_name>.json) before retrying. If the file exists and contains valid JSON, treat the execution as SUCCESS and proceed. Otherwise, retry up to three times.

  • Fail-fast mandate: The automated audit in Phase 1 is the source of truth. If orchestrator.py fails, you must stop immediately with an explanation of failure. Do not use manual auditing as a fallback.

The two-phase protocol

Phase 1: Fact gathering and triage

  1. Initialize and triage:
    • Run python3 <repo_root>/scripts/orchestrator.py init <app_dir>.
    • This will create the scratch environment, perform static analysis, map the codebase, identify audit goals, and produce prompts for subagents for each audit goal and prompts for designated critic and aggregator subagents.
    • You must wait (up to 5 minutes) for the script to finish.
  2. Capture environment: Note values of the temp_dir, and activated_goals from the JSON output. You will need them in Phase 2.
  3. Evaluate goals: If activated_goals is empty, skip to step 3 of Phase 2 (Aggregation). Otherwise, proceed to step 1 of Phase 2 (Detailed analysis).

Phase 2: Goal-oriented audit

Determine your execution capabilities and proceed with either Mode A OR Mode B.

Mode A: Orchestrator WITH Delegation Capabilities (Parallel)

  1. Detailed analysis: For each goal in activated_goals (e.g., permissions_and_apis, data_safety_part_1, data_safety_part_2), delegate to a sub-agent. Concurrency Limit: You must not spawn more than 3 sub-agents simultaneously. Spawn the first batch of up to 3, wait for their completions, and then spawn the next batch. Repeat until all goals are complete. Pass the prompt: "Read your instructions from <temp_dir>/prompt_worker_<goal_name>.md and execute. MANDATORY: You must use your file-writing capabilities to save your final JSON findings directly to the file system at <temp_dir>/worker_<goal_name>.json. You are strictly forbidden from outputting the JSON in your chat response. To minimize context usage, your final response must be exactly 'SUCCESS' and nothing else." Validate: Confirm every <temp_dir>/worker_<goal_name>.json exists and contains valid JSON. If a sub-agent fails or times out, but the valid JSON output file is already present on disk, do NOT retry; proceed normally. Only retry the corresponding worker (up to three times) if the file is missing or invalid.
  2. Aggregate Findings: Execute the python aggregation command: `python3 <repo_root>/sc
Pertanyaan umum

Apakah ia mengirim aplikasi ke Google Play?

Tidak. Ia menghasilkan laporan kepatuhan untuk membantu Anda menyiapkan pengiriman.

Area apa saja yang diperiksa?

Ia memeriksa keamanan data, kredensial login demo, dan izin terbatas.

Apakah ia menjamin persetujuan?

Tidak. Ia memeriksa celah kebijakan yang terlihat di kode, dan tinjauan akhir adalah keputusan Google.

Detail

Deskripsi asli dari pembuat

Automated auditor designed to verify Android applications against Google Play Policy domains. It cross-references static code analysis with Play Store declarations to generate deterministic compliance reports, identifying undeclared data collection, architectural risks, and missing disclosures across Permissions and APIs Hygiene, User Account and Identity, and Data Safety and Privacy domains.

repo: android/skills

Popularitas

Bintang GitHub
10k
Peringkat
#11930
Lisensi
Apache-2.0
Diperbarui
29/10/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa