From rolepod-wplab
Open a WordPress Target on any kind (local / REST + App Password / SSH / Docker) using credentials already in the vault. Phase = Define.
How this skill is triggered — by the user, by Claude, or both
Slash command
/rolepod-wplab:wp-connectWhen to use
a user asks to work on a site whose credentials are already paired/stored, OR explicitly wants a non-REST connection kind (local path, SSH, Docker container)
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Re-open a previously paired site, or open a new connection over local/SSH/Docker. Picks the right `connect_*` tool by what the user has and what they need to do.
Re-open a previously paired site, or open a new connection over local/SSH/Docker. Picks the right connect_* tool by what the user has and what they need to do.
/path/to/wp/.Skip when:
wp-pair-setup.Owns:
rolepod_wp_connect_<kind> tool.target_id + companion status.Does not own:
wp-pair-setup.wp-health-check.Return / hand off:
wp-pair-setup for one-click OR manual App Password entry.wp-health-check for full report.host:user (SSH) OR container_name (Docker).require_companion: true if the user explicitly needs power tools.Read references/connect-kinds.md if unsure. Quick rule:
| User has | Pick |
|---|---|
| siteurl + App Password (any host, including shared) | rest |
| filesystem path to wp-config.php | local |
| SSH access to server | ssh |
| WP in Docker on this machine | docker |
Default to REST unless the user explicitly says otherwise — it works on every host.
Call the matching tool:
rolepod_wp_connect_rest { url, [credential_ref], [require_companion] }rolepod_wp_connect_local { path }rolepod_wp_connect_ssh { host, user, [keyPath], [port] }rolepod_wp_connect_docker { containerName, [wpCliPath] }Tell user: kind + target_id + wp_version + companion presence + any warnings.
If user already said what to do → hand off immediately. Otherwise ask.
rolepod:devops-sre for SSH key / Docker config issues.rolepod:backend-developer for follow-up REST work.Execute as Lead:
connect_*.No durable artifact. The opened target lives in the in-memory TargetRegistry for this session.
No examples file. Kind selection is single-decision and the workflow is one tool call.
Load when the user's situation does not match the quick rule:
references/connect-kinds.md — which kind for which scenario; trade-offs around companion availability, security guarantees, and performance.CREDENTIALS_MISSING on REST → STOP. Hand off to wp-pair-setup (recommended) or instruct manual rolepod-wplab credentials add <site>.REST_AUTH_FAILED on a previously-working site → STOP. The App Password was revoked from profile.php. Hand off to wp-pair-setup.require_companion=true but companion: null → STOP. Tell user to install the WP plugin via wp plugin install https://github.com/nuttaruj/rolepod-wp/releases/latest/download/rolepod-wp.zip --activate.Full Rolepod adds an auto-reconnect path that detects an expired session token mid-flow and silently re-handshakes; standalone, the user sees a single retryable error.
wp-health-check for a fuller report after open.wp-content, wp-edit-*, wp-scaffold, wp-diagnose, wp-execute-php).Guides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.
npx claudepluginhub nuttaruj/rolepod-wplab --plugin rolepod-wplab