search-docs

โดย facebook

ค้นหาเอกสารสำหรับนักพัฒนาของ Meta เพื่อดูคู่มือ API เอกสารอ้างอิง และบทช่วยสอน ใช้เมื่อต้องการค้นหาวิธีการทำงานของ Meta API ค้นหาคู่มือการผสานการทำงาน หรือ…

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

Skills เพิ่มเติมจาก facebook

gc-safe-coding
facebook
สำหรับคำอธิบายและเหตุผลโดยละเอียด โปรดดูที่ doc/GCSafeCoding.md
app-review-prep
facebook
เตรียมแอป Meta สำหรับ App Review — ตรวจสอบสถานะปัจจุบัน ข้อกำหนดที่ค้างอยู่ สิทธิ์ที่ได้รับ และประวัติการส่ง ใช้ก่อนส่งแอป…
api-health
facebook
ตรวจสอบสุขภาพ API สำหรับแอป Meta — ตรวจสอบ rate limits, ปริมาณการเรียกใช้ และการเลิกใช้งาน API ใช้เพื่อวินิจฉัยการจำกัดการใช้งาน, วางแผนความจุ หรือเตรียมพร้อมสำหรับเวอร์ชัน API…
debug-webhooks
facebook
แก้ไขปัญหาเว็บฮุคสำหรับแอป Meta — ตรวจสอบการสมัครใช้งานที่ใช้งานอยู่ ระบุการตั้งค่าที่ผิดพลาด และส่งเพย์โหลดทดสอบเพื่อยืนยันการส่งมอบ ใช้เมื่อ…
api-integration
facebook
แนะนำนักพัฒนาในการตั้งค่าการเชื่อมต่อ Meta API ตั้งแต่เริ่มต้น — ค้นหา API ที่เหมาะสม ดึงคู่มือการตั้งค่า ข้อกำหนดการยืนยันตัวตน…
webhook-setup
facebook
ตั้งค่าเว็บฮุคสำหรับแอป Meta แบบครบวงจร — ค้นหาหัวข้อที่มีให้เลือก สมัครรับฟิลด์ และตรวจสอบด้วยเพย์โหลดทดสอบ ใช้เมื่อกำหนดค่าเว็บฮุคสำหรับ…
test-ui
facebook
ทดสอบระบบ UI (PanelUI, ScreenSpace) กับตัวอย่าง poke โดยใช้ iwsdk CLI
flags
facebook
ตรวจสอบและเปรียบเทียบสถานะฟีเจอร์แฟลกข้ามช่องทางการเผยแพร่ของ React ดูแฟลกทั้งหมดในทุกช่องทาง (www, www-modern, canary, next, experimental, rn variants) หรือเปรียบเทียบเฉพาะช่องทางด้วย --diff รูปแบบผลลัพธ์ประกอบด้วยมุมมองตารางเริ่มต้น, การส่งออก CSV, และการจัดกลุ่มสถานะการทำความสะอาด สถานะแฟลกแสดงด้วยสัญลักษณ์: เปิดใช้งาน (✅), ปิดใช้งาน (❌), ทดสอบรูปแบบต่างๆ (🧪), เฉพาะการทำโปรไฟล์ (📊) ข้อผิดพลาดทั่วไป: แฟลก __VARIANT__ ถูกทดสอบในทั้งสองสถานะบน www; ใช้ --diff เพื่อค้นหาความหมาย...