v1.6.0 — Theme Management
Theme Management — 7 new abilities
Read-only (reader surface)
- list-themes — list installed themes with status, type (block/classic), parent info
- get-theme-info — detailed metadata, theme.json contents, full file tree
- get-theme-file — read any theme file (templates, parts, patterns, styles, assets, PHP, CSS, JSON)
Write (full surface)
- create-theme — scaffold standalone or child block themes with theme.json design tokens, starter templates, header/footer parts
- update-theme-file — write/update any theme file with path traversal protection and JSON validation
- delete-theme-file — remove files with protection for required files (style.css, templates/index.html)
- activate-theme — switch active theme with dry-run support
Child theme support
create-theme accepts a parent parameter to scaffold a child theme that inherits templates, parts, and styles from an existing theme. Only override files are created.
Extras
extras/mu-plugin-theme-caps.php— reference mu-plugin to create a "Theme Editor" role (Editor + edit_themes + switch_themes)