app-health-check

Run a comprehensive health check on a Meta app — audits settings, security, compliance, app review status, rate limits, and API deprecations in one pass. Use…

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.

More skills from facebook

gc-safe-coding
facebook
For the full explanation and rationale, see doc/GCSafeCoding.md .
app-review-prep
facebook
Prepare a Meta app for App Review — checks current status, outstanding requirements, granted privileges, and submission history. Use before submitting an app…
api-health
facebook
Monitor API health for a Meta app — check rate limits, call volume, and API deprecations. Use to diagnose throttling, plan capacity, or prepare for API version…
debug-webhooks
facebook
Troubleshoot webhook issues for a Meta app — inspect active subscriptions, identify misconfiguration, and send test payloads to verify delivery. Use when…
api-integration
facebook
Guide a developer through setting up a Meta API integration from scratch — discovers the right APIs, fetches setup guides, authentication requirements,…
webhook-setup
facebook
Set up webhooks for a Meta app end-to-end — discover available topics, subscribe to fields, and verify with a test payload. Use when configuring webhooks for…
test-ui
facebook
Test UI system (PanelUI, ScreenSpace) against the poke example using the iwsdk CLI.
flags
facebook
Inspect and compare feature flag states across React release channels. View all flags across channels (www, www-modern, canary, next, experimental, rn variants) or compare specific channels with --diff Output formats include default table view, CSV export, and cleanup status grouping Flag states indicated by symbols: enabled (✅), disabled (❌), variant testing (🧪), profiling-only (📊) Common pitfall: __VARIANT__ flags are tested in both states on www; use --diff to spot meaningful...