wordpress-workspace-transcription-smoke-test

द्वारा automattic

वर्डप्रेस वर्कस्पेस ट्रांसक्रिप्शन एंडपॉइंट स्मोक टेस्ट को नो-डिपेंडेंसी शेल स्क्रिप्ट, बियरर टोकन, साइट आईडी/डोमेन, ऑडियो फाइलों का उपयोग करके चलाएं या समझाएं,…

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.

automattic की और Skills

testing-js
automattic
जावास्क्रिप्ट फ़ाइलों में सिंटैक्स त्रुटियों की जाँच करने के दिशानिर्देश
setup
automattic
सत्यापित करें कि dn CLI स्थापित और कॉन्फ़िगर किया गया है। इसका उपयोग तब करें जब उपयोगकर्ता पहली बार domain-names प्लगइन स्थापित करता है, या जब dn कमांड CLI के कारण विफल हो जाता है…
studio-cli
automattic
स्टूडियो CLI का उपयोग करके स्थानीय WordPress साइटों, प्रमाणीकरण और पूर्वावलोकन साइटों का प्रबंधन करें। इस कौशल को तब लागू करें जब आपको स्टूडियो CLI कमांड चलाने, प्रबंधित करने की आवश्यकता हो…
dn-info
automattic
dn CLI का उपयोग करके पंजीकृत डोमेन के बारे में विस्तृत जानकारी प्राप्त करें। जब उपयोगकर्ता डोमेन विवरण जैसे समाप्ति तिथि, नेमसर्वर, संपर्क आदि देखना चाहे तब उपयोग करें।
qa
automattic
निकाले गए WXR सामग्री की तुलना मूल स्रोत साइट से पृष्ठ दर पृष्ठ करें। लापता पाठ, शीर्षक, चित्र और लिंक खोजें। WXR को पैच करके या… ठीक करें।
add-skill
automattic
a8c-design प्लगइन में एक नया स्किल जोड़ें। जब आपने Claude Code स्किल बनाया हो और उसे साझा Automattic a8c-design प्लगइन में योगदान देना चाहते हों तो इसका उपयोग करें —…
design-foundations
automattic
मुक्त साइट से एक सुसंगत डिज़ाइन-फाउंडेशन JSON बनाएं — सिमेंटिक रंग/टाइपोग्राफी/स्पेसिंग भूमिकाएँ साक्ष्य-निशानों के साथ। आंशिक स्कैफोल्ड का उपभोग करता है…
wp-phpstan
automattic
वर्डप्रेस प्रोजेक्ट्स (प्लगइन्स/थीम्स/साइट्स) में PHPStan स्टैटिक एनालिसिस को कॉन्फ़िगर करने, चलाने या ठीक करने के लिए उपयोग करें: phpstan.neon सेटअप, बेसलाइन्स,…