jezweb avatar

Wordpress Setup

Sets up and verifies WordPress connections via WP-CLI over SSH or the REST API. Walks through dependency checks, tests SSH access with common hosting patterns (Rocket.net, cPanel), and falls back to Application Password creation if needed. Saves working credentials to wp-cli.yml or .dev.vars, then runs verification commands to confirm you can actually list posts, check plugins, and detect Elementor. The SSH troubleshooting table is genuinely useful if you hit permission or path issues. Best used once per project to establish a reliable connection config that other WordPress skills can reference later.

skills.sh installs
1.6K
GitHub stars
1.1K
last updated
Aug 21, 2026

Install

$ npx -y skills add jezweb/claude-skills --skill wordpress-setup --agent claude-code

Installs into .claude/skills of the current project.

Files

WordPress Setup

Connect to a WordPress site and verify working access via WP-CLI or REST API. Produces a verified connection config ready for content management and Elementor editing.

Workflow

Step 1: Check WP-CLI

wp --version

If not installed, guide the user:

# macOS/Linux
curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar
chmod +x wp-cli.phar
sudo mv wp-cli.phar /usr/local/bin/wp

Also ensure the SSH extension is available (needed for remote sites):

wp package install wp-cli/ssh-command

Step 2: Connect to the Site

Option A: WP-CLI over SSH (preferred)

wp --ssh=user@hostname/path/to/wordpress option get siteurl

Common patterns:

  • Rocket.net: wp --ssh=user@hostname/www/sitename/public option get siteurl
  • cPanel: wp --ssh=user@hostname/public_html option get siteurl
  • Custom: Ask user for SSH user, host, and WordPress path

Test with a simple command first:

wp --ssh=user@host/path core version

Option B: REST API with Application Password

If SSH isn't available:

Sponsors

Details

Repository
github.com/jezweb/claude-skills
Categories
Backend & APIs, Testing & QA, Debugging, CLI & Terminal, PHP & Laravel
First seen
Apr 16, 2026

More from jezweb/claude-skills

All 166
1xixu-me avatarxdropxixu-me/xdropUse this skill when the user wants to send or fetch files through an Xdrop server from the terminal, asks to automate encrypted Xdrop share-link workflows, prov1.5Kskills.sh installs
2astronomer avatarairflowastronomer/agentsQueries, manages, and troubleshoots Apache Airflow using the `af` CLI. Use when working with anything related to Airflow - a DAG, a DAG run, a task log, an impo1.5Kskills.sh installs
3unclecatvn avatarodoo-18unclecatvn/agent-skillsOdoo 18 development reference for Python models and ORM (search, domain, read_group, compute fields), XML/CSV data and views, OWL/JS client code, QWeb reports, 1.5Kskills.sh installs
4aj-geddes avatarnginx-configurationaj-geddes/useful-ai-promptsConfigure Nginx web server for high-performance reverse proxy, load balancing, SSL/TLS, caching, and API gateway functionality.1.5Kskills.sh installs
5timescale avatarpostgrestimescale/pg-aiguideUse this skill for any PostgreSQL database work — table design, indexing, data types, constraints, extensions (pgvector, PostGIS, TimescaleDB), search, and migr1.4Kskills.sh installs
6merill avatarmsgraphmerill/msgraphUp-to-date Microsoft Graph API knowledge for AI agents. Search 27,700+ Graph APIs, endpoint docs, resource schemas, and community samples — all locally, no netw1.4Kskills.sh installs