app-health-check

作者: facebook

對 Meta 應用程式執行全面健康檢查——一次審核設定、安全性、合規性、應用程式審查狀態、速率限制和 API 棄用情況。使用…

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.

來自 facebook 的更多技能

gc-safe-coding
facebook
完整解釋與理由請參閱 doc/GCSafeCoding.md。
app-review-prep
facebook
準備將 Meta 應用程式提交至 App Review——檢查目前狀態、未完成的要求、已授予的權限及提交紀錄。請在提交應用程式前使用……
api-health
facebook
監控 Meta 應用程式的 API 健康狀態 — 檢查速率限制、呼叫量與 API 棄用情況。用於診斷節流問題、規劃容量,或為 API 版本…做好準備。
debug-webhooks
facebook
排解 Meta 應用程式的 webhook 問題——檢查作用中的訂閱、找出設定錯誤,並傳送測試負載以驗證傳遞。當……時使用。
api-integration
facebook
引導開發者從零開始設定 Meta API 整合 — 找出正確的 API、取得設定指南、驗證需求、…
webhook-setup
facebook
端到端設定 Meta 應用程式的 Webhook — 探索可用主題、訂閱欄位,並透過測試負載驗證。在為… 設定 Webhook 時使用。
test-ui
facebook
使用 iwsdk CLI 針對 poke 範例測試 UI 系統(PanelUI、ScreenSpace)。
flags
facebook
檢查並比較 React 發佈通道中的功能旗標狀態。檢視所有通道(www、www-modern、canary、next、experimental、rn 變體)的旗標,或使用 --diff 比較特定通道。輸出格式包括預設表格檢視、CSV 匯出及清理狀態分組。旗標狀態以符號表示:啟用(✅)、停用(❌)、變體測試(🧪)、僅分析(📊)。常見陷阱:__VARIANT__ 旗標在 www 上會以兩種狀態進行測試;使用 --diff 可找出有意義的差異。