search-docs

Cari dokumentasi pengembang Meta untuk panduan API, referensi, dan tutorial. Gunakan saat mencari cara kerja API Meta, menemukan panduan integrasi, atau…

npx skills add https://github.com/facebook/agentic-tools --skill search-docs

Search Docs

Search the Meta Social Technologies Developer Platform documentation to answer API questions, find integration guides, and explore platform capabilities.

Workflow

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

  2. Understand the query. Determine what the user is looking for:

    • API reference (e.g., "how does the Page API work?")
    • Integration guide (e.g., "how to set up Instagram webhooks?")
    • Troubleshooting (e.g., "why am I getting error code 190?")
    • Feature discovery (e.g., "what can I do with the WhatsApp Business API?")
  3. Search. Call devtools_discovery with action search_docs:

    • Formulate a clear, specific query
    • Start with max_results of 5
    • If results are too broad, refine the query and search again
  4. Present results. For each result:

    • Title and brief description
    • Direct relevance to the user's question
    • Key takeaways or next steps
  5. Refine if needed. If initial results don't answer the question:

    • Try alternative search terms (e.g., "Graph API permissions" instead of "Facebook API access")
    • Use pagination via offset to explore more results
    • Broaden or narrow the query based on what was returned
  6. Synthesize. Don't just list links — extract the answer:

    • Summarize the relevant documentation
    • Highlight key requirements, limitations, or gotchas
    • Provide code patterns or configuration steps if applicable
  7. End tracking. After completing all preceding steps, call devtools_skill_invocation with action end and skill_name search-docs.

Search Tips

  • Use product-specific terms: "WhatsApp Business API" not "WhatsApp API"
  • Include the specific operation: "create ad campaign" not "ads"
  • For error codes, search the exact code: "error 190" or "OAuthException"
  • For permissions, include the permission name: "pages_read_engagement permission"

When to suggest other skills

  • If the user is looking up webhook configuration → suggest /webhook-setup
  • If the user is researching app review requirements → suggest /app-review-prep
  • If the user is troubleshooting compliance → suggest /compliance-check

Lebih banyak skill dari facebook

gc-safe-coding
facebook
Untuk penjelasan lengkap dan alasannya, lihat doc/GCSafeCoding.md .
app-review-prep
facebook
Siapkan aplikasi Meta untuk App Review — periksa status terkini, persyaratan yang belum terpenuhi, hak akses yang diberikan, dan riwayat pengiriman. Gunakan sebelum mengirimkan aplikasi…
api-health
facebook
Pantau kesehatan API untuk aplikasi Meta — periksa batas tarif, volume panggilan, dan penghentian API. Gunakan untuk mendiagnosis pembatasan, merencanakan kapasitas, atau bersiap untuk versi API…
debug-webhooks
facebook
Atasi masalah webhook untuk aplikasi Meta — periksa langganan aktif, identifikasi salah konfigurasi, dan kirim payload uji untuk memverifikasi pengiriman. Gunakan ketika…
api-integration
facebook
Pandu pengembang melalui penyiapan integrasi API Meta dari awal — temukan API yang tepat, ambil panduan penyiapan, persyaratan autentikasi,…
webhook-setup
facebook
Siapkan webhook untuk aplikasi Meta secara end-to-end — temukan topik yang tersedia, berlangganan ke bidang, dan verifikasi dengan payload uji. Gunakan saat mengonfigurasi webhook untuk…
test-ui
facebook
Uji sistem UI (PanelUI, ScreenSpace) terhadap contoh poke menggunakan CLI iwsdk.
flags
facebook
Periksa dan bandingkan status bendera fitur di seluruh saluran rilis React. Lihat semua bendera di berbagai saluran (www, www-modern, canary, next, experimental, varian rn) atau bandingkan saluran tertentu dengan --diff. Format keluaran mencakup tampilan tabel default, ekspor CSV, dan pengelompokan status pembersihan. Status bendera ditunjukkan dengan simbol: aktif (✅), nonaktif (❌), pengujian varian (🧪), hanya profiling (📊). Kendala umum: bendera __VARIANT__ diuji dalam kedua status di www; gunakan --diff untuk menemukan perbedaan yang berarti...