wp-blocks
✓在建立古騰堡區塊、區塊主題或使用互動 API 時使用。涵蓋 block.json 配置、register_block_type、@wordpress/scripts 工具、useBlockProps、RichText、InspectorControls、BlockControls、wp-block-editor 套件、靜態和動態渲染、InnerBlocks、棄用、theme.json、FSE(完整網站編輯)
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(完整網站編輯) 來源: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(完整網站編輯) 來源: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