build
Build plugin and watch for changes
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Build plugin and watch for changes
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Create a new Gutenberg block with scaffolding
Use when working with the WordPress Abilities API (wp_register_ability, wp_register_ability_category, /wp-json/wp-abilities/v1/*, @wordpress/abilities) including defining abilities, categories, meta, REST exposure, and permissions checks for clients.
Prepare plugin for WordPress.org deployment
Use when generating responses containing factual claims, API details, configuration specifics, version compatibility, or recalled knowledge that could be hallucinated - especially when not working directly from source code or command output
Use when executing implementation plans with independent tasks in the current session
Create a block extension to enhance core WordPress blocks
| name | build |
| description | Build plugin and watch for changes |
| disable-model-invocation | true |
| allowed-tools | Bash(npm run *), Bash(npx wp-env *), Bash(git *), Read, Glob |
Build the DesignSetGo plugin for development or production.
Development build with watch mode:
npm run start
Production build:
npm run build
After building, check output:
ls -lh build/
Expected output:
index.js - Block editor scriptsstyle-index.css - Frontend stylesindex.css - Editor-only stylesBuild fails:
npm run lint:jsrm -rf node_modules && npm installStyles not applying:
src/styles/style.scss and src/styles/editor.scssgrep "your-class" build/style-index.cssBundle size too large:
ls -lh build/*.js build/*.css