wordpress-plugin-scaffold

Scaffold WordPress plugins using WP-CLI commands with intelligent environment detection and comprehensive testing support

View on GitHub
Author Em
Namespace @emdashcodes/emdashcodes-wp-ability-toolkit
Category development-tools
Version 1.0.0
Stars 6
Downloads 3
self.md verified
Table of content

Scaffold WordPress plugins using WP-CLI commands with intelligent environment detection and comprehensive testing support

Installation

npx claude-plugins install @emdashcodes/emdashcodes-wp-ability-toolkit/wordpress-plugin-scaffold

Contents

Folders: skills

Included Skills

This plugin includes 1 skill definition:

wordpress-plugin-scaffold

Scaffold WordPress plugins using WP-CLI commands (wp scaffold plugin, wp scaffold plugin-tests). Use this skill when creating new WordPress plugins or adding test infrastructure to existing plugins.

View skill definition

WordPress Plugin Scaffold

This skill provides guidance for scaffolding WordPress plugins using WP-CLI’s scaffold commands. It supports both creating new plugins from scratch and adding test infrastructure to existing plugins.

Note: This skill works seamlessly with the wp-env skill (if available). When wp-env setup or management is needed, activate the wp-env skill for comprehensive environment handling.

About WP-CLI Scaffold Commands

WP-CLI provides two primary scaffolding commands for plugin development:

wp scaffold plugin

Generates starter code for a new plugin, including:

wp scaffold plugin-tests

Adds PHPUnit test infrastructure to an existing plugin, including:

Prerequisites

Verify WP-CLI is installed and accessible:

wp --version

If WP-CLI is not installed, see references/wp-cli-installation.md for comprehensi

…(truncated)

Source

View on GitHub

Tags: development-tools wordpresswp-cliplugin-developmentscaffoldingdevelopment-tools