ワンクリックで
init
Initialize a new WordPress theme with the wp-blocks-dev block development workflow
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Initialize a new WordPress theme with the wp-blocks-dev block development workflow
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Deep AI audit of all blocks — runs structural checks first, then uses AI to review content quality, descriptions, grammar, admin render justification, wrapper usage, and empty-state messages.
Fast structural audit of all blocks — checks required files, wrapper attributes, fields.json timestamp, preview.png. No AI, runs instantly via script.
Scaffold a new ACF Gutenberg block with block.json, fields.json, and render.php
| name | init |
| description | Initialize a new WordPress theme with the wp-blocks-dev block development workflow |
Read [@/knowledge/acf-blocks/conventions.md](/knowledge/acf-blocks/conventions.md), [@/knowledge/tailwind/build-pipeline.md](/knowledge/tailwind/build-pipeline.md), and [@/knowledge/typescript/tsup-setup.md](/knowledge/typescript/tsup-setup.md), then:
Ask for all answers before proceeding:
My Client Sitemy-client-siteDefault yes for all:
If a file already exists, ask whether to overwrite or skip. Never silently overwrite.
Create under themes/{slug}/:
themes/{slug}/
├── style.css Theme header (Name, Author, Text Domain, Version)
├── index.php <?php // Silence is golden.
├── functions.php require register-blocks + enqueue-assets, PX_PROJECT_NAME constant
├── blocks.json []
├── QUICKSTART.md
├── blocks/
├── inc/
│ ├── register-blocks.php
│ └── enqueue-assets.php
├── helpers/
└── assets/
├── js/
└── css/
QUICKSTART.md content:
# Quick Start
- `/wp-blocks-dev:create-block <name>` — scaffold a new block
- `/wp-blocks-dev:audit-blocks` — audit all blocks against conventions
Follow knowledge/tailwind/build-pipeline.md. Copy the template:
mkdir -p themes/{slug}/scripts themes/{slug}/assets/css
cp $(claude plugin path wp-blocks-dev)/templates/tailwind.js themes/{slug}/scripts/tailwind.js
Remind user to copy tailwind-theme-loader.php into mu-plugins/.
Follow knowledge/typescript/tsup-setup.md. Create tsup.config.ts, tsconfig.json, and assets/js/index.entry.ts.
Print a summary of what was created and what was skipped. Next steps:
pnpm install && pnpm build if Tailwind or TS was selected/wp-blocks-dev:create-block to add the first block