wp-playground

Schnelle, temporäre WordPress-Instanzen im Browser oder lokal per CLI, mit automatischem Mounten, Versionswechsel und Xdebug-Debugging. Starte flüchtige WordPress-Seiten in WebAssembly mit SQLite; unterstützt WordPress 6.9+ und PHP 7.2.24+, mit schnellem Versionswechsel für Kompatibilitätstests. CLI-Befehle umfassen server (automatisches Mounten von Plugins/Themes), run-blueprint (skriptgesteuerte Einrichtung) und build-snapshot (teilbare ZIP-Exporte) via Node.js 20.18+. Automatische Erkennung und Mounten von lokalem Plugin- oder Theme-Code;...

npx skills add https://github.com/wordpress/agent-skills --skill wp-playground

WordPress Playground

This is a thin routing wrapper. Use it to pick the right Playground workflow, then load only the focused reference or skill needed for the task.

Procedure

  1. Identify the user intent: Blueprint authoring/review, local CLI execution, browser-only website/share link workflow, Xdebug/stuck CLI run, or a mixed Playground request.
  2. Route to the focused source below, loading more than one only when the request has multiple distinct parts.
  3. For mixed requests, delegate Blueprint JSON work to blueprint, then return here for runtime, CLI, debugging, or sharing guidance.
  • Blueprint JSON, schema, steps, resources, bundles, or Blueprint review: use the blueprint skill directly. Do not duplicate Blueprint schema details here.
  • Local CLI execution: read references/cli.md for @wp-playground/cli server, run-blueprint, build-snapshot, mounts, version switching, and local validation.
  • Xdebug or stuck CLI runs: read references/debugging.md for Xdebug, runtime logs, worker flags, and stuck CLI runs.
  • Browser-only Playground website workflows: read references/website.md for playground.wordpress.net, share URLs, Blueprint Editor, hosted bundles, and browser limitations.

Inputs required

  • The intended workflow: Blueprint authoring, local CLI run, website/share link, snapshot, or debugging.
  • Project or bundle path if local code must be mounted or packaged.
  • Desired WordPress/PHP versions if compatibility matters.
  • Port preference if a local server is needed.
  • Whether browser-only sharing or local filesystem access is required.

Guardrails

  • Playground instances are disposable, SQLite-backed environments; never point them at production data.
  • Keep Blueprint JSON guidance in blueprint so the schema and examples have one source of truth.
  • For local CLI work, verify Node.js 20.18+ and npm/npx before running commands.
  • Browser-only Playground cannot read local filesystem paths; use public URLs, hosted ZIP bundles, or inline Blueprint JSON.

Verification

  • For Blueprint content, validate against the published schema and follow the blueprint skill verification.
  • For local CLI runs, verify the mounted plugin/theme or Blueprint side effects in the Playground instance.
  • For share links, open the generated URL and confirm the expected landing page and installed assets load.

Failure modes

  • Blueprint work routed here: stop and use the blueprint skill for schema keys, steps, resources, bundles, validation, or Blueprint review.
  • Local filesystem needed in a browser-only workflow: use references/cli.md; playground.wordpress.net cannot read local filesystem paths.
  • Shareable browser link requested from a local CLI workflow: use references/website.md; local server URLs are not portable share links.
  • Debugging treated as a second-hop reference: read references/debugging.md directly for Xdebug, logs, worker flags, and stuck CLI runs.

Escalation

  • If the task needs PHP extensions, native database access, persistence, or production-like infrastructure that Playground cannot provide, use a full WordPress stack such as wp-env, Docker, or the project-provided environment.

Mehr Skills von wordpress

blueprint
wordpress
Verwenden beim Erstellen, Bearbeiten oder Überprüfen von WordPress Playground Blueprint JSON-Dateien. Wird bei Erwähnungen von Blueprints, Playground-Konfiguration oder Anfragen ausgelöst…
official
wordpress-router
wordpress
Klassifiziere WordPress-Codebasen und leite an den korrekten Workflow für Plugins, Themes, Blöcke und Core-Checkouts weiter. Führt automatisiertes Projekt-Triage durch, um den Repo-Typ (Plugin, Theme, Block-Theme, Gutenberg-Blöcke, WP-Core) und verfügbare Werkzeuge zu identifizieren. Gibt Klassifikationsergebnisse und Entscheidungsbaum-Routing an domänenspezifische Skills basierend auf Benutzerabsicht und Projektart aus. Erfordert Repo-Root-Zugriff sowie Bash/Node-Dateisystemoperationen; einige Workflows benötigen WP-CLI. Zielgruppe: WordPress 6.9+ mit PHP 7.2.24+;...
official
wp-abilities-api
wordpress
WordPress-Abilities-API-Registrierung, REST-Bereitstellung und clientseitige Nutzung für WordPress 6.9+. Registrieren Sie Abilities und Kategorien in PHP mit wp_register_ability() und wp_register_ability_category() mit stabilen IDs, Labels und Metadaten. Stellen Sie Abilities Clients über die /wp-json/wp-abilities/v1/ REST-Endpunkte zur Verfügung, indem Sie meta.show_in_rest: true setzen. Nutzen Sie Abilities in JavaScript mit dem @wordpress/abilities-Paket für clientseitigen Zugriff und Berechtigungsprüfungen. Erfordert WordPress 6.9+...
official
wp-abilities-audit
wordpress
Audit a WordPress plugin's REST surface and produce a standardized audit document proposing Abilities API registrations. Produces a markdown doc with a YAML…
official
wp-abilities-verify
wordpress
Verify a WordPress plugin's Abilities API registrations: enumerate abilities, check that callback behavior matches each annotation's claim (the adversarial…
official
wp-block-development
wordpress
WordPress-Block-Entwicklung für Gutenberg: Metadaten, Registrierung, Rendering und Build-Workflows. Behandelt Block-Erstellung, block.json-Konfiguration, statisches vs. dynamisches Rendering und serverseitige PHP-Registrierung mit register_block_type_from_metadata(). Erzwingt apiVersion: 3 für WordPress 6.9+-Kompatibilität, einschließlich iframe-Editor-Unterstützung und Stilisolierung. Behandelt Attributserialisierung, Deprecations/Migrationen zur Vermeidung von "Invalid block"-Fehlern und die Zusammensetzung innerer Blöcke. Enthält...
official
wp-block-themes
wordpress
WordPress-Block-Theme-Entwicklung: theme.json, Vorlagen, Patterns und Fehlerbehebung im Site-Editor. Behandelt theme.json-Bearbeitung (Voreinstellungen, Einstellungen, blockbezogene Stile), Vorlagen und Vorlagenteile, Patterns sowie Stilvarianten ab WordPress 6.9+. Enthält Triage-Skripte zur Erkennung von Theme-Wurzeln und Block-Theme-Strukturen sowie geführte Verfahren zur Erstellung neuer Themes oder zur Umwandlung klassischer Themes. Bietet Debugging-Workflows für Probleme mit der Stilhierarchie, Überschreibungen durch Benutzeranpassungen und den Site...
official
wp-interactivity-api
wordpress
Verwenden beim Erstellen oder Debuggen von WordPress Interactivity API-Funktionen (data-wp-*-Direktiven, @wordpress/interactivity store/state/actions, block viewScriptModule…
official