wordpress-workspace-transcription-smoke-test

Führen oder erklären Sie WordPress Workspace Transkriptions-Endpunkt-Smoke-Tests mit dem abhängigkeitsfreien Shell-Skript, Bearer-Tokens, Site-IDs/Domains, Audiodateien,… durch

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.

Mehr Skills von automattic

testing-js
automattic
Richtlinien zur Überprüfung von JavaScript-Dateien auf Syntaxfehler
setup
automattic
Überprüfen, ob die dn CLI installiert und konfiguriert ist. Verwenden, wenn der Benutzer das domain-names Plugin zum ersten Mal installiert oder wenn ein dn-Befehl fehlschlägt, weil die CLI nicht…
studio-cli
automattic
Verwenden Sie die Studio-CLI, um lokale WordPress-Seiten, Authentifizierung und Vorschauseiten zu verwalten. Rufen Sie diese Fähigkeit auf, wenn Sie Studio-CLI-Befehle ausführen, verwalten…
dn-info
automattic
Holen Sie detaillierte Informationen über eine registrierte Domain mit der dn CLI. Verwenden Sie dies, wenn der Benutzer Domaindetails wie Ablaufdatum, Nameserver, Kontakte usw. sehen möchte.
qa
automattic
Extrahierte WXR-Inhalte Seite für Seite mit der ursprünglichen Quellseite vergleichen. Fehlende Texte, Überschriften, Bilder und Links finden. Durch Patchen der WXR-Datei beheben oder…
add-skill
automattic
Füge einen neuen Skill zum a8c-design-Plugin hinzu. Verwende dies, wenn du einen Claude Code Skill erstellt hast und ihn zum gemeinsamen Automattic a8c-design-Plugin beitragen möchtest —…
design-foundations
automattic
Erstelle ein kohärentes Design-Foundation-JSON aus einer befreiten Website – semantische Farb-/Typografie-/Abstandsrollen mit Evidenzpfaden. Konsumiert das partielle Gerüst…
wp-phpstan
automattic
Verwenden beim Konfigurieren, Ausführen oder Beheben von PHPStan-Statikanalysen in WordPress-Projekten (Plugins/Themes/Websites): phpstan.neon-Setup, Baselines,…