skills/crazyswami/wp-docker/SKILL.md
Docker-based WordPress development environment. Use when setting up new WordPress sites, managing Docker containers, or automating site deployment with WP-CLI.
npx skillsauth add aiskillstore/marketplace wp-dockerInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Complete Docker Compose setup for WordPress development with WP-CLI automation.
# Navigate to project directory
cd /path/to/project
# Copy templates
cp ~/.claude/skills/wp-docker/templates/* .
# Start environment
docker-compose up -d
# Run setup script
./wp-setup.sh "http://localhost:8080" "Site Name" "admin" "password" "[email protected]"
| Service | Image | Purpose | Port |
|---------|-------|---------|------|
| db | mariadb:10.11 | MySQL database | 3306 (internal) |
| wordpress | wordpress:php8.3-apache | WordPress + Apache | 8080 |
| wpcli | wordpress:cli | WP-CLI commands | - |
| Host Path | Container Path | Purpose |
|-----------|----------------|---------|
| ./wp-content | /var/www/html/wp-content | Themes, plugins, uploads |
| db_data | /var/lib/mysql | Database persistence |
| ./uploads.ini | /usr/local/etc/php/conf.d/uploads.ini | PHP config |
# Install WordPress
docker-compose run --rm wpcli core install \
--url="http://localhost:8080" \
--title="Site Name" \
--admin_user="admin" \
--admin_password="password" \
--admin_email="[email protected]"
# Install and activate plugins
docker-compose run --rm wpcli plugin install \
admin-site-enhancements \
branda-white-labeling \
admin-menu-editor \
yoast-seo \
litespeed-cache \
ewww-image-optimizer \
wp-mail-smtp \
instant-images \
--activate
# List installed plugins
docker-compose run --rm wpcli plugin list
# Update all plugins
docker-compose run --rm wpcli plugin update --all
# Install and activate theme
docker-compose run --rm wpcli theme install theme-name --activate
# List themes
docker-compose run --rm wpcli theme list
# Create page
docker-compose run --rm wpcli post create \
--post_type=page \
--post_title="About Us" \
--post_status=publish
# Create post
docker-compose run --rm wpcli post create \
--post_type=post \
--post_title="Hello World" \
--post_content="Welcome to our site." \
--post_status=publish
# Update site options
docker-compose run --rm wpcli option update blogname "Site Name"
docker-compose run --rm wpcli option update blogdescription "Site tagline"
docker-compose run --rm wpcli option update permalink_structure '/%postname%/'
# Configure ASE
docker-compose run --rm wpcli option update admin_site_enhancements \
'{"change_login_url":{"enabled":true,"slug":"secure-login"}}' \
--format=json
# Export database
docker-compose run --rm wpcli db export backup.sql
# Import database
docker-compose run --rm wpcli db import backup.sql
# Search and replace (for migrations)
docker-compose run --rm wpcli search-replace "old-domain.com" "new-domain.com"
# Start containers
docker-compose up -d
# Stop containers
docker-compose down
# Stop and remove volumes (DESTRUCTIVE)
docker-compose down -v
# View logs
docker-compose logs -f wordpress
# Restart WordPress
docker-compose restart wordpress
# Check running containers
docker-compose ps
# Check WordPress version
docker-compose run --rm wpcli core version
# Check database connection
docker-compose run --rm wpcli db check
# Export from source
docker-compose run --rm wpcli db export backup.sql
# Copy wp-content folder
# Import to destination
docker-compose run --rm wpcli db import backup.sql
# Update URLs
docker-compose run --rm wpcli search-replace "old-url.com" "new-url.com"
# Flush cache
docker-compose run --rm wpcli cache flush
# List plugins with updates available
docker-compose run --rm wpcli plugin list --update=available
# Check for security issues
docker-compose run --rm wpcli plugin verify-checksums --all
# Check logs
docker-compose logs db
docker-compose logs wordpress
# Rebuild containers
docker-compose up -d --build
# Wait for database to be ready
docker-compose exec db mysqladmin ping -h localhost -u root -p
# Check environment variables
docker-compose config
# Fix wp-content permissions
docker-compose exec wordpress chown -R www-data:www-data /var/www/html/wp-content
# Run with shell access
docker-compose run --rm --entrypoint /bin/sh wpcli
# Check WordPress installation
docker-compose run --rm wpcli core is-installed
upload_max_filesize = 64M
post_max_size = 64M
max_execution_time = 300
memory_limit = 256M
All templates are in: ~/.claude/skills/wp-docker/templates/
docker-compose.yml - Full stack configurationwp-setup.sh - Automated site setup scriptuploads.ini - PHP configuration.env.example - Environment variables templatedevelopment
Apple Human Interface Guidelines for content display components. Use this skill when the user asks about charts component, collection view, image view, web view, color well, image well, activity view, lockup, data visualization, content display, displaying images, rendering web content, color pickers, or presenting collections of items in Apple apps. Also use when the user says how should I display charts, what's the best way to show images, should I use a web view, how do I build a grid of items, what component shows media, or how do I present a share sheet. Cross-references: hig-foundations for color/typography/accessibility, hig-patterns for data visualization patterns, hig-components-layout for structural containers, hig-platforms for platform-specific component behavior.
tools
Automate HelpDesk tasks via Rube MCP (Composio): list tickets, manage views, use canned responses, and configure custom fields. Always search tools first for current schemas.
testing
Expert Haskell engineer specializing in advanced type systems, pure functional design, and high-reliability software. Use PROACTIVELY for type-level programming, concurrency, and architecture guidance.
tools
GraphQL gives clients exactly the data they need - no more, no less. One endpoint, typed schema, introspection. But the flexibility that makes it powerful also makes it dangerous. Without proper controls, clients can craft queries that bring down your server. This skill covers schema design, resolvers, DataLoader for N+1 prevention, federation for microservices, and client integration with Apollo/urql. Key insight: GraphQL is a contract. The schema is the API documentation. Design it carefully.