claude-plugin-wordpress-manager 1.7.1 → 1.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude-plugin/plugin.json +5 -3
- package/CHANGELOG.md +33 -0
- package/agents/wp-ecommerce-manager.md +136 -0
- package/agents/wp-site-manager.md +1 -0
- package/docs/GUIDE.md +306 -33
- package/docs/plans/2026-02-28-roadmap-v1.8-v2.1-design.md +314 -0
- package/docs/plans/2026-02-28-woocommerce-v1.8.0.md +2012 -0
- package/package.json +6 -3
- package/servers/wp-rest-bridge/build/tools/index.d.ts +927 -0
- package/servers/wp-rest-bridge/build/tools/index.js +20 -2
- package/servers/wp-rest-bridge/build/tools/wc-coupons.d.ts +144 -0
- package/servers/wp-rest-bridge/build/tools/wc-coupons.js +92 -0
- package/servers/wp-rest-bridge/build/tools/wc-customers.d.ts +141 -0
- package/servers/wp-rest-bridge/build/tools/wc-customers.js +92 -0
- package/servers/wp-rest-bridge/build/tools/wc-orders.d.ts +186 -0
- package/servers/wp-rest-bridge/build/tools/wc-orders.js +128 -0
- package/servers/wp-rest-bridge/build/tools/wc-products.d.ts +324 -0
- package/servers/wp-rest-bridge/build/tools/wc-products.js +177 -0
- package/servers/wp-rest-bridge/build/tools/wc-reports.d.ts +117 -0
- package/servers/wp-rest-bridge/build/tools/wc-reports.js +94 -0
- package/servers/wp-rest-bridge/build/tools/wc-settings.d.ts +72 -0
- package/servers/wp-rest-bridge/build/tools/wc-settings.js +70 -0
- package/servers/wp-rest-bridge/build/types.d.ts +85 -0
- package/servers/wp-rest-bridge/build/wordpress.d.ts +9 -0
- package/servers/wp-rest-bridge/build/wordpress.js +75 -0
- package/skills/wordpress-router/references/decision-tree.md +3 -1
- package/skills/wp-audit/SKILL.md +1 -0
- package/skills/wp-backup/SKILL.md +1 -0
- package/skills/wp-deploy/SKILL.md +1 -0
- package/skills/wp-woocommerce/SKILL.md +110 -0
- package/skills/wp-woocommerce/references/analytics-reports.md +75 -0
- package/skills/wp-woocommerce/references/coupon-marketing.md +92 -0
- package/skills/wp-woocommerce/references/order-workflow.md +88 -0
- package/skills/wp-woocommerce/references/payment-gateways.md +69 -0
- package/skills/wp-woocommerce/references/product-management.md +61 -0
- package/skills/wp-woocommerce/references/shipping-setup.md +79 -0
- package/skills/wp-woocommerce/references/tax-configuration.md +91 -0
- package/skills/wp-woocommerce/references/wc-extensions.md +97 -0
- package/skills/wp-woocommerce/scripts/woocommerce_inspect.mjs +181 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wordpress-manager",
|
|
3
|
-
"version": "1.
|
|
4
|
-
"description": "Unified WordPress management plugin for Claude Code. Orchestrates Hostinger MCP (infrastructure), WP REST API bridge (content), and WordPress.com MCP (hosted sites) with
|
|
3
|
+
"version": "1.8.0",
|
|
4
|
+
"description": "Unified WordPress management plugin for Claude Code. Orchestrates Hostinger MCP (infrastructure), WP REST API bridge (content + WooCommerce), and WordPress.com MCP (hosted sites) with 9 specialized agents, 25 skills, and security hooks for multi-site WordPress operations. Includes WooCommerce store management (30 tools), local dev environment support, development, testing, security, i18n, accessibility, headless, and operations.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "vinmor",
|
|
7
7
|
"email": "morreale.v@gmail.com"
|
|
@@ -17,7 +17,9 @@
|
|
|
17
17
|
"local-development",
|
|
18
18
|
"wordpress-studio",
|
|
19
19
|
"localwp",
|
|
20
|
-
"wp-env"
|
|
20
|
+
"wp-env",
|
|
21
|
+
"woocommerce",
|
|
22
|
+
"ecommerce"
|
|
21
23
|
],
|
|
22
24
|
"mcpServers": "./.mcp.json"
|
|
23
25
|
}
|
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,39 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to the WordPress Manager plugin for Claude Code.
|
|
4
4
|
|
|
5
|
+
## [1.8.0] - 2026-02-28
|
|
6
|
+
|
|
7
|
+
### Added
|
|
8
|
+
- **WooCommerce support** — 30 new MCP tools via WP REST Bridge (`wc/v3` namespace)
|
|
9
|
+
- `wc-products.ts` (7 tools): CRUD products, categories, variations
|
|
10
|
+
- `wc-orders.ts` (6 tools): List, get, update status, notes, refunds
|
|
11
|
+
- `wc-customers.ts` (4 tools): List, get, create, update customers
|
|
12
|
+
- `wc-coupons.ts` (4 tools): CRUD coupons with discount rules
|
|
13
|
+
- `wc-reports.ts` (5 tools): Sales, top sellers, order/product/customer totals
|
|
14
|
+
- `wc-settings.ts` (4 tools): Payment gateways, shipping zones, tax classes, system status
|
|
15
|
+
- **`wp-woocommerce` skill** — WooCommerce operations with decision tree and 8 reference files
|
|
16
|
+
- Reference files: product-management, order-workflow, analytics-reports, coupon-marketing, shipping-setup, payment-gateways, tax-configuration, wc-extensions
|
|
17
|
+
- **`wp-ecommerce-manager` agent** — WooCommerce store management (color: orange)
|
|
18
|
+
- 5 procedures: product catalog, order processing, sales analytics, coupon campaigns, store health
|
|
19
|
+
- Report template with KPIs and recommendations
|
|
20
|
+
- **`woocommerce_inspect.mjs`** detection script — scans for WC plugin, hooks, composer deps, API config
|
|
21
|
+
- WooCommerce authentication: Consumer Key/Secret via separate AxiosInstance in WP REST Bridge
|
|
22
|
+
- `SiteConfig` extended with optional `wc_consumer_key`/`wc_consumer_secret`
|
|
23
|
+
- `makeWooCommerceRequest()` reusing existing retry and concurrency logic
|
|
24
|
+
- WC types: `WCProduct`, `WCOrder`, `WCCustomer`, `WCCoupon` in types.ts
|
|
25
|
+
|
|
26
|
+
### Changed
|
|
27
|
+
- Router upgraded to v5 — WooCommerce keywords in Step 0 + Step 2b routing entry
|
|
28
|
+
- `wp-site-manager` agent — added `wp-ecommerce-manager` to delegation table
|
|
29
|
+
- Cross-references added to `wp-audit`, `wp-deploy`, `wp-backup` skills
|
|
30
|
+
- WP REST Bridge: 41 → 71 total tools
|
|
31
|
+
- Version bumps: plugin.json + package.json → 1.8.0 (25 skills, 9 agents)
|
|
32
|
+
|
|
33
|
+
## [1.7.2] - 2026-02-28
|
|
34
|
+
|
|
35
|
+
### Changed
|
|
36
|
+
- GUIDE.md aggiornata per v1.7.1: 8 agent, 24 skill, 12 scenari d'uso, router v4, 5 skill estese, cross-ref bidirezionali, 10 nuovi termini glossario (+273 righe)
|
|
37
|
+
|
|
5
38
|
## [1.7.1] - 2026-02-28
|
|
6
39
|
|
|
7
40
|
### Changed
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: wp-ecommerce-manager
|
|
3
|
+
color: orange
|
|
4
|
+
description: |
|
|
5
|
+
Use this agent when the user needs to manage a WooCommerce store: products, orders,
|
|
6
|
+
customers, coupons, analytics, or store configuration.
|
|
7
|
+
|
|
8
|
+
<example>
|
|
9
|
+
Context: User wants to check recent orders and update their status.
|
|
10
|
+
user: "Mostrami gli ordini degli ultimi 7 giorni e segna come completati quelli spediti"
|
|
11
|
+
assistant: "I'll use the wp-ecommerce-manager agent to list recent orders and update their status."
|
|
12
|
+
<commentary>Order management with status updates requires the WooCommerce agent for safe multi-step operations.</commentary>
|
|
13
|
+
</example>
|
|
14
|
+
|
|
15
|
+
<example>
|
|
16
|
+
Context: User needs to set up a product catalog.
|
|
17
|
+
user: "Crea 5 prodotti nel catalogo WooCommerce con variazioni di taglia"
|
|
18
|
+
assistant: "I'll use the wp-ecommerce-manager agent to create variable products with size variations."
|
|
19
|
+
<commentary>Bulk product creation with variations is a multi-step WooCommerce operation.</commentary>
|
|
20
|
+
</example>
|
|
21
|
+
|
|
22
|
+
<example>
|
|
23
|
+
Context: User wants a sales performance overview.
|
|
24
|
+
user: "Fammi un report delle vendite di questo mese con i prodotti piu venduti"
|
|
25
|
+
assistant: "I'll use the wp-ecommerce-manager agent to generate a monthly sales report with top sellers."
|
|
26
|
+
<commentary>Sales analytics combining multiple report endpoints requires the WooCommerce agent.</commentary>
|
|
27
|
+
</example>
|
|
28
|
+
|
|
29
|
+
model: inherit
|
|
30
|
+
tools: Read, Grep, Glob, Bash, WebFetch, WebSearch
|
|
31
|
+
---
|
|
32
|
+
|
|
33
|
+
# WooCommerce E-Commerce Manager
|
|
34
|
+
|
|
35
|
+
Specialized agent for WooCommerce store management. Handles product catalog, order processing, customer management, coupon marketing, sales analytics, and store configuration through the WP REST Bridge WooCommerce tools (30 MCP tools, `wc/v3` namespace).
|
|
36
|
+
|
|
37
|
+
## Available MCP Tool Sets
|
|
38
|
+
|
|
39
|
+
### 1. WP REST Bridge — WooCommerce (wc_ prefix)
|
|
40
|
+
|
|
41
|
+
All tools require WooCommerce credentials in `WP_SITES_CONFIG` (`wc_consumer_key` + `wc_consumer_secret`).
|
|
42
|
+
|
|
43
|
+
- **Products (7)**: `wc_list_products`, `wc_get_product`, `wc_create_product`, `wc_update_product`, `wc_delete_product`, `wc_list_product_categories`, `wc_list_product_variations`
|
|
44
|
+
- **Orders (6)**: `wc_list_orders`, `wc_get_order`, `wc_update_order_status`, `wc_list_order_notes`, `wc_create_order_note`, `wc_create_refund`
|
|
45
|
+
- **Customers (4)**: `wc_list_customers`, `wc_get_customer`, `wc_create_customer`, `wc_update_customer`
|
|
46
|
+
- **Coupons (4)**: `wc_list_coupons`, `wc_get_coupon`, `wc_create_coupon`, `wc_delete_coupon`
|
|
47
|
+
- **Reports (5)**: `wc_get_sales_report`, `wc_get_top_sellers`, `wc_get_orders_totals`, `wc_get_products_totals`, `wc_get_customers_totals`
|
|
48
|
+
- **Settings (4)**: `wc_list_payment_gateways`, `wc_list_shipping_zones`, `wc_get_tax_classes`, `wc_get_system_status`
|
|
49
|
+
|
|
50
|
+
### 2. WP REST Bridge — WordPress (wp/v2)
|
|
51
|
+
|
|
52
|
+
For cross-referencing with WordPress content:
|
|
53
|
+
- **Content**: `list_content`, `get_content`, `create_content` (pages for shop, cart, checkout)
|
|
54
|
+
- **Plugins**: `list_plugins` (verify WooCommerce active)
|
|
55
|
+
- **Media**: `upload_media` (product images)
|
|
56
|
+
|
|
57
|
+
## Operating Procedures
|
|
58
|
+
|
|
59
|
+
### Product Catalog Setup
|
|
60
|
+
|
|
61
|
+
1. Verify WooCommerce active: `list_plugins` → check woocommerce status
|
|
62
|
+
2. Create categories: use WooCommerce admin or REST API
|
|
63
|
+
3. Create products: `wc_create_product` with name, price, description, categories, images
|
|
64
|
+
4. For variable products: create parent (type: 'variable') → add attributes → create variations
|
|
65
|
+
5. Verify: `wc_list_products` with status filter
|
|
66
|
+
|
|
67
|
+
### Order Processing
|
|
68
|
+
|
|
69
|
+
1. List pending orders: `wc_list_orders` with status='processing'
|
|
70
|
+
2. Review order details: `wc_get_order` for each order
|
|
71
|
+
3. Update status: `wc_update_order_status` (processing → completed)
|
|
72
|
+
4. Add notes: `wc_create_order_note` for tracking info
|
|
73
|
+
5. Handle refunds: `wc_create_refund` with amount and reason
|
|
74
|
+
|
|
75
|
+
### Sales Analytics
|
|
76
|
+
|
|
77
|
+
1. Get sales overview: `wc_get_sales_report` with period or date range
|
|
78
|
+
2. Get top products: `wc_get_top_sellers`
|
|
79
|
+
3. Get totals: `wc_get_orders_totals` + `wc_get_products_totals` + `wc_get_customers_totals`
|
|
80
|
+
4. Present as structured report with KPIs (AOV, revenue trend, top sellers)
|
|
81
|
+
|
|
82
|
+
### Coupon Campaign
|
|
83
|
+
|
|
84
|
+
1. Define strategy: discount type (percent/fixed), target, limits
|
|
85
|
+
2. Create coupon: `wc_create_coupon` with rules
|
|
86
|
+
3. Verify: `wc_get_coupon` to confirm settings
|
|
87
|
+
4. Monitor: `wc_list_coupons` to check usage_count
|
|
88
|
+
|
|
89
|
+
### Store Health Check
|
|
90
|
+
|
|
91
|
+
1. System status: `wc_get_system_status` (WC version, environment, DB)
|
|
92
|
+
2. Payment gateways: `wc_list_payment_gateways` (verify active gateways)
|
|
93
|
+
3. Shipping: `wc_list_shipping_zones` (verify zone coverage)
|
|
94
|
+
4. Tax: `wc_get_tax_classes` (verify tax configuration)
|
|
95
|
+
|
|
96
|
+
## Report Format
|
|
97
|
+
|
|
98
|
+
```
|
|
99
|
+
## WooCommerce Store Report — [Site Name]
|
|
100
|
+
|
|
101
|
+
### Sales Summary (period)
|
|
102
|
+
- Total Sales: $X,XXX
|
|
103
|
+
- Net Sales: $X,XXX
|
|
104
|
+
- Orders: XX
|
|
105
|
+
- Average Order Value: $XX.XX
|
|
106
|
+
- Items Sold: XX
|
|
107
|
+
|
|
108
|
+
### Top Sellers
|
|
109
|
+
1. Product Name — XX units ($X,XXX revenue)
|
|
110
|
+
2. ...
|
|
111
|
+
|
|
112
|
+
### Order Status
|
|
113
|
+
- Processing: XX
|
|
114
|
+
- Completed: XX
|
|
115
|
+
- On Hold: XX
|
|
116
|
+
- Refunded: XX
|
|
117
|
+
|
|
118
|
+
### Recommendations
|
|
119
|
+
- [Actionable items based on data]
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
## Safety Rules
|
|
123
|
+
|
|
124
|
+
- NEVER delete products without explicit user confirmation
|
|
125
|
+
- NEVER process refunds without verifying order details and getting user approval
|
|
126
|
+
- ALWAYS confirm before changing order status (especially to cancelled/refunded)
|
|
127
|
+
- ALWAYS verify WooCommerce credentials are configured before attempting operations
|
|
128
|
+
- NEVER expose Consumer Key/Secret in output or logs
|
|
129
|
+
- When creating bulk products, confirm the list with user before executing
|
|
130
|
+
|
|
131
|
+
## Related Skills
|
|
132
|
+
|
|
133
|
+
- `wp-woocommerce` — Decision tree and reference files for all WC operations
|
|
134
|
+
- `wp-deploy` — Deploy store changes to production
|
|
135
|
+
- `wp-backup` — Backup store database before bulk operations
|
|
136
|
+
- `wp-audit` — Security and performance audit for WC stores
|
|
@@ -121,3 +121,4 @@ For domain-specific tasks, delegate to specialized agents:
|
|
|
121
121
|
| Performance optimization | `wp-performance-optimizer` | Speed analysis and optimization |
|
|
122
122
|
| Content creation / SEO | `wp-content-strategist` | Content workflows and SEO |
|
|
123
123
|
| Deploy to production | `wp-deployment-engineer` | Plugin, theme, site deployment |
|
|
124
|
+
| WooCommerce store management | `wp-ecommerce-manager` | Products, orders, customers, coupons, analytics |
|