wp-env
Manage local WordPress development environments using @wordpress/env with Docker for plugin and theme development
View on GitHubTable of content
Manage local WordPress development environments using @wordpress/env with Docker for plugin and theme development
Installation
npx claude-plugins install @emdashcodes/emdashcodes-wp-ability-toolkit/wp-env
Contents
Folders: skills
Included Skills
This plugin includes 1 skill definition:
wp-env
Local WordPress development environment management using @wordpress/env for plugin and theme development. Use this skill when setting up, configuring, starting, stopping, or managing wp-env Docker-based WordPress environments.
View skill definition
wp-env - WordPress Local Development Environment
This skill provides assistance for working with wp-env, a tool that sets up local WordPress development environments using Docker with minimal configuration.
About wp-env
wp-env (@wordpress/env) creates Docker-based WordPress environments for plugin and theme development. It provides:
- Zero-config setup - Works out of the box for plugins and themes
- Dual environments - Separate development (port 8888) and testing (port 8889) instances
- Pre-configured tools - Includes WP-CLI, Composer, PHPUnit, and Xdebug
- Flexible configuration - Customize via
.wp-env.jsonfor complex setups
Default Access:
- Development site: http://localhost:8888
- Testing site: http://localhost:8889
- Login: username
admin, passwordpassword - Database: user
root, passwordpassword
Prerequisites Check
Before working with wp-env, verify these dependencies are installed and running:
# Check Docker is installed and running
docker --version
docker ps
# Check Node.js and npm
node --version
npm --version
# Check if wp-env is installed
wp-env --version
If Docker is not running: Start Docker Desktop application first - wp-env cannot function without Docker.
If wp-env is not installed: Install globally with npm -g install @wordpress/env
Common Workflows
First-Time Environment Setup
When setting up wp-env for the first time in a plugin or theme directory:
# 1. Ens
...(truncated)
</details>
## Source
[View on GitHub](https://github.com/emdashcodes/wp-ability-toolkit)