wordpress-workspace-transcription-smoke-test

โดย automattic

Run or explain WordPress Workspace transcription endpoint smoke tests using the no-dependency shell script, bearer tokens, site IDs/domains, audio files,…

npx skills add https://github.com/automattic/workspace --skill wordpress-workspace-transcription-smoke-test

WordPress Workspace Transcription Smoke Test

Use this skill for direct endpoint testing of WordPress.com transcription.

Workflow

  1. Use the existing script first.
    • Script: Tools/wpcom-transcribe.sh
    • Endpoint: POST /wpcom/v2/sites/{site}/ai/transcription
    • Required: bearer token or auth header, site ID/domain, and audio file.
  2. Keep it dependency-free.
    • The script is POSIX shell plus curl.
    • Do not add jq, Python, local OAuth flows, or extra dependencies unless the user explicitly asks.
  3. Choose the narrowest invocation.
    • Dictation: WPCOM_BEARER_TOKEN="$TOKEN" Tools/wpcom-transcribe.sh --site 123456 --file ./sample.mp3
    • Command mode: add --intent command --selected-text "Rewrite this."
    • Debug REST proxy: add --envelope.
    • Network debugging: add --verbose and optional --proxy <url>.
    • Custom context: add --app-context '<json>'.
  4. Protect secrets.
    • Never print token values.
    • Prefer environment variables or redacted examples.
  5. Interpret failures by layer.
    • Local file and MIME detection.
    • Auth header or token scope.
    • Site ID/domain and selected-site permissions.
    • Endpoint response body and HTTP status.
    • Proxy, timeout, or WordPress.com API availability.

Product Notes

  • The app uses the same site-scoped endpoint for dictation and selected-text command mode.
  • The selected site may provide a server-side wp_guideline skill with slug transcribe, so connected apps share the same spelling, cleanup, and style rules.
  • The endpoint may create the Transcription guideline as a WordPress Guideline skill on first use.
  • Saving artifacts is controlled by the save_artifact field in app requests and should create WordPress Guideline artifacts on the selected site.

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

wp-phpstan
automattic
ใช้เมื่อกำหนดค่า เรียกใช้ หรือแก้ไขการวิเคราะห์แบบสแตติกของ PHPStan ในโปรเจกต์ WordPress (ปลั๊กอิน/ธีม/ไซต์): การตั้งค่า phpstan.neon, เบสไลน์,…
official
wp-playground
automattic
ใช้สำหรับเวิร์กโฟลว์ของ WordPress Playground: อินสแตนซ์ WP แบบใช้แล้วทิ้งที่รวดเร็วในเบราว์เซอร์หรือในเครื่องผ่าน @wp-playground/cli (server, run-blueprint, build-snapshot),…
official
wp-plugin-development
automattic
ใช้เมื่อพัฒนา WordPress plugins: สถาปัตยกรรมและ hooks, การเปิดใช้งาน/ปิดใช้งาน/ถอนการติดตั้ง, UI สำหรับผู้ดูแลระบบและ Settings API, การจัดเก็บข้อมูล, cron/งาน, ความปลอดภัย…
official
wp-project-triage
automattic
ใช้เมื่อคุณต้องการตรวจสอบที่เก็บ WordPress (ปลั๊กอิน/ธีม/ธีมบล็อก/WP core/Gutenberg/ทั้งไซต์) อย่างแน่นอน รวมถึงเครื่องมือ/การทดสอบ/เวอร์ชัน…
official
wp-rest-api
automattic
ใช้เมื่อสร้าง ขยาย หรือดีบักเอนด์พอยต์/เส้นทางของ WordPress REST API: register_rest_route, คลาส WP_REST_Controller/controller, schema/argument…
official
wp-wpcli-and-ops
automattic
ใช้เมื่อทำงานกับ WP-CLI (wp) สำหรับการดำเนินการ WordPress: การค้นหาและแทนที่อย่างปลอดภัย, การส่งออก/นำเข้าฐานข้อมูล, การจัดการปลั๊กอิน/ธีม/ผู้ใช้/เนื้อหา, cron, การล้างแคช,…
official
wpds
automattic
ใช้เมื่อสร้าง UI ที่ใช้ประโยชน์จาก WordPress Design System (WPDS) และส่วนประกอบ โทเค็น รูปแบบ ฯลฯ
official
woocommerce-finalize
automattic
การตรวจสอบสุขภาพโค้ดและความสามารถในการตรวจสอบย้อนกลับก่อนเผยแพร่สำหรับปลั๊กอิน WooCommerce ดำเนินการหลังจากการตรวจสอบโค้ด -- เน้นที่โค้ดที่ไม่ได้ใช้ การซ้ำซ้อน ความซับซ้อนเชิงโครงสร้าง และ...
official