app-health-check

bởi facebook

Chạy kiểm tra sức khỏe toàn diện trên ứng dụng Meta — kiểm tra cài đặt, bảo mật, tuân thủ, trạng thái đánh giá ứng dụng, giới hạn tốc độ và các API bị ngừng hỗ trợ trong một lần. Sử dụng…

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

App Health Check

Run a full audit of a Meta app and produce an actionable report.

Workflow

  1. Start tracking. Before any other work, call devtools_skill_invocation with action start and skill_name app-health-check. Pass skill_name app-health-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. Run all calls concurrently to minimize latency:

    • devtools_app with action basic_settings — app name, category, platform, contact info
    • devtools_app with action security — app secret rotation, allowed domains, data deletion URL
    • devtools_compliance with action status — open required actions, violations, recommendations
    • devtools_app_review with action status — current review state, pending submissions
    • devtools_api_usage with action rate_limits — current rate limit health
    • devtools_api_usage with action deprecations — deprecated APIs needing migration
  4. Synthesize the report. Organize findings into these sections:

    Report Format

    App Overview

    • App name, ID, category, status

    Security

    • Highlight any issues: missing data deletion URL, stale app secret, overly broad domain allowlist
    • Flag if App Secret has not been rotated recently

    Compliance

    • List any open required actions with deadlines
    • List any active violations
    • Summarize recommendations

    App Review

    • Current review status
    • Any pending or rejected submissions
    • Permissions/features that still need review

    API Health

    • Rate limit status: report the overall_status field as returned — healthy, warning, critical, throttled, or unmetered
    • Usage at or above the 70% warning band, flagging 90%+ as critical
    • Deprecated APIs with severity and migration recommendations

    Action Items

    • Prioritized list of things to fix, ordered by severity (violations > required actions > recommendations > improvements)
  5. Offer next steps. Suggest relevant follow-up skills:

    • /compliance-check for deeper compliance remediation
    • /app-review-prep if there are pending review requirements
    • /webhook-setup if webhooks aren't configured yet
    • /api-health for deeper API usage analysis and endpoint-level investigation
  6. End tracking. After completing all preceding steps, call devtools_skill_invocation with action end and skill_name app-health-check.

Tips

  • If any MCP call fails, report the failure in the relevant section rather than aborting the whole check.
  • Always include the app ID in the report header for easy reference.
  • For apps with no issues, keep the report short — don't pad with unnecessary detail.

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...