setup
النجوم٨
التفرعات٠
آخر تحديث١٢ أبريل ٢٠٢٦ في ١٥:٥٨
Rename block-starter to your new plugin
التثبيت
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
SKILL.md
readonlyالقائمة
Rename block-starter to your new plugin
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
| name | setup |
| description | Rename block-starter to your new plugin |
| disable-model-invocation | true |
Ask the user these questions using AskUserQuestion before making any changes:
Then perform ALL of the following replacements across the entire codebase:
block-starter.php to {slug}.phpDo these replacements in order (most specific first):
| Find | Replace |
|---|---|
kevinbatdorf/block-starter | {wp-slug}/{slug} |
.wp-block-kevinbatdorf-block-starter | .wp-block-{wp-slug}-{slug} |
block-starter-editor | {slug}-editor |
Block Starter | {plugin-name} |
block-starter | {slug} |
block_starter | {slug_with_underscores} |
kevinbatdorf | {wp-slug} |
kbat82 | {contributor} |
{slug}.php (renamed from block-starter.php) — plugin header, text domain, package, translationssrc/block.json — block namesrc/editor/Editor.tsx, src/editor/Sidebar.tsx, src/editor/icon.tsxsrc/front/BlockOutput.tsx, src/front/front.tswebpack.config.js — prefix variablespackage.json — name fieldcomposer.json — namespacereadme.txt — plugin name, contributors, description, URLsREADME.md — badges, links, descriptiontests/example.spec.ts — block name in insertBlocktests/blueprint.json — plugin path in activatePlugin and runPHP steps.github/workflows/*.yml — artifact names, SLUG env vars, rsync targets.github/FUNDING.yml — GitHub usernamenpm install && npm run build to regenerate build outputcomposer install if vendor/ is used.claude/commands/setup.md) — it's no longer needed