Terminal
Terminal/Skill
Local WordPress development in WordPress Studio, using its MCP tools first and the Studio CLI as a fallback.
By Automattic
Works with
npx skills add automattic/build-with-wordpress --skill studioUse this skill whenever the user wants to work with a local WordPress site in WordPress Studio.
This skill is the canonical source for:
Other skills should reference this skill for review and iteration instead of restating those steps.
Prefer WordPress Studio MCP tools over shell commands for WordPress operations.
Use the Studio CLI only when MCP is unavailable, failing, or explicitly required.
Keep this skill minimal. Do not duplicate command syntax or generic WordPress guidance that can be inferred from the tool surface.
Use MCP for:
wp_clivalidate_blockstake_screenshot and inspect_designUse the CLI for:
studio wp actionsUse direct file edits for theme and plugin files when writing code.
studio site listSTUDIO_HOME from the common parent of existing site paths, or default to ~/Studio if no sites exist yet.mcp.json entry for normal usesite_list or site_info when you need to confirm connectivitysite_list or site_info.<site-path> as the root for generated artifacts rather than the agent launch directory.wp_cli, block validation, or audit tools.wp_cli for arbitrary WordPress operations instead of dropping to the shell.studio CLI command that gets the job done.wp_cli content update that contains serialized WordPress block markup, run validate_blocks. Prefer the filePath argument when the content lives in a template, template part, pattern, or other file.validate_blocks issue as a required fix step:core/html policy reports invalid HTML blocks, rewrite those blocks as editable core or plugin blocks before calling validate_blocks againvalidate_blocks applies an auto-fix to a file, do not manually replace the file content; review the returned diff only for class, nesting, or CSS-selector follow-uptake_screenshot to review the result on desktop and mobile when layout or styling matters.inspect_design before editing CSS so the fix targets the element carrying the rendered style.validate_blocks is mandatory after block-content writes or updates.auditing rather than embedding that workflow here.record_workflow_event only for meaningful workflow milestones such as started or completed when a specialist skill asks for it.