blueprint
БесплатноБез исполняемых скриптовНе проверенUse when the deliverable is WordPress Playground Blueprint JSON or a Blueprint bundle, including creating, editing, reviewing, validating schema keys…
от WordPress★ 2 419 звёзд на GitHubОб этом скилле
WordPress Playground Blueprints
Overview
A Blueprint is a JSON file that declaratively configures a WordPress Playground instance — installing plugins/themes, setting options, running PHP/SQL, manipulating files, and more.
Core principle: Blueprints are trusted JSON-only declarations. No arbitrary JavaScript. They work on web, Node.js, and CLI.
Quick Start Template
{
"$schema": "https://playground.wordpress.net/blueprint-schema.json",
"landingPage": "/wp-admin/",
"preferredVersions": { "php": "8.3", "wp": "latest" },
"steps": [{ "step": "login" }]
}
Top-Level Properties
All optional. Only documented keys are allowed — the schema rejects unknown properties.
| Property | Type | Notes |
|---|---|---|
$schema |
string | Always "https://playground.wordpress.net/blueprint-schema.json" |
landingPage |
string | Relative path, e.g. /wp-admin/ |
description |
string | Deprecated optional top-level description. Prefer meta.description for new Blueprints |
meta |
object | { title, author, description?, categories? } — title and author required |
preferredVersions |
object | { php, wp } — both required when present |
features |
object | { networking?: boolean, intl?: boolean } — only these two keys, nothing else. Networking defaults to true |
phpExtensionBundles |
any | Deprecated/no longer used; the schema leaves the value unconstrained and says to remove it from Blueprints |
extraLibraries |
array | ["wp-cli"] — auto-included when any wp-cli step is present |
constants |
object | Shorthand for defineWpConfigConsts. Values: string/boolean/number |
plugins |
array | Shorthand for installPlugin steps. Strings = wp.org slugs |
siteOptions |
object | Shorthand for setSiteOptions |
login |
boolean or object | true = login as admin. Object = { username?, password? } (both default to "admin"/"password") |
steps |
array | Main execution pipeline. Runs after shorthands |
preferredVersions Values
- php: Major.minor only:
"7.4","8.0","8.1","8.2","8.3","8.4","8.5", or"latest". Patch versions like"7.4.1"are invalid. Check the schema for currently supported versions. - wp: Recent major versions,
"latest","beta","nightly"/"trunk", or a URL to a custom zip. The schema also acceptsfalsefor PHP-only Playground; do not combinewp: falsewith WordPress-only fields such asplugins,siteOptions,login, or WordPress-only steps.
Shorthands vs Steps
Shorthands (login, plugins, siteOptions, constants) are expanded and prepended to steps in an unspecified order. Use explicit steps when execution order matters.
Resource References
Resources tell Playground where to find files. Used by installPlugin, installTheme, writeFile, writeFiles, importWxr, etc.
| Resource Type | Required Fields | Example |
|---|---|---|
wordpress.org/plugins |
slug |
{ "resource": "wordpress.org/plugins", "slug": "woocommerce" } |
wordpress.org/themes |
slug |
{ "resource": "wordpress.org/themes", "slug": "astra" } |
url |
url |
{ "resource": "url", "url": "https://example.com/plugin.zip" } |
git:directory |
url, ref |
See below |
literal |
name, contents |
{ "resource": "literal", "name": "file.txt", "contents": "hello" } |
literal:directory |
name, files |
See below |
bundled |
path |
References a file within a blueprint bundle (e.g. { "resource": "bundled", "path": "/plugin.zip" }) |
zip |
inner |
Wraps another resource in a ZIP — use when a step expects a zip but your source isn't one (e.g. wrapping a url resource pointing to a raw directory) |
git:directory — Installing from GitHub
{
"resource": "git:directory",
"url": "https://github.com/WordPress/gutenberg",
"ref": "trunk",
"refType": "branch",
"path": "/"
}
- When using a branch or tag name for
ref, you must setrefType("branch"|"tag"|"commit"|"refname"). Without it, only"HEAD"resolves reliably. pathselects a subdirectory (defaults to repo root).
literal:directory — Inline File Trees
{
"resource": "literal:directory",
"name": "my-plugin",
"files": {
"plugin.php": "<?php /* Plugin Name: My Plugin */ ?>",
"includes": {
"helper.php": "<?php // helper code ?>"
}
}
}
filesuses nested objects for subdirectories — keys are filenames or directory names, values are plain strings (file content) or objects (subdirectories). Never use resource references as values.- Do NOT use path separators in keys (e.g.
"includes/helper.php"is wrong — use a nested"includes": { "helper.php": "..." }object).
Steps Reference
Every step requires "step": "<name>". Any step can optionally include "progress": { "weight": 1, "caption": "Installing..." } for UI feedback.
Pl
Установить blueprint в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл blueprint?
Use when the deliverable is WordPress Playground Blueprint JSON or a Blueprint bundle, including creating, editing, reviewing, validating schema keys, choosing steps/resources, and debugging Blueprint files. For only running or sharing a Playground environment, use wp-playground.
Как установить скилл blueprint?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл blueprint запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic