compliance-check

bởi facebook

Kiểm tra trạng thái tuân thủ cho ứng dụng Meta — hiển thị các hành động bắt buộc còn mở, vi phạm đang hoạt động và đề xuất kèm hướng dẫn khắc phục. Dùng để kiểm toán…

npx skills add https://github.com/facebook/agentic-tools --skill compliance-check

Compliance Check

Audit the compliance posture of a Meta app and provide remediation guidance.

Workflow

  1. Start tracking. Before any other work, call devtools_skill_invocation with action start and skill_name compliance-check. Pass skill_name compliance-check on every devtools_* tool call in the following steps.

  2. Identify the app. Ask the user for the app name or ID. If they give a name (or aren't sure of the ID), call devtools_app_list (action list) and resolve it to an app_id — match the name case-insensitively. If several apps match or it's ambiguous, show the candidates (name, ID, viewer role) and ask the user to pick. If they give a numeric ID, use it directly.

  3. Collect data in parallel:

    • devtools_compliance with action status — full compliance status
    • devtools_app with action basic_settings — app context (name, category, status)
    • devtools_app with action data_protection_officer — DPO contact info
  4. Analyze compliance status. Categorize findings by severity:

    Violations (critical — may result in app restrictions or removal)

    • What the violation is
    • When it was flagged
    • What action is required
    • Deadline for resolution

    Required Actions (high — must be completed by deadline)

    • Description of the required action
    • Deadline
    • Steps to complete

    Recommendations (low — suggested improvements)

    • What's recommended and why
    • How to implement
  5. Produce the compliance report:

    Report Format

    App Overview

    • App name, ID, category

    Compliance Score

    • Overall status: COMPLIANT / ACTION REQUIRED / VIOLATION
    • Count of items by severity

    Violations (if any)

    • Each violation with description, deadline, and remediation steps

    Required Actions (if any)

    • Each action with description, deadline, and steps to complete

    Recommendations (if any)

    • Each recommendation with description and implementation guidance

    Data Protection Officer

    • Current DPO contact info
    • Flag if DPO info is missing or incomplete

    Action Plan

    • Prioritized list: violations first, then required actions by deadline, then recommendations
    • For each item, provide specific steps the developer can take
  6. Suggest follow-ups:

    • If violations exist: emphasize urgency and potential consequences
    • If DPO info is missing: explain why it matters and how to set it up
    • If app review is blocked by compliance: suggest /app-review-prep after resolving issues
  7. End tracking. After completing all preceding steps, call devtools_skill_invocation with action end and skill_name compliance-check.

Tips

  • Compliance deadlines are hard deadlines — missing them can result in app restrictions.
  • Some compliance items require changes in the Meta Developer Dashboard that can't be done via API. Flag these clearly as "manual action required in Developer Dashboard."
  • If the app is fully compliant, keep the report brief and congratulatory.

Thêm skills từ facebook

gc-safe-coding
facebook
Để biết giải thích đầy đủ và lý do, hãy xem doc/GCSafeCoding.md.
app-review-prep
facebook
Chuẩn bị ứng dụng Meta cho App Review — kiểm tra trạng thái hiện tại, các yêu cầu còn tồn đọng, quyền đã được cấp và lịch sử gửi duyệt. Sử dụng trước khi gửi ứng dụng…
api-health
facebook
Theo dõi tình trạng API cho ứng dụng Meta — kiểm tra giới hạn tỷ lệ, khối lượng cuộc gọi và các API bị ngừng hỗ trợ. Dùng để chẩn đoán tình trạng hạn chế, lập kế hoạch dung lượng hoặc chuẩn bị cho phiên bản API…
debug-webhooks
facebook
Khắc phục sự cố webhook cho ứng dụng Meta — kiểm tra các đăng ký đang hoạt động, xác định cấu hình sai và gửi payload thử nghiệm để xác minh việc phân phối. Sử dụng khi…
api-integration
facebook
Hướng dẫn nhà phát triển thiết lập tích hợp Meta API từ đầu — khám phá các API phù hợp, tìm nạp hướng dẫn thiết lập, yêu cầu xác thực,…
webhook-setup
facebook
Thiết lập webhooks cho ứng dụng Meta từ đầu đến cuối — khám phá các chủ đề có sẵn, đăng ký nhận các trường và xác minh bằng payload kiểm thử. Sử dụng khi cấu hình webhooks cho…
test-ui
facebook
Kiểm thử hệ thống UI (PanelUI, ScreenSpace) với ví dụ poke bằng iwsdk CLI.
flags
facebook
Kiểm tra và so sánh trạng thái cờ tính năng trên các kênh phát hành React. Xem tất cả cờ trên các kênh (www, www-modern, canary, next, experimental, biến thể rn) hoặc so sánh các kênh cụ thể với --diff. Định dạng đầu ra bao gồm chế độ xem bảng mặc định, xuất CSV và nhóm trạng thái dọn dẹp. Trạng thái cờ được biểu thị bằng ký hiệu: bật (✅), tắt (❌), kiểm thử biến thể (🧪), chỉ lập hồ sơ (📊). Lỗi thường gặp: cờ __VARIANT__ được kiểm thử ở cả hai trạng thái trên www; sử dụng --diff để phát hiện sự khác biệt có ý nghĩa...