用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/Automattic/build-with-wordpress --skill theme-creator命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 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
Once you are committed to the theme implementation workflow and before the main file-writing phase, call record_workflow_event with workflow: "theme-build" and stage: "started".
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_clistudiorecord_workflow_event with workflow: "theme-build" and stage: "completed"If the user asks whether the result is fast, accessible, or polished beyond the normal review loop, use auditing.