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
|
@@ -0,0 +1,314 @@
|
|
|
1
|
+
# Roadmap v1.8.0 — v2.1.0: WooCommerce, Multisite, CI/CD, Monitoring
|
|
2
|
+
|
|
3
|
+
**Data:** 2026-02-28
|
|
4
|
+
**Stato:** Approvato
|
|
5
|
+
**Baseline:** v1.7.2 (24 skill, 8 agent, ~175 MCP tools, 12 detection scripts)
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## Approccio
|
|
10
|
+
|
|
11
|
+
Release incrementali — ogni feature e una minor release indipendente, dalla piu autocontenuta alla piu complessa. Questo permette testing e pubblicazione progressiva.
|
|
12
|
+
|
|
13
|
+
| Release | Feature | Complessita |
|
|
14
|
+
|---------|---------|-------------|
|
|
15
|
+
| v1.8.0 | WooCommerce | Alta (nuovi MCP tools + skill + agent) |
|
|
16
|
+
| v1.9.0 | Multisite | Media (skill + MCP tools, no agent nuovo) |
|
|
17
|
+
| v2.0.0 | CI/CD | Media (agent + skill, no MCP tools) |
|
|
18
|
+
| v2.1.0 | Monitoring | Alta (agent + skill, orchestrazione multi-check) |
|
|
19
|
+
|
|
20
|
+
---
|
|
21
|
+
|
|
22
|
+
## v1.8.0 — WooCommerce
|
|
23
|
+
|
|
24
|
+
### Contesto
|
|
25
|
+
|
|
26
|
+
WooCommerce usa il namespace REST `/wc/v3/` (separato da `/wp/v2/`). Richiede autenticazione propria (Consumer Key + Consumer Secret). Target: siti futuri e siti clienti/terzi.
|
|
27
|
+
|
|
28
|
+
### Componenti
|
|
29
|
+
|
|
30
|
+
| Tipo | Nome | Descrizione |
|
|
31
|
+
|------|------|-------------|
|
|
32
|
+
| Skill | `wp-woocommerce` | Prodotti, ordini, analytics, coupon, impostazioni |
|
|
33
|
+
| Agent | `wp-ecommerce-manager` | Gestione operativa negozio (color: orange) |
|
|
34
|
+
| MCP Tools | 6 file TypeScript | ~30 nuovi tool nel WP REST Bridge |
|
|
35
|
+
| Detection | `woocommerce_inspect.mjs` | Rileva WooCommerce, versione, estensioni |
|
|
36
|
+
|
|
37
|
+
### WP REST Bridge — Nuovi Tool
|
|
38
|
+
|
|
39
|
+
| File | Categoria | Tool | Endpoint |
|
|
40
|
+
|------|-----------|------|----------|
|
|
41
|
+
| `wc-products.ts` | Prodotti | 7 | CRUD prodotti, variazioni, categorie, tag, attributi |
|
|
42
|
+
| `wc-orders.ts` | Ordini | 6 | Lista, dettaglio, aggiorna stato, note, refund |
|
|
43
|
+
| `wc-customers.ts` | Clienti | 4 | Lista, dettaglio, ordini cliente, totale speso |
|
|
44
|
+
| `wc-coupons.ts` | Coupon | 4 | CRUD coupon, validazione |
|
|
45
|
+
| `wc-reports.ts` | Report | 5 | Vendite, top prodotti, top categorie, revenue |
|
|
46
|
+
| `wc-settings.ts` | Impostazioni | 4 | Valuta, tasse, spedizione, pagamenti |
|
|
47
|
+
|
|
48
|
+
### Autenticazione
|
|
49
|
+
|
|
50
|
+
Estensione di `WP_SITES_CONFIG` con campi opzionali:
|
|
51
|
+
|
|
52
|
+
```json
|
|
53
|
+
{
|
|
54
|
+
"id": "myshop",
|
|
55
|
+
"url": "https://myshop.com",
|
|
56
|
+
"username": "admin",
|
|
57
|
+
"password": "xxxx xxxx xxxx xxxx",
|
|
58
|
+
"wc_consumer_key": "ck_xxxx",
|
|
59
|
+
"wc_consumer_secret": "cs_xxxx"
|
|
60
|
+
}
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
Se `wc_consumer_key` e assente, i tool WooCommerce non sono disponibili per quel sito. Il server TypeScript crea un secondo AxiosInstance per `/wc/v3/` con Basic Auth (consumer_key:consumer_secret).
|
|
64
|
+
|
|
65
|
+
### Skill Reference Files (8)
|
|
66
|
+
|
|
67
|
+
| File | Contenuto |
|
|
68
|
+
|------|-----------|
|
|
69
|
+
| `product-management.md` | CRUD prodotti, variazioni, bulk operations |
|
|
70
|
+
| `order-workflow.md` | Ciclo di vita ordine, stati, transizioni |
|
|
71
|
+
| `analytics-reports.md` | Report vendite, metriche chiave, date range |
|
|
72
|
+
| `coupon-marketing.md` | Strategie coupon, condizioni, limiti |
|
|
73
|
+
| `shipping-setup.md` | Zone spedizione, metodi, classi |
|
|
74
|
+
| `payment-gateways.md` | Configurazione gateway, test mode |
|
|
75
|
+
| `tax-configuration.md` | Tasse per paese, classi fiscali |
|
|
76
|
+
| `wc-extensions.md` | Estensioni comuni, compatibilita |
|
|
77
|
+
|
|
78
|
+
### Agent `wp-ecommerce-manager`
|
|
79
|
+
|
|
80
|
+
- Color: orange
|
|
81
|
+
- Tools: Read, Grep, Glob, Bash, WebFetch, WebSearch
|
|
82
|
+
- Procedure: gestione catalogo, monitoraggio ordini, report vendite, setup negozio, troubleshooting
|
|
83
|
+
- Safety: conferma prima di modificare ordini, non cancellare prodotti senza backup, verifica stock prima di aggiornamenti bulk
|
|
84
|
+
|
|
85
|
+
### Router
|
|
86
|
+
|
|
87
|
+
Step 2b (operations):
|
|
88
|
+
```
|
|
89
|
+
"prodotto, ordine, WooCommerce, negozio, coupon, vendite, catalogo, inventario"
|
|
90
|
+
→ wp-woocommerce skill + wp-ecommerce-manager agent
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
### Modifiche al Server TypeScript
|
|
94
|
+
|
|
95
|
+
- `types.ts`: aggiungere tipo `WooCommerceConfig` e estendere `SiteConfig`
|
|
96
|
+
- `wordpress.ts`: creare `wcClientMap: Map<siteId, AxiosInstance>` per richieste WC
|
|
97
|
+
- `tools/index.ts`: importare e registrare i 6 nuovi file tool
|
|
98
|
+
|
|
99
|
+
---
|
|
100
|
+
|
|
101
|
+
## v1.9.0 — Multisite
|
|
102
|
+
|
|
103
|
+
### Contesto
|
|
104
|
+
|
|
105
|
+
WordPress Multisite usa le stesse REST API ma richiede utente Super Admin. Nessun agent nuovo — il `wp-site-manager` viene esteso.
|
|
106
|
+
|
|
107
|
+
### Componenti
|
|
108
|
+
|
|
109
|
+
| Tipo | Nome | Descrizione |
|
|
110
|
+
|------|------|-------------|
|
|
111
|
+
| Skill | `wp-multisite` | Network admin, site management, domain mapping |
|
|
112
|
+
| Agent | — | Estensione di `wp-site-manager` |
|
|
113
|
+
| MCP Tools | 2 file TypeScript | ~10 nuovi tool |
|
|
114
|
+
| Detection | `multisite_inspect.mjs` | Rileva multisite, sub-siti, network admin |
|
|
115
|
+
|
|
116
|
+
### WP REST Bridge — Nuovi Tool
|
|
117
|
+
|
|
118
|
+
| File | Categoria | Tool | Endpoint |
|
|
119
|
+
|------|-----------|------|----------|
|
|
120
|
+
| `multisite-sites.ts` | Siti network | 5 | Lista, crea, attiva/disattiva, elimina, dettaglio |
|
|
121
|
+
| `multisite-network.ts` | Network admin | 5 | Plugin/temi network, utenti network, impostazioni |
|
|
122
|
+
|
|
123
|
+
I tool verificano automaticamente che l'utente sia Super Admin prima di eseguire operazioni network.
|
|
124
|
+
|
|
125
|
+
### Skill Reference Files (6)
|
|
126
|
+
|
|
127
|
+
| File | Contenuto |
|
|
128
|
+
|------|-----------|
|
|
129
|
+
| `network-setup.md` | Installazione multisite, sub-directory vs sub-domain |
|
|
130
|
+
| `site-management.md` | CRUD sub-siti, template, clonazione |
|
|
131
|
+
| `domain-mapping.md` | Domini personalizzati, SSL per sub-siti |
|
|
132
|
+
| `network-plugins.md` | Plugin network-activated vs per-sito |
|
|
133
|
+
| `user-roles.md` | Super Admin, site roles, capabilities |
|
|
134
|
+
| `migration-multisite.md` | Single → multisite e viceversa |
|
|
135
|
+
|
|
136
|
+
### Router
|
|
137
|
+
|
|
138
|
+
Step 2b (operations):
|
|
139
|
+
```
|
|
140
|
+
"multisite, network, sub-sito, domain mapping, super admin"
|
|
141
|
+
→ wp-multisite skill + wp-site-manager agent
|
|
142
|
+
```
|
|
143
|
+
|
|
144
|
+
### Aggiornamento `wp-site-manager`
|
|
145
|
+
|
|
146
|
+
Aggiungere sezione "## Multisite Network Management" con procedure per lista sub-siti, creazione, plugin network-wide, domain mapping.
|
|
147
|
+
|
|
148
|
+
---
|
|
149
|
+
|
|
150
|
+
## v2.0.0 — CI/CD
|
|
151
|
+
|
|
152
|
+
### Contesto
|
|
153
|
+
|
|
154
|
+
Agent e skill per pipeline CI/CD WordPress. Supporto multi-piattaforma (GitHub Actions, GitLab CI, Bitbucket Pipelines). Nessun nuovo MCP tool — usa Bash, Read, Write.
|
|
155
|
+
|
|
156
|
+
### Componenti
|
|
157
|
+
|
|
158
|
+
| Tipo | Nome | Descrizione |
|
|
159
|
+
|------|------|-------------|
|
|
160
|
+
| Skill | `wp-cicd` | Pipeline CI/CD per WordPress multi-piattaforma |
|
|
161
|
+
| Agent | `wp-cicd-engineer` | Configura e gestisce pipeline (color: cyan) |
|
|
162
|
+
| Detection | `cicd_inspect.mjs` | Rileva CI config, workflow, secret |
|
|
163
|
+
|
|
164
|
+
### Piattaforme
|
|
165
|
+
|
|
166
|
+
| Piattaforma | Config | Template |
|
|
167
|
+
|-------------|--------|----------|
|
|
168
|
+
| GitHub Actions | `.github/workflows/*.yml` | PHP lint + PHPStan + Playwright + deploy |
|
|
169
|
+
| GitLab CI | `.gitlab-ci.yml` | Pipeline multi-stage equivalente |
|
|
170
|
+
| Bitbucket Pipelines | `bitbucket-pipelines.yml` | Pipeline equivalente |
|
|
171
|
+
|
|
172
|
+
### Skill Reference Files (7)
|
|
173
|
+
|
|
174
|
+
| File | Contenuto |
|
|
175
|
+
|------|-----------|
|
|
176
|
+
| `github-actions-wordpress.md` | Workflow completi per WP |
|
|
177
|
+
| `gitlab-ci-wordpress.md` | Pipeline GitLab |
|
|
178
|
+
| `bitbucket-pipelines-wordpress.md` | Pipeline Bitbucket |
|
|
179
|
+
| `wp-env-ci.md` | Setup wp-env in CI per test E2E |
|
|
180
|
+
| `deploy-strategies.md` | Blue-green, rolling, canary per WP |
|
|
181
|
+
| `secrets-management.md` | SSH keys, API tokens, env vars sicure |
|
|
182
|
+
| `quality-gates.md` | PHPStan, PHPCS, coverage threshold |
|
|
183
|
+
|
|
184
|
+
### Agent `wp-cicd-engineer`
|
|
185
|
+
|
|
186
|
+
- Color: cyan
|
|
187
|
+
- Tools: Read, Grep, Glob, Bash, Write, WebFetch, WebSearch
|
|
188
|
+
- Procedure: detect CI, generate pipeline, configure secrets, quality gates, deploy stage, troubleshoot
|
|
189
|
+
- Safety: non eseguire deploy da CI senza approvazione, non esporre secret in log, validare YAML prima di commit
|
|
190
|
+
|
|
191
|
+
### Router
|
|
192
|
+
|
|
193
|
+
Step 2a (development):
|
|
194
|
+
```
|
|
195
|
+
"CI, CD, pipeline, GitHub Actions, GitLab CI, deploy automatico, workflow, quality gate"
|
|
196
|
+
→ wp-cicd skill + wp-cicd-engineer agent
|
|
197
|
+
```
|
|
198
|
+
|
|
199
|
+
### Cross-references
|
|
200
|
+
|
|
201
|
+
- `wp-e2e-testing` → "Per integrazione CI, vedi `wp-cicd`"
|
|
202
|
+
- `wp-deploy` → "Per deploy automatici, vedi `wp-cicd`"
|
|
203
|
+
- `wp-phpstan` → "Per quality gates, vedi `wp-cicd`"
|
|
204
|
+
|
|
205
|
+
---
|
|
206
|
+
|
|
207
|
+
## v2.1.0 — Monitoring
|
|
208
|
+
|
|
209
|
+
### Contesto
|
|
210
|
+
|
|
211
|
+
Agent e skill per monitoraggio unificato: uptime, performance, security, content integrity. Usa tool MCP esistenti + script Bash per metriche esterne.
|
|
212
|
+
|
|
213
|
+
### Componenti
|
|
214
|
+
|
|
215
|
+
| Tipo | Nome | Descrizione |
|
|
216
|
+
|------|------|-------------|
|
|
217
|
+
| Skill | `wp-monitoring` | Strategie monitoraggio WordPress |
|
|
218
|
+
| Agent | `wp-monitoring-agent` | Monitoraggio unificato (color: teal) |
|
|
219
|
+
| Detection | `monitoring_inspect.mjs` | Rileva monitoring esistente |
|
|
220
|
+
|
|
221
|
+
### Aree di Monitoraggio
|
|
222
|
+
|
|
223
|
+
| Area | Cosa | Come |
|
|
224
|
+
|------|------|------|
|
|
225
|
+
| Uptime | HTTP, SSL, response time | WP REST Bridge + health-check.sh |
|
|
226
|
+
| Performance | TTFB, CWV trends | Lighthouse CLI, WebFetch |
|
|
227
|
+
| Security | Plugin outdated, vulnerabilita, file integrity | list_plugins + security_inspect.mjs |
|
|
228
|
+
| Content | Modifiche non autorizzate, link rotti, spam | list_content + list_comments |
|
|
229
|
+
|
|
230
|
+
### Skill Reference Files (6)
|
|
231
|
+
|
|
232
|
+
| File | Contenuto |
|
|
233
|
+
|------|-----------|
|
|
234
|
+
| `uptime-checks.md` | HTTP probe, SSL monitoring, cron |
|
|
235
|
+
| `performance-baseline.md` | Baseline CWV, trend analysis |
|
|
236
|
+
| `security-scanning.md` | CVE check, file integrity, malware |
|
|
237
|
+
| `content-integrity.md` | Rilevamento modifiche, link checking |
|
|
238
|
+
| `alerting-strategies.md` | Soglie alert, escalation |
|
|
239
|
+
| `reporting-templates.md` | Template report giornaliero/settimanale |
|
|
240
|
+
|
|
241
|
+
### Agent `wp-monitoring-agent`
|
|
242
|
+
|
|
243
|
+
- Color: teal
|
|
244
|
+
- Tools: Read, Grep, Glob, Bash, WebFetch, WebSearch
|
|
245
|
+
- Procedure: baseline, uptime check, performance scan, security scan, content audit, generate report
|
|
246
|
+
- Report format: markdown strutturato con severity e raccomandazioni
|
|
247
|
+
- Safety: no modifiche al sito (solo lettura), segnala anomalie senza intervenire
|
|
248
|
+
|
|
249
|
+
### Router
|
|
250
|
+
|
|
251
|
+
Step 2b (operations):
|
|
252
|
+
```
|
|
253
|
+
"monitora, uptime, health report, trend, scansione periodica"
|
|
254
|
+
→ wp-monitoring skill + wp-monitoring-agent agent
|
|
255
|
+
```
|
|
256
|
+
|
|
257
|
+
### Cross-references
|
|
258
|
+
|
|
259
|
+
- `wp-audit` → "Per monitoraggio continuo, vedi `wp-monitoring`"
|
|
260
|
+
- `wp-security-auditor` → "Per scansioni periodiche, vedi `wp-monitoring-agent`"
|
|
261
|
+
- `wp-performance-optimizer` → "Per trend performance, vedi `wp-monitoring`"
|
|
262
|
+
|
|
263
|
+
---
|
|
264
|
+
|
|
265
|
+
## Riepilogo Finale
|
|
266
|
+
|
|
267
|
+
### Conteggi a fine roadmap
|
|
268
|
+
|
|
269
|
+
| Metrica | v1.7.2 (oggi) | v2.1.0 (target) | Delta |
|
|
270
|
+
|---------|---------------|-----------------|-------|
|
|
271
|
+
| Skills | 24 | 28 | +4 |
|
|
272
|
+
| Agents | 8 | 11 | +3 |
|
|
273
|
+
| MCP Tools | ~175 | ~215 | +40 |
|
|
274
|
+
| Detection scripts | 12 | 16 | +4 |
|
|
275
|
+
| Reference files | 106 | 133 | +27 |
|
|
276
|
+
|
|
277
|
+
### Ordine di Implementazione
|
|
278
|
+
|
|
279
|
+
```
|
|
280
|
+
v1.8.0 — WooCommerce
|
|
281
|
+
1. Estensione types.ts e wordpress.ts per WC auth
|
|
282
|
+
2. 6 file tool TypeScript (wc-products, wc-orders, wc-customers, wc-coupons, wc-reports, wc-settings)
|
|
283
|
+
3. Detection script woocommerce_inspect.mjs
|
|
284
|
+
4. Skill wp-woocommerce (SKILL.md + 8 reference files)
|
|
285
|
+
5. Agent wp-ecommerce-manager.md
|
|
286
|
+
6. Router update + cross-references
|
|
287
|
+
7. Version bump + CHANGELOG + GUIDE.md
|
|
288
|
+
8. Build, test, commit, publish npm + GitHub release
|
|
289
|
+
|
|
290
|
+
v1.9.0 — Multisite
|
|
291
|
+
1. 2 file tool TypeScript (multisite-sites, multisite-network)
|
|
292
|
+
2. Detection script multisite_inspect.mjs
|
|
293
|
+
3. Skill wp-multisite (SKILL.md + 6 reference files)
|
|
294
|
+
4. Aggiornamento wp-site-manager.md
|
|
295
|
+
5. Router update + cross-references
|
|
296
|
+
6. Version bump + CHANGELOG + GUIDE.md
|
|
297
|
+
7. Build, test, commit, publish npm + GitHub release
|
|
298
|
+
|
|
299
|
+
v2.0.0 — CI/CD
|
|
300
|
+
1. Detection script cicd_inspect.mjs
|
|
301
|
+
2. Skill wp-cicd (SKILL.md + 7 reference files)
|
|
302
|
+
3. Agent wp-cicd-engineer.md
|
|
303
|
+
4. Router update + cross-references
|
|
304
|
+
5. Version bump + CHANGELOG + GUIDE.md
|
|
305
|
+
6. Commit, publish npm + GitHub release
|
|
306
|
+
|
|
307
|
+
v2.1.0 — Monitoring
|
|
308
|
+
1. Detection script monitoring_inspect.mjs
|
|
309
|
+
2. Skill wp-monitoring (SKILL.md + 6 reference files)
|
|
310
|
+
3. Agent wp-monitoring-agent.md
|
|
311
|
+
4. Router update + cross-references
|
|
312
|
+
5. Version bump + CHANGELOG + GUIDE.md
|
|
313
|
+
6. Commit, publish npm + GitHub release
|
|
314
|
+
```
|