claude

wp-dev

WordPress development plugin — enforces WPCS, blocks insecure code patterns, and provides WP/WooCommerce development guidance

1 on GitHubby Chris Kelley <[email protected]>v1.4.0MITupdated 6 months ago

Not in a marketplace yet, so it loads for one session with --plugin-dir.

Plugin wp-dev in iwritec0de/wp-dev. Commands read from the repo's manifest — 1 month ago.

This plugin runs code on your machine — its hooks fire automatically on events like tool use. The exact commands are listed below; read them before installing.

What it installs

Skills (14)

  • gutenberg-layout

    This skill should be used when the user asks to "build a Gutenberg layout", "create a page layout", "design a WordPress page", "generate block markup", "build a landing page in Gutenberg", "create a block pattern layout", "design a section layout", "generate Gutenberg HTML", or mentions "gutenberg l

  • php-cleanup

    This skill should be used when the user asks to "find unused PHP code", "clean up dead code", "find unused Composer dependencies", "find unused imports", "remove dead PHP code", "run composer unused", "check for missing dependencies", "detect unused classes", "detect unused methods", "clean up use s

  • verification

    This skill should be used before claiming any work is complete, before committing, before creating PRs, or before reporting task status. Enforces fresh verification evidence for all completion claims in WordPress/PHP projects. Provides the verification gate methodology: run commands, read output, th

  • woocommerce

    This skill should be used when the user asks to "customize WooCommerce checkout", "build a payment gateway", "create a shipping method", "work with WooCommerce orders", "add custom product data", or mentions "woocommerce", "WC_Product", "WC_Order", "HPOS", "cart hooks", "checkout hooks", "payment ga

  • wordpress-database

    This skill should be used when the user asks to "create a custom database table", "write a WP_Query", "use $wpdb", "run a meta query", "migrate a database schema", "optimize WordPress queries", "use dbDelta", "add an index", or mentions "custom table", "$wpdb", "WP_Query", "meta_query", "tax_query",

  • wordpress-engineer

    This skill should be used when the user asks to "build a WordPress plugin", "develop a WordPress theme", "write a WP_Query", "register a custom post type", "create a Gutenberg block", or mentions "wordpress", "wp_", "theme development", "plugin development", "wp-cli", "hooks", "filters", "actions",

  • wordpress-i18n

    This skill should be used when the user asks to "internationalize a plugin", "add translations", "set up i18n", "create a POT file", "translate strings", "load text domain", "use wp_set_script_translations", "add translator comments", or mentions "i18n", "l10n", "gettext", "text domain", "translatio

  • wordpress-patterns

    This skill should be used when the user asks to "register a custom post type", "create a taxonomy", "add a meta box", "build a REST API endpoint", "use the Settings API", "schedule a cron event", "use transients", or mentions "custom post type", "taxonomy", "meta box", "REST API", "Settings API", "w

  • wordpress-performance

    This skill should be used when the user asks to "optimize WordPress queries", "audit plugin performance", "reduce page load time", "check autoloaded options", "profile WordPress hooks", "fix slow queries", "add caching", or mentions "WordPress performance", "query optimization", "SAVEQUERIES", "obje

  • wordpress-security

    This skill should be used when the user asks to "secure a WordPress plugin", "escape output", "sanitize input", "verify nonces", "check user capabilities", "write safe database queries", or mentions "WordPress security", "esc_html", "sanitize_text_field", "wp_nonce", "wpdb prepare", "XSS", "CSRF", "

  • wordpress-standards

    This skill should be used when the user asks to "follow WordPress coding standards", "name functions correctly", "organize plugin files", "write DocBlocks", "set up WPCS", "use Yoda conditions", or mentions "WordPress coding standards", "WPCS", "naming conventions", "file organization", "DocBlock",

  • wp-debugging

    This skill should be used when the user asks to 'debug a WordPress error', 'fix a white screen', 'debug a plugin conflict', 'fix a 500 error', 'debug WooCommerce', 'fix a REST API error', 'debug a hook issue', 'investigate a fatal error', or mentions 'WordPress debugging', 'WP_DEBUG', 'error log', '

  • wp-hooks

    This skill should be used when the user asks to "document hooks", "generate a hooks reference", "list hooks", "show custom hooks", "generate hook docs", or mentions "hook documentation", "what hooks exist", "do_action", "apply_filters". Scans PHP source for do_action() and apply_filters() calls and

  • wp-testing

    This skill should be used when the user asks to 'write WordPress tests', 'add PHPUnit tests', 'test a plugin', 'test a theme', 'test REST endpoints', 'test WooCommerce', 'set up WordPress testing', 'bootstrap PHPUnit for WordPress', or mentions 'WP_UnitTestCase', 'WordPress test factories', 'phpunit

Slash commands (8)

  • /wp-dev:wp-cleanup

    Find and clean up unused PHP code, Composer dependencies, imports, and dead code in WordPress projects

  • /wp-dev:wp-gutenberg-layout

    Build a Gutenberg page layout by discovering available blocks and generating valid block markup

  • /wp-dev:wp-hooks-ref

    Quick reference lookup for WordPress and WooCommerce hooks

  • /wp-dev:wp-perf-audit

    Run a static performance audit on the current WordPress plugin or theme

  • /wp-dev:wp-perf

    Run live performance diagnostics on a connected WordPress site via the MCP adapter

  • /wp-dev:wp-scaffold

    Scaffold WordPress plugin, theme, block, CPT, taxonomy, REST endpoint, widget, shortcode, or WooCommerce boilerplate

  • /wp-dev:wp-security-audit

    Run a comprehensive WordPress security audit on the current project

  • /wp-dev:wp-test

    Run PHPUnit, Jest, or wp-scripts test for the current WordPress project

Subagents (4)

  • wp-gutenberg-block-developer

    Use this agent for Gutenberg custom block development. Trigger when the user asks to "create a block", "build a Gutenberg block", "add a custom block", "register a block", "create block variation", "add block pattern", "set up block plugin", "scaffold a block", "create dynamic block", "create static

  • wp-perf-analyzer

    Use this agent to perform static performance analysis on WordPress plugins and themes. Trigger when the user asks to "audit plugin performance", "find slow queries in my plugin", "check for N+1 queries", "scan for performance issues", "optimize my WordPress plugin", or mentions "performance audit",

  • wp-security-auditor

    Use this agent to perform comprehensive WordPress security audits. Trigger when the user asks to "audit WordPress security", "scan for PHP vulnerabilities", "check for unescaped output", "find SQL injection", "review WordPress plugin security", "check nonce usage", or mentions "WordPress security",

  • wp-theme-developer

    Use this agent for WordPress theme development tasks. Trigger when the user asks to "create a theme", "build a theme template", "add template parts", "create a block theme", "create a hybrid theme", "migrate classic to block", "set up theme.json", "add theme support", "create template hierarchy", "b

Hooks (5)

  • PreToolUse

    python3 ${CLAUDE_PLUGIN_ROOT}/hooks/wp-security-check.py

  • PreToolUse

    bash ${CLAUDE_PLUGIN_ROOT}/hooks/pre-edit.sh

  • PostToolUse

    bash ${CLAUDE_PLUGIN_ROOT}/hooks/post-edit.sh

  • Stop

    bash ${CLAUDE_PLUGIN_ROOT}/hooks/on-stop.sh

  • Stop

    bash ${CLAUDE_PLUGIN_ROOT}/hooks/wp-phpdoc-check.sh

View source on GitHub

Maintain wp-dev?

This page updates itself from your repo. Add the badge to your README, or get it Featured to pin it above the organic results with a followed link to your site.

claude & codex pluginslisted