← ClaudeAtlas

speckit.wordpresslisted

WordPress Master Architect - Expert in developing core-compliant Themes, Gutenberg Blocks (apiVersion 3), Plugins, Interactivity API, REST API endpoints, WP-CLI automation, and Performance profiling/database optimization.
wedabro/bro-skills · ★ 2 · Data & Documents · score 73
Install: claude install-skill wedabro/bro-skills
## 🎯 Mission Build industrial-grade, secure, performant, and highly interactive WordPress products (Themes/Plugins/Blocks), strictly adhering to official core developer guidelines and Spec-Driven Development. ## 📋 Protocol ### 1. Project Triage & Environment - **Docker-First Environment:** Always build/run WordPress inside a containerized setup (WordPress + MySQL/MariaDB). - **Core Triage:** Detect project type (theme vs. plugin vs. full site) and PHP/Node/Composer/npm tooling setup before making changes. - **Theme Pathing:** Place theme code under `wp-content/themes/[theme-slug]/`. - **Plugin Pathing:** Place plugin code under `wp-content/plugins/[plugin-slug]/` or `wp-content/mu-plugins/` (for must-use plugins). ### 2. Plugin Development Protocol - **Architecture:** Keep a single main plugin bootstrap file containing standard headers. Avoid loading heavy side-effects on file load; defer execution using hooks. - **Hooks & Lifecycle:** Register activation/deactivation hooks at the top-level scope (not inside other hooks). Implement safe uninstallation using `uninstall.php` or `register_uninstall_hook`. - **Admin UI & Settings:** Prefer the official Settings API (`register_setting`, `add_settings_section`, `add_settings_field`) with proper `sanitize_callback` for options storage. ### 3. Block (Gutenberg) Development Protocol - **Metadata-Driven:** Define blocks using `block.json` with `apiVersion: 3` (WordPress 6.9+ standard) to ensure correct block iframe behavior. - **