wordpress-site-setup

Automates end-to-end provisioning of a WordPress site in a local webserver environment.

Updated Apr 22, 2026
One-click install
npx skills add https://github.com/hifisaputra/wordpress-skills --skill wordpress-site-setup
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: wordpress-site-setup
Source: https://github.com/hifisaputra/wordpress-skills/tree/main/wordpress-site-setup
Command: npx skills add https://github.com/hifisaputra/wordpress-skills --skill wordpress-site-setup

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires docker, unzip, python3, awk, grep, bash, and includes scripts (resource) components.

What problem does it solve?

Automates the end-to-end provisioning of a WordPress site in a local webserver environment, reducing manual setup time and configuration drift.

Core Features & Use Cases

  • Creates a new site directory under /home/dev/webserver/www/<sitename>/ with a docker-compose-based stack and a pre-populated wp-config.
  • Unzips WordPress core into the site, patches the database name, and optionally preloads plugins to accelerate first-run setup.
  • Provides idempotent safeguards and clear next steps to bring the site online with docker compose up -d.

Quick Start

Execute the setup_site.sh script with a sitename to bootstrap a new WordPress site (e.g., bash /home/dev/.claude/skills/wordpress-site-setup/scripts/setup_site.sh nyss).

Frequently Asked Questions about wordpress-site-setup

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate WordPress site setup with Docker?

To automate WordPress site setup with Docker, this Skill runs a bash script that provisions a site directory, generates a docker-compose stack, extracts the WordPress core, and patches the wp-config file. It handles the entire end-to-end provisioning process idempotently.

What prerequisites do I need to bootstrap a WordPress site locally?

To bootstrap a WordPress site locally, you need Docker, unzip, python3, awk, grep, and bash installed on your system. These dependencies are required to execute the docker-compose generation, WordPress core extraction, and database creation tasks.

Can I preload plugins when provisioning a new WordPress site?

Yes, you can preload plugins when provisioning a new WordPress site. The setup process supports optional base plugin preloads to accelerate first-run setup alongside directory creation, wp-config patching, and MySQL database creation inside the container.

Does this WordPress Docker setup handle MySQL database creation automatically?

Yes, this WordPress Docker setup handles MySQL database creation automatically inside the mysql container. It ensures the database is created as part of the end-to-end provisioning process, patching the database name directly into the wp-config file.

What is the best way to add a new site to a shared webserver environment?

The best way to add a new site to a shared webserver environment is using an automated provisioning script. This Skill creates the site under a shared webserver directory, extracts WordPress core, and applies idempotent safeguards to prevent configuration drift.

Why does my WordPress site setup fail after running docker compose up?

WordPress site setup can fail if dependencies like Docker, unzip, python3, awk, grep, or bash are missing. The Skill provides clear next steps and idempotent checks to ensure directory creation, docker-compose generation, and wp-config patching complete successfully before bringing the site online.