wordpress-block-theme-scaffolder

使用 theme.json v3 和 register_block_pattern() 创建块模式与模板部件,构建完整的 WordPress 块主题结构。生成包含适当样式变体、排版预设并集成 wp_enqueue_block_editor_assets 的 FSE 就绪主题。

安装方式

先用 Prompt 核对来源与依赖。也可下载安装包。

用 AI 助手安装

复制提示词,让助手先核对固定版本和依赖。

查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "wordpress-block-theme-scaffolder":https://skillpi.com/zh/skills/deepskill-79feefcffddd765afad903b460c9671d9eeaf8ce13ed7d44692f432a5165cb18。安装前核对上游来源和版本:https://skillhub.cn/skills/user_3c6cb52e/wordpress-block-theme-scaffolder。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。

来源与配置

skillhub.cn

配置方式待核实

请查看原始来源中的适用工具、依赖和权限要求。

安装实测待补充

使用 theme.json v3 和 register_block_pattern() 创建块模式与模板部件,构建完整的 WordPress 块主题结构。生成包含适当样式变体、排版预设并集成 wp_enqueue_block_editor_assets 的 FSE 就绪主题。

0 下载

介绍来源: third_party · user_3c6cb52e · 1.0.0 参考来源

SkillPi 解读

能完成的任务
使用 theme.json v3、register_block_pattern() 生成块模式和模板部分,创建完整的 WordPress 块主题结构。生成具有适当样式变体、排版预设和 wp_enqueue_block_editor_assets 集成的 FSE 就绪主题。
实测状态
未测试

文件浏览

在原站浏览文件 ↗

原始 SKILL.md

打开原文 ↗
Frontmatter
name: "WordPress 区块主题脚手架工具"
slug: "wordpress-block-theme-scaffolder"
version: "1.0.0"
displayName: "WordPress 区块主题脚手架工具"
summary: "使用 theme.json v3、register_block_pattern() 生成块模式和模板部分,创建完整的 WordPress 块主题结构。生成具有适当样式变体、排版预设和 wp_enqueue_block_editor_assets 集成的 FSE 就绪主题。"
license: "MIT"
description: "使用 theme.json v3、register_block_pattern() 生成块模式和模板部分,创建完整的 WordPress 块主题结构。生成具有适当样式变体、排版预设和 wp_enqueue_block_editor_assets 集成的 FSE 就绪主题。"
verification: "security_reviewed"
source: "https://developer.wordpress.org/block-editor/"
author: "1991513ccie-png"
category: "WordPress & CMS"
framework: "Claude Code"

WordPress 区块主题脚手架工具

Generates complete WordPress block theme structures using theme.json v3, block patterns via register_block_pattern(), and template parts. Produces FSE-ready themes with proper style variations, typography presets, and wp_enqueue_block_editor_assets integration.

Installation

Use the upstream install or setup path that matches your environment:

  • Make WordPress

Requirements and caveats from upstream:

  • Node.js development environment

Basic usage or getting-started notes:

  • How-to Guides : Here, you can build on what you learned in the Getting Started section and learn how to solve particular problems. You will also find tutorials and example code to reuse in your own projects, such as w...

  • Reference Guides : This section is the heart of the handbook and is where you can get down to the nitty-gritty and look up the details of the particular API you’re working with or need information on. Among other thin...

  • Explanations : This section enables you to go deeper and reinforce your practical knowledge with a theoretical understanding of the Architecture of the Block Editor.

  • Source: https://developer.wordpress.org/block-editor/

Documentation

当前收录版本

1.0.0

核对来源版本 ↗

质量评测

满分100 · 来自 SkillPi LAB 实验室的评测报告。

场景价值68/100

亮点

  • 提供 WordPress FSE 块主题结构化生成能力,满足开发者特定需求
  • 集成 theme.json v3 与块模式注册,符合现代 WordPress 开发规范
触发精准75/100

待提升项

  • 缺少 When to Use 章节 原报告严重程度:轻微

    文档未明确说明适用场景和使用时机,影响用户快速判断是否需要使用该 Skill

    改进建议:补充 When to Use 章节,说明典型使用场景(如新建 FSE 主题、需要标准化结构等)

亮点

  • description 清晰描述了核心功能和技术栈(theme.json v3、register_block_pattern)
结构规范60/100

待提升项

  • 缺少步骤划分与端到端示例 原报告严重程度:轻微

    文档仅有 Installation 和 Documentation 章节,缺少具体的执行步骤、Phase 划分和完整示例

    改进建议:补充 Step-by-step 执行流程,包含输入参数说明和输出结果示例

亮点

  • frontmatter 完整,包含 name、slug、version 等必要字段
执行可靠55/100

待提升项

  • 环境依赖与错误处理缺失 原报告严重程度:重大

    仅提及 Node.js 环境但未说明版本要求,缺少依赖安装、错误处理和异常恢复机制

    改进建议:明确 Node.js 版本要求,补充 npm 依赖安装命令和常见错误解决方案

亮点

  • 工具来源指向官方 WordPress 开发者文档,具备一定权威性
证据可验 (前四项均值)65/100

取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。

正文静态检测

100 / 100 · skillpi-20261123-no-r3-v1

正文未命中当前规则。

分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。

权限与使用前检查

根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。

未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。

文档引用的域名或地址

这些地址可能用于文档链接或示例,不是已批准的联网清单。使用前核对实际目的地及发送的数据。

  • developer.wordpress.org

本站展示提示不会授予权限。涉及文件改动、密钥、外部发送或费用时,仍由你使用的工具按需确认。

安全评级与访问范围

safe · 静态证据核验,不代表运行安全保证。

使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。