leoyeai/openclaw-master-skills/wordpress-trade-site
Claude Code and agent skill by leoyeai/openclaw-master-skills
- community
- ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Checking that the SKILL.md file is still in the repository.
Interactive guide to deploy a production-ready WordPress site for international trade businesses. Triggers on "build a trade website", "deploy wordpress trade site", "set up B2B website", or similar requests.
Install
npx vskill@latest install leoyeai/openclaw-master-skills/wordpress-trade-siteSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as leoyeai/openclaw-master-skills/wordpress-trade-site.
WordPress Trade Site Builder
Deploy a production-ready WordPress trade site from scratch through 9 interactive phases. Based on the wordpress-trade-starter template.
Principle: Automate everything possible. Only pause when user decisions or information are required. When errors occur, diagnose and fix them proactively — don't tell the user to go fix things themselves.
Interaction: Use AskUserQuestion for all user-facing questions. Report progress after each phase, then continue to the next.
Data flow: Information collected in each phase (business info, SSH details, domain, etc.) is reused in subsequent phases. Key data is labeled with variable names for reference.
Phase 1: Collect Business Information
Before any technical work, understand the user's business needs.
AskUserQuestion (collect sequentially):
- Company name — "What is your company name? (Both local language and English)"
- Example: TitanPuls Technology Co., Ltd.
- Record as
COMPANY_EN(andCOMPANY_LOCALif provided)
- Main products — "What products do you mainly sell? (Brief description)"
- Example: Semi-trailers, construction machinery
- Record as
PRODUCTS
- Target markets — "Which markets do you primarily target?" (multiSelect)
- Africa
- Middle East
- Southeast Asia
- Latin America
- Europe
- North America
- Record as
TARGET_MARKETS
- Languages — "Which languages should your website support?" (multiSelect, recommend based on target markets)
- English (Recommended)
- Chinese
- Russian
- Spanish
- French
- Arabic
- Record as
LANGUAGES
- Contact info — "How should customers reach you?"
- WhatsApp number (with country code)
- Business email
- Record as
WHATSAPPandEMAIL
Summary confirmation: Display collected information and AskUserQuestion to confirm correctness.
Phase 2: Server Preparation
2a. Server status
AskUserQuestion: "Do you already have a Linux server?"
- I have a server — Collect SSH details
- I need guidance — Recommend datacenter locations and providers based on
TARGET_MARKETS
Purchase guidance (if needed):
Recommend based on target market:
| Target Market | Recommended DC | Recommended Providers | |
|---|---|---|---|
| Europe/Africa | Germany/Netherlands | Contabo, Hetzner | |
| North America | US East/West Coast | DigitalOcean, Vultr | |
| Southeast Asia | Singapore | Vultr, Alibaba Cloud | |
| Middle East | Dubai/Bahrain | AWS, Alibaba Cloud | |
| Latin America | US Miami | DigitalOcean |
Recommended specs: 2 cores / 2GB RAM / 40GB SSD ($10-20/month). Tell user to continue after purchase.
2b. SSH connection
AskUserQuestion: "Please provide your server SSH details:"
- IP address →
SERVER_IP - SSH port (default 22) →
SSH_PORT - Username (usually root) →
SSH_USER - Authentication: password or SSH key
Verify connection:
- CONNECTION_OK → Continue
- Connection failed → Check IP/port/credentials, prompt user to correct
2c. Server initialization
Execute via SSH:
Verify: ufw status shows 22/80/443 open.
Phase 3: Docker Deployment
3a. Install Docker
Verify: docker compose version outputs a version number.
3b. Clone template
3c. Generate .env
AskUserQuestion: "Please provide the following:"
- Domain name (e.g. example.com) →
DOMAIN - MySQL root password (auto-generate recommended) →
MYSQL_ROOT_PASSWORD - MySQL user password (auto-generate recommended) →
MYSQL_PASSWORD
If user chooses auto-generation:
Write .env:
Important: Display the generated passwords to the user and remind them to save securely.
3d. Configure Nginx
3e. Start containers
Verify:
Wait for WordPress to be ready:
- All 3 containers running → Continue
- db unhealthy → Check
docker compose logs db, common cause is password format issues - wordpress not starting → Check
docker compose logs wordpress
Phase 4: SSL Certificate
4a. Choose method
AskUserQuestion: "Which SSL certificate method?"
- Let's Encrypt (Recommended) — Free, auto-renewal, requires domain A record pointing to server IP
- Cloudflare Origin Certificate — For users already using Cloudflare proxy
4b-A. Let's Encrypt
Prerequisite: Domain A records must point to SERVER_IP. If not configured, guide the user to add in their DNS panel:
DOMAIN→ A →SERVER_IPwww.DOMAIN→ A →SERVER_IP
4b-B. Cloudflare Origin Certificate
Guide the user through Cloudflare Dashboard:
- SSL/TLS → Origin Server → Create Certificate
- Choose RSA, 15-year validity
- Copy Certificate and Private Key
4c. Verify HTTPS
- HTTP/2 200 → Success
- Connection failed → Check DNS resolution, certificate paths, nginx logs
Phase 5: WordPress Initialization
5a. Setup wizard
Tell the user to open https://${DOMAIN}/wp-admin/install.php in their browser and fill in:
- Site Title:
COMPANY_EN - Username: suggest avoiding "admin" (security)
- Password: strong password
- Email:
EMAIL
AskUserQuestion: "Have you completed the WordPress setup wizard?"
5b. Install WP-CLI
Verify: docker compose exec wordpress wp --info --allow-root
5c. Base configuration
Phase 6: Theme & Plugin Installation
6a. Astra theme + Child Theme
6b. Batch install plugins
Install plugins one by one to track failures:
Note: Some plugins may not be in the wordpress.org directory. For failed installs, inform the user to install manually from the admin panel (Plugins → Add New).
6c. Configure Imagify
AskUserQuestion: "Do you have an Imagify API key? (Free signup at imagify.io, 20MB/month free tier)"
- Yes → Collect
IMAGIFY_API_KEY - Skip for now → Remind user to configure later in Settings → Imagify
6d. Configure WP Super Cache
If WP-CLI doesn't support it, tell the user to go to Settings → WP Super Cache:
- Enable Caching
- Advanced → Use mod_rewrite
6e. Jetpack Boost
Tell the user to enable in the admin panel:
- Critical CSS generation
- Lazy image loading
- Concatenate JS/CSS
Phase 7: Multilingual + SEO
7a. Polylang configuration
Configure based on the LANGUAGES list from Phase 1:
Add each selected language:
- Chinese:
wp pll lang create "Chinese" zh zh_CN - Russian:
wp pll lang create "Russian" ru ru_RU - Spanish:
wp pll lang create "Spanish" es es_ES - French:
wp pll lang create "French" fr fr_FR - Arabic:
wp pll lang create "Arabic" ar ar
Note: Polylang WP-CLI support may be limited. If commands fail, guide the user to add languages manually in Languages → Settings.
7b. Rank Math SEO configuration
Guide the user through the Rank Math setup wizard:
- Business Type → Select "Company"
- Company Name →
COMPANY_EN - Website URL →
https://${DOMAIN} - Social Profiles → If available
- Sitemap Settings → Enable XML Sitemap
- Schema → Organization
7c. Create base pages
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/wordpress-trade-site/SKILL.md
Popularity
- Repository stars
- 2,157
- Repository forks
- 324
- 7-day trend score
- 43
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Extension points
hookPre/post lifecycle hooks
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/leoyeai/openclaw-master-skills/wordpress-trade-site)