用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/Automattic/build-with-wordpress-codex --skill theme-creator命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | theme-creator |
| description | Create a modern WordPress block theme. |
Use this skill when the user wants a new WordPress theme or a substantial visual overhaul for a local Studio site.
This skill owns:
Use studio for the review loop after making changes. Use auditing when the user wants performance, accessibility, or broader frontend QA after the theme work.
theme.json, template parts, templates, core blocks.At minimum:
<theme-slug>/
├── theme.json
├── style.css
├── functions.php
├── templates/
│ ├── index.html
│ └── page.html
└── parts/
├── header.html
└── footer.html
core/html blocks for layout sections or normal text content.style.css.style.css on the front end. You must explicitly enqueue it in functions.php with wp_enqueue_style( '<slug>-style', get_stylesheet_uri() ) on the wp_enqueue_scripts hook.prefers-reduced-motion handling when using animations.core/group block use {"align":"full","layout":{"type":"default"}}.core/group with align:"full" and layout.type:"default"core/group with align:"wide"core/columns inside that shell should also use align:"wide" when the section is meant to feel expansivetheme.json layout settings aligned with the design, including sensible contentSize and wideSize values.theme.json before adding custom breakout CSS.After writing or updating block theme files:
studio block validation loop on every template or template-part file containing serialized block markupwp_cliwp_clistudioIf the user asks whether the result is fast, accessible, or polished beyond the normal review loop, use auditing.
Audit a Studio-backed WordPress site for performance, accessibility, and visible frontend quality issues, then recommend or validate improvements.
Create, edit, build, and review a custom WordPress Gutenberg block plugin inside a Studio-backed site.
Create or update a custom WordPress plugin for site functionality that should not live in a theme or a block. Use when the user needs reusable behavior, admin/settings UI, hooks, REST endpoints, scheduled tasks, integrations, or server-side logic for a Studio-backed site.
基于 SOC 职业分类