claude-plugin-wordpress-manager 1.7.2 → 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.
Files changed (38) hide show
  1. package/.claude-plugin/plugin.json +5 -3
  2. package/CHANGELOG.md +28 -0
  3. package/agents/wp-ecommerce-manager.md +136 -0
  4. package/agents/wp-site-manager.md +1 -0
  5. package/docs/plans/2026-02-28-roadmap-v1.8-v2.1-design.md +314 -0
  6. package/docs/plans/2026-02-28-woocommerce-v1.8.0.md +2012 -0
  7. package/package.json +6 -3
  8. package/servers/wp-rest-bridge/build/tools/index.d.ts +927 -0
  9. package/servers/wp-rest-bridge/build/tools/index.js +20 -2
  10. package/servers/wp-rest-bridge/build/tools/wc-coupons.d.ts +144 -0
  11. package/servers/wp-rest-bridge/build/tools/wc-coupons.js +92 -0
  12. package/servers/wp-rest-bridge/build/tools/wc-customers.d.ts +141 -0
  13. package/servers/wp-rest-bridge/build/tools/wc-customers.js +92 -0
  14. package/servers/wp-rest-bridge/build/tools/wc-orders.d.ts +186 -0
  15. package/servers/wp-rest-bridge/build/tools/wc-orders.js +128 -0
  16. package/servers/wp-rest-bridge/build/tools/wc-products.d.ts +324 -0
  17. package/servers/wp-rest-bridge/build/tools/wc-products.js +177 -0
  18. package/servers/wp-rest-bridge/build/tools/wc-reports.d.ts +117 -0
  19. package/servers/wp-rest-bridge/build/tools/wc-reports.js +94 -0
  20. package/servers/wp-rest-bridge/build/tools/wc-settings.d.ts +72 -0
  21. package/servers/wp-rest-bridge/build/tools/wc-settings.js +70 -0
  22. package/servers/wp-rest-bridge/build/types.d.ts +85 -0
  23. package/servers/wp-rest-bridge/build/wordpress.d.ts +9 -0
  24. package/servers/wp-rest-bridge/build/wordpress.js +75 -0
  25. package/skills/wordpress-router/references/decision-tree.md +3 -1
  26. package/skills/wp-audit/SKILL.md +1 -0
  27. package/skills/wp-backup/SKILL.md +1 -0
  28. package/skills/wp-deploy/SKILL.md +1 -0
  29. package/skills/wp-woocommerce/SKILL.md +110 -0
  30. package/skills/wp-woocommerce/references/analytics-reports.md +75 -0
  31. package/skills/wp-woocommerce/references/coupon-marketing.md +92 -0
  32. package/skills/wp-woocommerce/references/order-workflow.md +88 -0
  33. package/skills/wp-woocommerce/references/payment-gateways.md +69 -0
  34. package/skills/wp-woocommerce/references/product-management.md +61 -0
  35. package/skills/wp-woocommerce/references/shipping-setup.md +79 -0
  36. package/skills/wp-woocommerce/references/tax-configuration.md +91 -0
  37. package/skills/wp-woocommerce/references/wc-extensions.md +97 -0
  38. package/skills/wp-woocommerce/scripts/woocommerce_inspect.mjs +181 -0
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "wordpress-manager",
3
- "version": "1.7.2",
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 8 specialized agents, 24 skills, and security hooks for multi-site WordPress operations. Includes local dev environment support for WordPress Studio, LocalWP, and wp-env. Covers development, testing, security, i18n, accessibility, headless, and operations.",
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,34 @@
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
+
5
33
  ## [1.7.2] - 2026-02-28
6
34
 
7
35
  ### 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 |
@@ -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
+ ```