wp-blocks
✓在构建古腾堡块、块主题或使用交互 API 时使用。涵盖 block.json 配置、register_block_type、@wordpress/scripts 工具、useBlockProps、RichText、InspectorControls、BlockControls、wp-block-editor 包、静态和动态渲染、InnerBlocks、弃用、theme.json、FSE(完整站点编辑)、模板部分、块模式、块变体、data-wp-* 指令、服务器端渲染和 WordPress 6.9 功能。
SKILL.md
Consolidated skill for WordPress Gutenberg block development, block theme creation, and the Interactivity API. Targets WordPress 6.9+ (PHP 7.2.24+).
Every block starts with a block.json file. WordPress 6.9 enforces apiVersion 3.
| editorScript | Editor only | Block registration and edit UI | | editorStyle | Editor only | Editor-specific styles | | script | Both | Shared JS (editor + frontend) | | style | Both | Shared styles | | viewScript | Frontend only | Classic frontend script | | viewScriptModule | Frontend only | Module-based frontend script (ES) |
在构建古腾堡块、块主题或使用交互 API 时使用。涵盖 block.json 配置、register_block_type、@wordpress/scripts 工具、useBlockProps、RichText、InspectorControls、BlockControls、wp-block-editor 包、静态和动态渲染、InnerBlocks、弃用、theme.json、FSE(完整站点编辑)、模板部分、块模式、块变体、data-wp-* 指令、服务器端渲染和 WordPress 6.9 功能。 来源:peixotorms/odinlayer-skills。
可引用信息
为搜索与 AI 引用准备的稳定字段与命令。
- 安装命令
npx skills add https://github.com/peixotorms/odinlayer-skills --skill wp-blocks- 分类
- {}数据分析
- 认证
- ✓
- 收录时间
- 2026-02-11
- 更新时间
- 2026-02-18
快速解答
什么是 wp-blocks?
在构建古腾堡块、块主题或使用交互 API 时使用。涵盖 block.json 配置、register_block_type、@wordpress/scripts 工具、useBlockProps、RichText、InspectorControls、BlockControls、wp-block-editor 包、静态和动态渲染、InnerBlocks、弃用、theme.json、FSE(完整站点编辑)、模板部分、块模式、块变体、data-wp-* 指令、服务器端渲染和 WordPress 6.9 功能。 来源:peixotorms/odinlayer-skills。
如何安装 wp-blocks?
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/peixotorms/odinlayer-skills --skill wp-blocks 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用
这个 Skill 的源码在哪?
https://github.com/peixotorms/odinlayer-skills
详情
- 分类
- {}数据分析
- 来源
- skills.sh
- 收录时间
- 2026-02-11