← ClaudeAtlas

wordpress-scaffoldlisted

Interview-driven workflow to scaffold a brand-new WordPress plugin. Asks for identity (name, slug, namespace), writes a constitution of defaults + strict allowlists, then generates a complete plugin with optional Settings page, REST API, Gutenberg blocks, and editor extensions. Use only when there is no existing plugin in the working directory — for adding features to an existing plugin, use wordpress-feature instead. Enforces WordPress 6.7+, PHP 8.2+, Node 20+, and the WordPress Coding Standards.
pluginslab/wp-agentic-kit · ★ 15 · AI & Automation · score 80
Install: claude install-skill pluginslab/wp-agentic-kit
# WordPress Scaffold Scaffolds a brand-new WordPress plugin through a short interview. **Greenfield only** — if a `*.php` file with a `Plugin Name:` header already exists in the working directory, stop and use the `wordpress-feature` skill. ## Phases 1. **Identity.** Ask one question at a time, don't continue without a clear answer: - Plugin name (e.g. "Order Tracker") - One-sentence description - Vendor prefix (optional, e.g. `acme`) - Slug — derive `acme-order-tracker` or `order-tracker`; confirm - PHP namespace — PascalCase from slug, e.g. `AcmeOrderTracker`; confirm Show the full identifier set before generating: slug, text domain (= slug), namespace, constant prefix, function prefix, options key. 2. **Constitution.** Write `.claude/plans/constitution.md` from the template in @.claude/references/PLANNING.md. The file has two binding levels: - **Default sections** (loose) — `@wordpress/*` packages, Composer deps, deploy lane, quality gates. Accept the template defaults unless the user wants different. - **Allowed sections** (strict, security-relevant) — sanitize functions, escape functions, capability constants, forbidden constructs. Match @.claude/references/SECURITY.md exactly. Confirm both before writing. The distinction is the point: treat everything as strict and the agent asks permission for trivia; treat nothing as strict and the plugin is one missing escape from disclosure. 3. **Feature selection.** Ask one at a time: Settings page