claude-plugin-wordpress-manager 2.2.1 → 2.3.1

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 (34) hide show
  1. package/.claude-plugin/plugin.json +2 -2
  2. package/CHANGELOG.md +26 -0
  3. package/agents/wp-content-strategist.md +25 -0
  4. package/agents/wp-ecommerce-manager.md +23 -0
  5. package/agents/wp-site-manager.md +26 -0
  6. package/docs/GUIDE.md +126 -10
  7. package/package.json +8 -3
  8. package/skills/wordpress-router/references/decision-tree.md +8 -2
  9. package/skills/wp-content/SKILL.md +1 -0
  10. package/skills/wp-content-attribution/SKILL.md +97 -0
  11. package/skills/wp-content-attribution/references/attribution-models.md +189 -0
  12. package/skills/wp-content-attribution/references/conversion-funnels.md +137 -0
  13. package/skills/wp-content-attribution/references/reporting-dashboards.md +199 -0
  14. package/skills/wp-content-attribution/references/roi-calculation.md +202 -0
  15. package/skills/wp-content-attribution/references/utm-tracking-setup.md +161 -0
  16. package/skills/wp-content-attribution/scripts/attribution_inspect.mjs +277 -0
  17. package/skills/wp-headless/SKILL.md +1 -0
  18. package/skills/wp-i18n/SKILL.md +1 -0
  19. package/skills/wp-multilang-network/SKILL.md +107 -0
  20. package/skills/wp-multilang-network/references/content-sync.md +182 -0
  21. package/skills/wp-multilang-network/references/hreflang-config.md +198 -0
  22. package/skills/wp-multilang-network/references/language-routing.md +234 -0
  23. package/skills/wp-multilang-network/references/network-architecture.md +119 -0
  24. package/skills/wp-multilang-network/references/seo-international.md +213 -0
  25. package/skills/wp-multilang-network/scripts/multilang_inspect.mjs +308 -0
  26. package/skills/wp-multisite/SKILL.md +1 -0
  27. package/skills/wp-programmatic-seo/SKILL.md +97 -0
  28. package/skills/wp-programmatic-seo/references/data-sources.md +200 -0
  29. package/skills/wp-programmatic-seo/references/location-seo.md +134 -0
  30. package/skills/wp-programmatic-seo/references/product-seo.md +147 -0
  31. package/skills/wp-programmatic-seo/references/technical-seo.md +197 -0
  32. package/skills/wp-programmatic-seo/references/template-architecture.md +125 -0
  33. package/skills/wp-programmatic-seo/scripts/programmatic_seo_inspect.mjs +264 -0
  34. package/skills/wp-woocommerce/SKILL.md +1 -0
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "wordpress-manager",
3
- "version": "2.2.1",
4
- "description": "Unified WordPress management plugin for Claude Code. Orchestrates Hostinger MCP (infrastructure), WP REST API bridge (85 tools incl. WooCommerce + Multisite + Webhooks), and WordPress.com MCP (hosted sites) with 11 specialized agents, 30 skills, and security hooks. Includes fleet monitoring, content repurposing, webhook propagation, site monitoring (uptime, performance baseline, security scanning, content integrity, alerting), CI/CD pipeline automation (GitHub Actions, GitLab CI, Bitbucket), WordPress Multisite network management, WooCommerce store management, local dev environment support, development, testing, security, i18n, accessibility, headless, and operations.",
3
+ "version": "2.3.1",
4
+ "description": "Unified WordPress management plugin for Claude Code. Orchestrates Hostinger MCP (infrastructure), WP REST API bridge (85 tools incl. WooCommerce + Multisite + Webhooks), and WordPress.com MCP (hosted sites) with 11 specialized agents, 33 skills, and security hooks. Includes programmatic SEO, content-commerce attribution, multi-language network, fleet monitoring, content repurposing, webhook propagation, site monitoring (uptime, performance baseline, security scanning, content integrity, alerting), CI/CD pipeline automation (GitHub Actions, GitLab CI, Bitbucket), WordPress Multisite network management, WooCommerce store management, 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"
package/CHANGELOG.md CHANGED
@@ -2,6 +2,32 @@
2
2
 
3
3
  All notable changes to the WordPress Manager plugin for Claude Code.
4
4
 
5
+ ## [2.3.1] - 2026-02-28
6
+
7
+ ### Changed
8
+ - **GUIDE.md**: aggiornamento completo da v2.2.0 a v2.3.0 — documenta programmatic SEO, content-commerce attribution, multi-language network (22 scenari, 33 skill, 85 tool, router v10, +16 termini glossario)
9
+
10
+ ## [2.3.0] - 2026-02-28
11
+
12
+ ### Added
13
+ - **Programmatic SEO skill** (`wp-programmatic-seo`) — template-based scalable page generation via headless WordPress + multisite
14
+ - 5 reference files: `template-architecture.md`, `location-seo.md`, `product-seo.md`, `data-sources.md`, `technical-seo.md`
15
+ - Detection script: `programmatic_seo_inspect.mjs` (headless frontend, SEO plugins, CPTs, WPGraphQL)
16
+ - Agent updated: Programmatic SEO Workflow + example in `wp-content-strategist`
17
+ - **Content-Commerce Attribution skill** (`wp-content-attribution`) — link WooCommerce sales data to content that drives conversions
18
+ - 5 reference files: `utm-tracking-setup.md`, `conversion-funnels.md`, `attribution-models.md`, `roi-calculation.md`, `reporting-dashboards.md`
19
+ - Detection script: `attribution_inspect.mjs` (WooCommerce, analytics plugins, UTM tracking, order meta)
20
+ - Agent updated: Content Attribution Workflow + example in `wp-ecommerce-manager`
21
+ - **Multi-Language Network skill** (`wp-multilang-network`) — multisite multi-language orchestration with hreflang and content sync
22
+ - 5 reference files: `network-architecture.md`, `hreflang-config.md`, `content-sync.md`, `language-routing.md`, `seo-international.md`
23
+ - Detection script: `multilang_inspect.mjs` (multisite status, multilingual plugins, language patterns, hreflang)
24
+ - Agent updated: Multi-Language Network Management + example in `wp-site-manager`
25
+
26
+ ### Changed
27
+ - Router decision-tree.md upgraded to v10 with programmatic SEO, content attribution, and multi-language network keywords and routing
28
+ - Cross-references added: `wp-headless` → wp-programmatic-seo, `wp-woocommerce` → wp-content-attribution, `wp-content` → wp-content-attribution, `wp-multisite` → wp-multilang-network, `wp-i18n` → wp-multilang-network
29
+ - Plugin now has 33 skills, 11 agents, and 85 MCP tools
30
+
5
31
  ## [2.2.1] - 2026-02-28
6
32
 
7
33
  ### Changed
@@ -31,6 +31,13 @@ description: |
31
31
  assistant: "I'll use the wp-content-strategist agent to extract key insights from your posts and generate platform-specific social content."
32
32
  <commentary>Content repurposing requires selecting source content and applying platform templates.</commentary>
33
33
  </example>
34
+
35
+ <example>
36
+ Context: User wants to generate hundreds of location-based landing pages.
37
+ user: "Generate 200 city pages for our plumbing service"
38
+ assistant: "I'll use the wp-content-strategist agent to design the template, set up the data source, and bulk-generate the city pages."
39
+ <commentary>Programmatic SEO at scale requires structured data, URL design, and bulk content creation via REST API.</commentary>
40
+ </example>
34
41
  model: inherit
35
42
  tools: Read, Grep, Glob, Bash, WebFetch, WebSearch
36
43
  ---
@@ -176,6 +183,23 @@ When repurposing existing WordPress content into multi-channel formats:
176
183
 
177
184
  See the `wp-content-repurposing` skill for detailed templates and platform specifications.
178
185
 
186
+ ## Programmatic SEO Workflow
187
+
188
+ When generating large-scale pages from structured data (city pages, product variants, comparison pages):
189
+
190
+ 1. **Assess data source**: Use `discover_content_types` to find what structured data exists (products, locations, categories). Run `programmatic_seo_inspect.mjs` for readiness assessment.
191
+ 2. **Design URL pattern**: Define the template — `/{service}/{city}` or `/{product}/{variant}`. Keep to max 3 levels, include primary keyword in first path segment.
192
+ 3. **Create CPT or taxonomy**: If no suitable CPT exists, create one in WordPress with `show_in_rest: true` for headless access. Define custom fields for template variables.
193
+ 4. **Build page template**: Map CPT fields to page elements — title, meta description, H1, body sections, schema markup. Ensure 300+ words of unique content per page.
194
+ 5. **Generate content in bulk**: Loop via `create_content` MCP tool:
195
+ - Create as `status: "draft"` first for review
196
+ - Process in batches of 10, report progress
197
+ - Assign taxonomies via `assign_terms_to_content`
198
+ 6. **Configure headless frontend**: Reference `wp-programmatic-seo` skill for ISR/SSG setup (Next.js `revalidate`, Nuxt `routeRules`, Astro hybrid mode).
199
+ 7. **Submit sitemap**: Verify XML sitemap includes all programmatic pages, submit to Google Search Console.
200
+
201
+ See the `wp-programmatic-seo` skill for reference files on template architecture, location SEO, product SEO, data sources, and technical SEO.
202
+
179
203
  ## Multilingual Content
180
204
 
181
205
  When creating content for multilingual sites:
@@ -194,3 +218,4 @@ When creating content for multilingual sites:
194
218
  - **`wp-content` skill** — content lifecycle management, editorial workflows
195
219
  - **`wp-i18n` skill** — internationalization and localization procedures
196
220
  - **`wp-content-repurposing` skill** — content transformation for multi-channel distribution
221
+ - **`wp-programmatic-seo` skill** — scalable page generation from structured data (city pages, product variants, comparison pages)
@@ -26,6 +26,13 @@ description: |
26
26
  <commentary>Sales analytics combining multiple report endpoints requires the WooCommerce agent.</commentary>
27
27
  </example>
28
28
 
29
+ <example>
30
+ Context: User wants to know which blog posts are driving sales.
31
+ user: "Which blog posts are driving the most sales?"
32
+ assistant: "I'll use the wp-ecommerce-manager agent to analyze order attribution data and identify top converting content."
33
+ <commentary>Content-commerce attribution requires correlating WooCommerce order UTM meta with content data.</commentary>
34
+ </example>
35
+
29
36
  model: inherit
30
37
  tools: Read, Grep, Glob, Bash, WebFetch, WebSearch
31
38
  ---
@@ -93,6 +100,21 @@ For cross-referencing with WordPress content:
93
100
  3. Shipping: `wc_list_shipping_zones` (verify zone coverage)
94
101
  4. Tax: `wc_get_tax_classes` (verify tax configuration)
95
102
 
103
+ ### Content Attribution Workflow
104
+
105
+ When analyzing which content drives WooCommerce sales:
106
+
107
+ 1. **Verify setup**: Run `attribution_inspect.mjs` to check WooCommerce + content + UTM tracking readiness
108
+ 2. **Check UTM tracking**: Is the UTM capture mu-plugin installed? If not, guide setup from `wp-content-attribution` skill → `references/utm-tracking-setup.md`
109
+ 3. **Pull sales data**: `wc_get_sales_report` for the reporting period (default: last 30 days)
110
+ 4. **Pull order details**: `wc_list_orders` with `status=completed` — check `_last_utm_campaign` and `_first_utm_campaign` meta on each order
111
+ 5. **Pull content data**: `list_content` for the same period to map campaign slugs back to post titles
112
+ 6. **Correlate**: Match order UTM campaign values with content piece slugs; aggregate revenue per content piece
113
+ 7. **Apply attribution model**: Default to last-touch (`_last_utm_campaign`); reference `wp-content-attribution` skill for other models
114
+ 8. **Generate attribution report**: Top converting content pieces, revenue by content category, CAC by source, recommendations
115
+
116
+ See the `wp-content-attribution` skill for reference files on UTM setup, attribution models, ROI calculation, and reporting dashboards.
117
+
96
118
  ## Report Format
97
119
 
98
120
  ```
@@ -134,3 +156,4 @@ For cross-referencing with WordPress content:
134
156
  - `wp-deploy` — Deploy store changes to production
135
157
  - `wp-backup` — Backup store database before bulk operations
136
158
  - `wp-audit` — Security and performance audit for WC stores
159
+ - `wp-content-attribution` — Content-commerce attribution, UTM tracking, ROI calculation
@@ -24,6 +24,13 @@ description: |
24
24
  assistant: "I'll use the wp-site-manager agent to handle multi-site operations."
25
25
  <commentary>Multi-site coordination is a core capability of this agent.</commentary>
26
26
  </example>
27
+
28
+ <example>
29
+ Context: User wants to set up a multilingual multisite network.
30
+ user: "Set up Italian and Spanish versions of our site"
31
+ assistant: "I'll use the wp-site-manager agent to create language-specific sub-sites and configure the multi-language network."
32
+ <commentary>Multi-language network setup requires creating sub-sites, configuring hreflang, and establishing content sync — all multisite operations.</commentary>
33
+ </example>
27
34
  model: inherit
28
35
  tools: Read, Grep, Glob, Bash, WebFetch, WebSearch
29
36
  ---
@@ -127,6 +134,20 @@ For WordPress Multisite networks (sites with `is_multisite: true` in WP_SITES_CO
127
134
  - ALWAYS confirm before network-activating plugins (affects ALL sites)
128
135
  - Announce which network you're operating on when multiple multisite networks are configured
129
136
 
137
+ ### Multi-Language Network Management
138
+
139
+ When setting up or managing a multi-language WordPress Multisite network:
140
+
141
+ 1. **Assess current network**: Use `ms_list_sites` to list existing sub-sites. Run `multilang_inspect.mjs` for readiness assessment (multisite status, multilingual plugin, language patterns, hreflang).
142
+ 2. **Create language sub-sites**: Use `ms_create_site` for each target language. Use ISO 639-1 codes as slugs (e.g., `/it/`, `/de/`, `/fr/`). Title format: `{Brand} - {Language Name}`.
143
+ 3. **Configure multilingual plugin**: Network-activate the chosen plugin (WPML, Polylang, or MultilingualPress) via `ms_network_activate_plugin`. Assign language to each sub-site in plugin settings.
144
+ 4. **Set up hreflang**: If using MultilingualPress or WPML, hreflang is auto-generated. Otherwise, install the hreflang mu-plugin from `wp-multilang-network` skill → `references/hreflang-config.md`.
145
+ 5. **Establish content sync workflow**: Define whether content is manually replicated, semi-auto (plugin-assisted), or fully synced. See `wp-multilang-network` skill → `references/content-sync.md`.
146
+ 6. **Configure language routing**: Set up language switcher widget and optional browser detection redirect. See `references/language-routing.md`.
147
+ 7. **Verify international SEO**: Check hreflang reciprocal links, per-language sitemaps, GSC properties per language. See `references/seo-international.md`.
148
+
149
+ See the `wp-multilang-network` skill for detailed reference files on network architecture, hreflang, content sync, language routing, and international SEO.
150
+
130
151
  ### Safety Rules
131
152
  - NEVER delete content without explicit user confirmation
132
153
  - NEVER deactivate plugins without listing dependencies first
@@ -150,3 +171,8 @@ For domain-specific tasks, delegate to specialized agents:
150
171
  | Multisite network management | `wp-site-manager` (this agent) | Sub-sites, network plugins, Super Admin — see section above |
151
172
  | CI/CD pipeline setup and troubleshooting | `wp-cicd-engineer` | GitHub Actions, GitLab CI, Bitbucket, quality gates |
152
173
  | Site monitoring and health reports | `wp-monitoring-agent` | Uptime, performance trends, security scanning, content integrity |
174
+
175
+ ## Related Skills
176
+
177
+ - **`wp-multisite` skill** — multisite network management with 10 MCP tools
178
+ - **`wp-multilang-network` skill** — multi-language network orchestration (hreflang, content sync, international SEO)
package/docs/GUIDE.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # WordPress Manager - Guida Completa per Utenti e Amministratori
2
2
 
3
- **Versione:** 2.2.0
3
+ **Versione:** 2.3.0
4
4
  **Ultimo aggiornamento:** 2026-02-28
5
5
  **Repository:** https://github.com/morrealev/wordpress-manager
6
6
 
@@ -60,6 +60,9 @@ WordPress Manager e un plugin per **Claude Code** (la CLI ufficiale di Anthropic
60
60
  - **Fleet monitoring**: monitorare tutti i siti configurati con report comparativi cross-site
61
61
  - **Riproporre contenuti**: trasformare post WordPress in social media, email, newsletter multi-canale
62
62
  - **Gestire webhook**: configurare notifiche outbound WordPress verso servizi esterni (Zapier, Slack, CDN)
63
+ - **SEO programmatico**: generare centinaia di pagine template da dati strutturati (city pages, product variants, directory)
64
+ - **Attribuzione contenuti-vendite**: misurare quale contenuto WordPress genera conversioni WooCommerce (UTM tracking, attribution models, ROI)
65
+ - **Rete multilingua**: orchestrare WordPress Multisite come network multilingua con hreflang, content sync e SEO internazionale
63
66
 
64
67
  ### Requisiti
65
68
 
@@ -96,7 +99,7 @@ WordPress Manager e un plugin per **Claude Code** (la CLI ufficiale di Anthropic
96
99
  ### Componenti del Plugin
97
100
 
98
101
  ```
99
- wordpress-manager/ # v2.2.0
102
+ wordpress-manager/ # v2.3.0
100
103
  +-- .claude-plugin/plugin.json # Manifest
101
104
  +-- .mcp.json # Server MCP bundled
102
105
  +-- LICENSE # MIT + GPL-2.0-or-later
@@ -115,7 +118,7 @@ wordpress-manager/ # v2.2.0
115
118
  | +-- wp-monitoring-agent.md # Site monitoring read-only (v2.1.0)
116
119
  +-- commands/ # 5 slash commands
117
120
  | +-- wp-status.md / wp-deploy.md / wp-audit.md / wp-backup.md / wp-setup.md
118
- +-- skills/ # 30 skill totali
121
+ +-- skills/ # 33 skill totali
119
122
  | +-- [OPERATIVE - 5 skill]
120
123
  | +-- wp-deploy/ # Procedure deploy
121
124
  | +-- wp-audit/ # Checklist audit
@@ -125,7 +128,7 @@ wordpress-manager/ # v2.2.0
125
128
  | +-- [AMBIENTE LOCALE - 1 skill]
126
129
  | +-- wp-local-env/ # Studio/LocalWP/wp-env
127
130
  | +-- [SVILUPPO - 13 skill da WordPress/agent-skills]
128
- | +-- wordpress-router/ # Router unificato v9 (dev + local + ops + multisite + cicd + monitoring + webhooks + repurposing)
131
+ | +-- wordpress-router/ # Router unificato v10 (dev + local + ops + multisite + cicd + monitoring + webhooks + repurposing + pseo + attribution + multilang)
129
132
  | +-- wp-project-triage/ # Auto-detect tipo progetto
130
133
  | +-- wp-block-development/ # Blocchi Gutenberg
131
134
  | +-- wp-block-themes/ # Temi a blocchi
@@ -151,6 +154,10 @@ wordpress-manager/ # v2.2.0
151
154
  | +-- wp-monitoring/ # Site monitoring, fleet monitoring e observability (v2.1.0-v2.2.0)
152
155
  | +-- wp-content-repurposing/ # Content repurposing multi-canale (v2.2.0)
153
156
  | +-- wp-webhooks/ # Webhook propagation e integrazioni (v2.2.0)
157
+ | +-- [STRATEGIA + SEO INTERNAZIONALE - 3 skill]
158
+ | +-- wp-programmatic-seo/ # SEO programmatico scalabile (v2.3.0)
159
+ | +-- wp-content-attribution/ # Attribuzione content-to-commerce (v2.3.0)
160
+ | +-- wp-multilang-network/ # Rete multilingua su multisite (v2.3.0)
154
161
  +-- hooks/ # 7 hook di sicurezza
155
162
  | +-- hooks.json # 5 prompt + 2 command
156
163
  | +-- scripts/ # Script per hook command-type
@@ -337,6 +344,9 @@ WordPress Manager comprende richieste in linguaggio naturale. Ecco come formular
337
344
  | Fleet monitoring | "Monitora tutti i siti" / "Fleet health" / "Cross-site comparison" |
338
345
  | Riproporre contenuti | "Riproponi il post per social" / "Newsletter dal blog" / "Atomizza contenuto" |
339
346
  | Gestire webhook | "Configura webhook" / "Notifica Zapier" / "WooCommerce webhook" |
347
+ | SEO programmatico | "Genera city pages" / "Template pages" / "Pagine da dati" / "Programmatic SEO" |
348
+ | Attribuzione contenuti | "Quale contenuto genera vendite?" / "UTM tracking" / "Content ROI" / "Revenue per post" |
349
+ | Rete multilingua | "Sito multilingua" / "Hreflang" / "International SEO" / "Sub-site per lingua" |
340
350
 
341
351
  ---
342
352
 
@@ -572,7 +582,9 @@ IDEAZIONE -> BOZZA -> REVISIONE -> OTTIMIZZAZIONE -> PUBBLICAZIONE -> MONITORAGG
572
582
 
573
583
  **Content repurposing** (v2.2.0): Trasforma contenuti WordPress in output multi-canale — social media post (Twitter/LinkedIn/Instagram/Facebook), email newsletter, drip sequence. Usa la skill `wp-content-repurposing` per template e regole per piattaforma.
574
584
 
575
- **Skill correlata**: `wp-content`, `wp-i18n`, `wp-content-repurposing`
585
+ **Programmatic SEO** (v2.3.0): Guida la generazione scalabile di pagine da dati strutturati — city pages, product variants, comparison pages, directory listings. Workflow: assess data source → design URL pattern → create CPT → build template → generate in bulk → configure ISR/SSG → submit sitemap. Usa la skill `wp-programmatic-seo`.
586
+
587
+ **Skill correlata**: `wp-content`, `wp-i18n`, `wp-content-repurposing`, `wp-programmatic-seo`
576
588
 
577
589
  ---
578
590
 
@@ -745,7 +757,9 @@ Complementa `wp-security-auditor`: l'auditor **trova** i problemi, l'hardener **
745
757
 
746
758
  **Prerequisiti**: WooCommerce attivo + Consumer Key/Secret configurati in `WP_SITES_CONFIG` (generare da WooCommerce > Settings > Advanced > REST API).
747
759
 
748
- **Skill correlata**: `wp-woocommerce`, `wp-webhooks`
760
+ **Content Attribution** (v2.3.0): Misura quale contenuto WordPress genera conversioni WooCommerce. Workflow: verifica WooCommerce + contenuti → check UTM tracking (guida setup mu-plugin) → pull sales data → pull content data → correla con attribution model → genera report con top converting content. Usa la skill `wp-content-attribution`.
761
+
762
+ **Skill correlata**: `wp-woocommerce`, `wp-webhooks`, `wp-content-attribution`
749
763
 
750
764
  ---
751
765
 
@@ -873,10 +887,11 @@ Le skill di sviluppo provengono da due fonti:
873
887
  - **13 skill community** integrate dal repository [WordPress/agent-skills](https://github.com/WordPress/agent-skills) (licenza GPL-2.0-or-later). Coprono blocchi, temi, plugin, endpoint REST, analisi statica, profiling e altro.
874
888
  - **5 skill estese** (MIT) aggiunte in v1.6.0: testing, security, internazionalizzazione, accessibilita, headless.
875
889
  - **6 skill e-commerce + infrastruttura** (MIT) aggiunte in v1.8.0-v2.2.0: WooCommerce, Multisite, CI/CD, Monitoring, Content Repurposing, Webhooks.
890
+ - **3 skill strategia + SEO internazionale** (MIT) aggiunte in v2.3.0: Programmatic SEO, Content-Commerce Attribution, Multi-Language Network.
876
891
 
877
892
  ### Il Router Unificato
878
893
 
879
- La skill `wordpress-router` (v9) e il punto d'ingresso per tutti i task WordPress. Classifica automaticamente il task in **otto categorie**: sviluppo, ambiente locale, operativo, multisite, CI/CD, monitoring, content repurposing, webhook.
894
+ La skill `wordpress-router` (v10) e il punto d'ingresso per tutti i task WordPress. Classifica automaticamente il task in **undici categorie**: sviluppo, ambiente locale, operativo, multisite, CI/CD, monitoring, content repurposing, webhook, programmatic SEO, content attribution, multi-language network.
880
895
 
881
896
  ```
882
897
  Utente: "Crea un blocco custom per la gallery"
@@ -952,6 +967,30 @@ wordpress-router: TASK = operativo (webhook)
952
967
  wp-webhooks skill + wp-site-manager agent
953
968
  ```
954
969
 
970
+ ```
971
+ Utente: "Genera 200 city pages per il nostro servizio idraulico"
972
+ |
973
+ wordpress-router: TASK = operativo (programmatic SEO)
974
+ |
975
+ wp-programmatic-seo skill + wp-content-strategist agent
976
+ ```
977
+
978
+ ```
979
+ Utente: "Quali post del blog generano piu vendite WooCommerce?"
980
+ |
981
+ wordpress-router: TASK = operativo (content attribution)
982
+ |
983
+ wp-content-attribution skill + wp-ecommerce-manager agent
984
+ ```
985
+
986
+ ```
987
+ Utente: "Configura versioni italiano e spagnolo del nostro sito"
988
+ |
989
+ wordpress-router: TASK = operativo (multi-language network)
990
+ |
991
+ wp-multilang-network skill + wp-site-manager agent
992
+ ```
993
+
955
994
  ### Panoramica Skills di Sviluppo — Community (13)
956
995
 
957
996
  | Skill | Si attiva quando... | Risorse |
@@ -997,9 +1036,19 @@ Aggiunte in v1.8.0-v2.2.0, queste skill coprono e-commerce, multisite, CI/CD, mo
997
1036
  | `wp-content-repurposing` | "riproponi contenuto", "social dal blog", "newsletter dai post", "atomizza" | 4 reference files, repurposing_inspect.mjs | `wp-content-strategist` |
998
1037
  | `wp-webhooks` | "webhook", "notifica esterna", "Zapier", "WooCommerce webhook" | 5 reference files, webhook_inspect.mjs | `wp-site-manager` |
999
1038
 
1039
+ ### Panoramica Skills Strategia + SEO Internazionale (3)
1040
+
1041
+ Aggiunte in v2.3.0, queste skill coprono SEO programmatico, attribuzione content-to-commerce e rete multilingua su Multisite.
1042
+
1043
+ | Skill | Si attiva quando... | Risorse | Agent dedicato |
1044
+ |-------|---------------------|---------|----------------|
1045
+ | `wp-programmatic-seo` | "template pages", "city pages", "programmatic SEO", "bulk page generation" | 5 reference files, programmatic_seo_inspect.mjs | `wp-content-strategist` |
1046
+ | `wp-content-attribution` | "content ROI", "UTM tracking", "revenue per post", "quale contenuto genera vendite" | 5 reference files, attribution_inspect.mjs | `wp-ecommerce-manager` |
1047
+ | `wp-multilang-network` | "multilingua", "hreflang", "international SEO", "sub-site per lingua", "translate site" | 5 reference files, multilang_inspect.mjs | `wp-site-manager` |
1048
+
1000
1049
  ### Script di Rilevamento Automatico
1001
1050
 
1002
- Le skill includono 18 script Node.js (`.mjs`) che eseguono analisi automatica del progetto:
1051
+ Le skill includono 21 script Node.js (`.mjs`) che eseguono analisi automatica del progetto:
1003
1052
 
1004
1053
  | Script | Cosa rileva |
1005
1054
  |--------|-------------|
@@ -1021,6 +1070,9 @@ Le skill includono 18 script Node.js (`.mjs`) che eseguono analisi automatica de
1021
1070
  | `monitoring_inspect.mjs` | Uptime tools, Lighthouse CI, security plugins, logging config, fleet config (v2.1.0-v2.2.0) |
1022
1071
  | `repurposing_inspect.mjs` | Social plugins, email plugins, content volume, repurposing readiness (v2.2.0) |
1023
1072
  | `webhook_inspect.mjs` | WC webhooks, mu-plugin webhooks, webhook plugins, wp-config constants (v2.2.0) |
1073
+ | `programmatic_seo_inspect.mjs` | Headless frontend, SEO plugin, content counts, CPT, WPGraphQL, readiness (v2.3.0) |
1074
+ | `attribution_inspect.mjs` | WooCommerce, analytics plugin, UTM tracking, content/product volume, order meta (v2.3.0) |
1075
+ | `multilang_inspect.mjs` | Multisite, multilingual plugin, language patterns, hreflang tags, WPLANG (v2.3.0) |
1024
1076
 
1025
1077
  ### WordPress Playground — Ambienti Disposable
1026
1078
 
@@ -1055,7 +1107,7 @@ Senza il server MCP, la skill usa conoscenza generale di `@wordpress/components`
1055
1107
  ```
1056
1108
  1. cd mio-progetto-wordpress/
1057
1109
  2. Claude esegue wp-project-triage → rileva "wp-block-plugin"
1058
- 3. wordpress-router v9 → instrada a wp-block-development
1110
+ 3. wordpress-router v10 → instrada a wp-block-development
1059
1111
  4. Claude guida la creazione con block.json, edit.js, save.js
1060
1112
  5. wp-e2e-testing + wp-test-engineer → esegue test E2E con Playwright
1061
1113
  6. wp-accessibility + wp-accessibility-auditor → verifica WCAG 2.2
@@ -1563,6 +1615,55 @@ Claude (attiva skill wp-multisite):
1563
1615
  -> Report: network configurato con 3 sub-site attivi
1564
1616
  ```
1565
1617
 
1618
+ ### Scenario 20: SEO Programmatico — City Pages
1619
+
1620
+ ```
1621
+ Tu: "Genera 200 city pages per il nostro servizio idraulico con schema LocalBusiness"
1622
+
1623
+ Claude (attiva wp-content-strategist + skill wp-programmatic-seo):
1624
+ 1. Detection con programmatic_seo_inspect.mjs (headless frontend? SEO plugin? CPT?)
1625
+ 2. Progetta URL pattern: /idraulico/{citta} (es. /idraulico/roma, /idraulico/milano)
1626
+ 3. Crea CPT "location" in WordPress con campi: citta, regione, telefono, indirizzo
1627
+ 4. Definisce template pagina: H1 dinamico, meta description, contenuto localizzato
1628
+ 5. Genera 200 pagine in bulk via create_content MCP tool
1629
+ 6. Configura ISR su frontend headless (Next.js revalidate: 86400)
1630
+ 7. Genera sitemap XML e submette a Search Console
1631
+ -> Report: 200 city pages create, sitemap generato, ISR configurato
1632
+ ```
1633
+
1634
+ ### Scenario 21: Attribuzione Content-Commerce
1635
+
1636
+ ```
1637
+ Tu: "Quali post del blog generano piu vendite nel mio store WooCommerce?"
1638
+
1639
+ Claude (attiva wp-ecommerce-manager + skill wp-content-attribution):
1640
+ 1. Detection con attribution_inspect.mjs (WooCommerce? UTM tracking? Analytics?)
1641
+ 2. Se UTM tracking assente: guida installazione mu-plugin per cattura UTM → order meta
1642
+ 3. Pull dati vendite: wc_get_sales_report per ultimo trimestre
1643
+ 4. Pull dati contenuti: list_content per stesso periodo
1644
+ 5. Correla ordini con source UTM → identifica top converting content
1645
+ 6. Applica attribution model (last-touch default)
1646
+ 7. Calcola ROI per post: revenue attribuita / costo produzione contenuto
1647
+ -> Report: top 10 post per revenue, CAC per tipo contenuto, raccomandazioni
1648
+ ```
1649
+
1650
+ ### Scenario 22: Rete Multilingua su Multisite
1651
+
1652
+ ```
1653
+ Tu: "Configura versioni italiano e spagnolo del nostro sito WordPress"
1654
+
1655
+ Claude (attiva wp-site-manager + skill wp-multilang-network):
1656
+ 1. Detection con multilang_inspect.mjs (multisite? plugin multilingua?)
1657
+ 2. Se non multisite: guida conversione single → multisite
1658
+ 3. Crea sub-site "it" con ms_create_site (italiano, sito principale)
1659
+ 4. Crea sub-site "es" con ms_create_site (spagnolo)
1660
+ 5. Installa e configura plugin multilingua (Polylang/MultilingualPress)
1661
+ 6. Configura hreflang automatico via mu-plugin (slug-based matching)
1662
+ 7. Setup language switcher e routing per lingua
1663
+ 8. Verifica con checklist SEO internazionale (GSC properties, sitemaps per lingua)
1664
+ -> Report: network multilingua configurato, hreflang attivo, SEO verificato
1665
+ ```
1666
+
1566
1667
  ---
1567
1668
 
1568
1669
  ## 14. Amministrazione Avanzata
@@ -1831,8 +1932,23 @@ bash ~/.claude/plugins/local/wordpress-manager/scripts/validate-wp-operation.sh
1831
1932
  | **Webhook** | Notifica HTTP outbound inviata automaticamente da WordPress quando si verifica un evento (es. ordine creato) |
1832
1933
  | **HMAC-SHA256** | Algoritmo di firma usato per autenticare webhook — il receiver verifica l'integrita del payload |
1833
1934
  | **mu-plugin** | Must-Use Plugin WordPress — plugin caricato automaticamente senza attivazione, usato per webhook core |
1935
+ | **Programmatic SEO** | Generazione sistematica di pagine search-optimized da dati strutturati (city pages, product variants, directory) |
1936
+ | **ISR (Incremental Static Regeneration)** | Rigenerazione incrementale di pagine statiche — aggiorna singole pagine senza rebuild completo |
1937
+ | **SSG (Static Site Generation)** | Generazione statica di tutte le pagine al build time — massima performance, dati non real-time |
1938
+ | **CPT (Custom Post Type)** | Tipo di contenuto personalizzato in WordPress, usato come data source per pagine programmatiche |
1939
+ | **Content Attribution** | Misurazione di quale contenuto WordPress genera conversioni e-commerce (vendite WooCommerce) |
1940
+ | **UTM Parameters** | Tag URL (utm_source, utm_medium, utm_campaign) per tracciare la provenienza del traffico |
1941
+ | **First-Touch Attribution** | Modello che attribuisce il 100% del credito al primo contenuto con cui l'utente ha interagito |
1942
+ | **Last-Touch Attribution** | Modello che attribuisce il 100% del credito all'ultimo contenuto prima dell'acquisto |
1943
+ | **CAC (Customer Acquisition Cost)** | Costo di acquisizione cliente — quanto costa in contenuto acquisire un nuovo cliente |
1944
+ | **LTV (Lifetime Value)** | Valore nel tempo di un cliente — revenue totale generata nel ciclo di vita |
1945
+ | **Multi-Language Network** | Architettura WordPress Multisite dove ogni sub-site serve una lingua diversa |
1946
+ | **hreflang** | Tag HTML che indica la lingua e la regione di una pagina, usato per SEO internazionale |
1947
+ | **x-default** | Valore hreflang speciale che indica la pagina fallback per utenti senza match di lingua |
1948
+ | **Content Sync** | Sincronizzazione di contenuti tra sub-site di lingua diversa in un network multilingua |
1949
+ | **MultilingualPress** | Plugin WordPress nativo per multisite multilingua — connessioni tra contenuti cross-site |
1834
1950
 
1835
1951
  ---
1836
1952
 
1837
- *Guida v2.2.0 - WordPress Manager Plugin per Claude Code*
1953
+ *Guida v2.3.0 - WordPress Manager Plugin per Claude Code*
1838
1954
  *Ultimo aggiornamento: 2026-02-28*
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "claude-plugin-wordpress-manager",
3
- "version": "2.2.1",
4
- "description": "Unified WordPress management and development plugin for Claude Code. Orchestrates Hostinger MCP, WP REST API bridge (85 tools incl. 30 WooCommerce + 10 Multisite + 4 Webhooks), and WordPress.com MCP with 30 skills, 11 agents, and security hooks. v2.2.0 adds fleet monitoring, content repurposing skill, and webhook propagation (WooCommerce webhook MCP tools + mu-plugin patterns).",
3
+ "version": "2.3.1",
4
+ "description": "Unified WordPress management and development plugin for Claude Code. Orchestrates Hostinger MCP, WP REST API bridge (85 tools incl. 30 WooCommerce + 10 Multisite + 4 Webhooks), and WordPress.com MCP with 33 skills, 11 agents, and security hooks. v2.3.0 adds programmatic SEO, content-commerce attribution, and multi-language network skills.",
5
5
  "author": {
6
6
  "name": "vinmor",
7
7
  "email": "morreale.v@gmail.com"
@@ -36,7 +36,12 @@
36
36
  "health-check",
37
37
  "webhook",
38
38
  "content-repurposing",
39
- "fleet-monitoring"
39
+ "fleet-monitoring",
40
+ "programmatic-seo",
41
+ "attribution",
42
+ "multilingual",
43
+ "hreflang",
44
+ "international-seo"
40
45
  ],
41
46
  "repository": {
42
47
  "type": "git",
@@ -1,4 +1,4 @@
1
- # Router decision tree (v9 — development + local environment + operations + multisite + CI/CD + monitoring + webhooks + content repurposing)
1
+ # Router decision tree (v10 — development + local environment + operations + multisite + CI/CD + monitoring + webhooks + content repurposing + programmatic SEO + content attribution + multi-language network)
2
2
 
3
3
  This routing guide covers WordPress **development**, **local environment**, and **operations** workflows.
4
4
 
@@ -14,7 +14,7 @@ Keywords that indicate **local environment**:
14
14
  local site, Studio, LocalWP, Local by Flywheel, wp-env, local WordPress, start site, stop site, create local site, local development, symlink plugin, local database, switch PHP version, localhost, local preview, detect environment, WASM, SQLite local
15
15
 
16
16
  Keywords that indicate **operations**:
17
- deploy, push to production, audit, security check, backup, restore, migrate, move site, create post, manage content, site status, check plugins, performance check, SEO audit, WooCommerce, prodotto, ordine, coupon, negozio, catalogo, inventario, vendite, carrello, multisite, network, sub-site, sub-sito, domain mapping, super admin, network activate, monitor, uptime, health report, trend, scansione periodica, alerting, performance baseline, fleet, all sites, network health, cross-site, webhook, outbound notification, event propagation, Zapier, content sync, repurpose content, social posts from blog, content atomization, newsletter from posts, content distribution
17
+ deploy, push to production, audit, security check, backup, restore, migrate, move site, create post, manage content, site status, check plugins, performance check, SEO audit, WooCommerce, prodotto, ordine, coupon, negozio, catalogo, inventario, vendite, carrello, multisite, network, sub-site, sub-sito, domain mapping, super admin, network activate, monitor, uptime, health report, trend, scansione periodica, alerting, performance baseline, fleet, all sites, network health, cross-site, webhook, outbound notification, event propagation, Zapier, content sync, repurpose content, social posts from blog, content atomization, newsletter from posts, content distribution, programmatic SEO, template pages, city pages, location pages, bulk page generation, scalable landing pages, content ROI, attribution, which content drives sales, conversion tracking, UTM tracking, revenue per post, multilingual, multi-language, hreflang, international SEO, translate site, language sites, localize content
18
18
 
19
19
  Keywords that indicate **development**:
20
20
  create block, block.json, theme.json, register_rest_route, plugin development, hooks, PHPStan, build, test, scaffold, i18n, translation, accessibility, a11y, headless, decoupled, WPGraphQL, CI, CD, pipeline, GitHub Actions, GitLab CI, deploy automatico, workflow, quality gate
@@ -98,6 +98,12 @@ Priority: `gutenberg` > `wp-core` > `wp-site` > `wp-block-theme` > `wp-block-plu
98
98
  → `wp-webhooks` skill + `wp-site-manager` agent
99
99
  - **Repurpose content / social posts from blog / newsletter from content / atomize / content distribution / turn blog into social**
100
100
  → `wp-content-repurposing` skill + `wp-content-strategist` agent
101
+ - **Programmatic SEO / template pages / city pages / bulk page generation / scalable landing pages / location-based SEO / product variant pages**
102
+ → `wp-programmatic-seo` skill + `wp-content-strategist` agent
103
+ - **Content attribution / ROI / conversion tracking / UTM / revenue per post / which content drives sales**
104
+ → `wp-content-attribution` skill + `wp-ecommerce-manager` agent
105
+ - **Multi-language / multilingual / hreflang / international SEO / language sites / translate network**
106
+ → `wp-multilang-network` skill + `wp-site-manager` agent
101
107
 
102
108
  ## Step 2c: route by local environment intent (keywords)
103
109
 
@@ -104,3 +104,4 @@ Tool: assign_terms_to_content — assign terms to content
104
104
 
105
105
  ### Related Skills
106
106
  - **`wp-content-repurposing`** — transform existing content for social media, email, and multi-channel distribution
107
+ - **`wp-content-attribution`** — measure which content drives WooCommerce sales (UTM tracking, attribution models, ROI)
@@ -0,0 +1,97 @@
1
+ ---
2
+ name: wp-content-attribution
3
+ description: |
4
+ This skill should be used when the user asks to "track content ROI",
5
+ "attribute sales to content", "measure content performance", "conversion tracking",
6
+ "UTM tracking setup", "which content drives sales", "content attribution",
7
+ "revenue per post", "customer acquisition source", "marketing attribution",
8
+ or mentions connecting WordPress content metrics with WooCommerce sales data.
9
+ version: 1.0.0
10
+ ---
11
+
12
+ ## Overview
13
+
14
+ Content-Commerce Attribution measures which WordPress content pieces drive WooCommerce conversions, enabling data-driven content strategy. By linking UTM-tracked traffic to order data, you can calculate ROI per content piece — answering "which blog posts actually generate revenue?"
15
+
16
+ This skill orchestrates existing MCP tools — WooCommerce reports, content CRUD, order management — into attribution workflows. No new tools or custom plugins are required; UTM capture uses lightweight mu-plugin patterns.
17
+
18
+ ## When to Use
19
+
20
+ - User has a WooCommerce store plus blog/content and wants to understand content ROI
21
+ - "Which of my blog posts are driving the most sales?"
22
+ - "How do I track which content leads to purchases?"
23
+ - "Set up UTM tracking for my WooCommerce store"
24
+ - "Calculate revenue per blog post"
25
+ - "Build a content attribution dashboard"
26
+ - "What's my customer acquisition cost by content type?"
27
+
28
+ ## Attribution vs Analytics
29
+
30
+ | Aspect | Attribution | Analytics |
31
+ |--------|------------|-----------|
32
+ | Measures | Contribution to conversion | Traffic and engagement |
33
+ | Answer | "This post generated $5,000 in revenue" | "This post got 10,000 visits" |
34
+ | Data source | Order meta + UTM params | Page views + sessions |
35
+ | Granularity | Revenue per content piece | Visitors per content piece |
36
+ | Action | Invest more in high-ROI content | Invest in high-traffic topics |
37
+
38
+ ## Prerequisites / Detection
39
+
40
+ ```bash
41
+ node skills/wp-content-attribution/scripts/attribution_inspect.mjs --cwd=/path/to/wordpress
42
+ ```
43
+
44
+ The script checks WooCommerce presence, analytics plugins, UTM tracking setup, content/product volume ratio, and existing order meta with source fields.
45
+
46
+ ## Content Attribution Operations Decision Tree
47
+
48
+ 1. **What attribution task?**
49
+
50
+ - "UTM tracking" / "campaign tracking" / "source tracking"
51
+ → **UTM Setup** — Read: `references/utm-tracking-setup.md`
52
+
53
+ - "conversion funnel" / "customer journey" / "touchpoints"
54
+ → **Funnel Analysis** — Read: `references/conversion-funnels.md`
55
+
56
+ - "attribution model" / "first touch" / "last touch" / "multi-touch"
57
+ → **Attribution Models** — Read: `references/attribution-models.md`
58
+
59
+ - "content ROI" / "revenue per post" / "cost per acquisition"
60
+ → **ROI Calculation** — Read: `references/roi-calculation.md`
61
+
62
+ - "dashboard" / "report" / "analytics setup"
63
+ → **Reporting** — Read: `references/reporting-dashboards.md`
64
+
65
+ 2. **Common workflow (first-time setup):**
66
+ 1. Verify WooCommerce + content setup (run `attribution_inspect.mjs`)
67
+ 2. Install UTM capture mu-plugin (see `utm-tracking-setup.md`)
68
+ 3. Tag internal links from content → product pages with UTM parameters
69
+ 4. Wait for data accumulation (minimum 2–4 weeks)
70
+ 5. Pull sales data: `wc_get_sales_report` for period
71
+ 6. Pull content data: `list_content` for same period
72
+ 7. Correlate: match order UTM sources with content pieces
73
+ 8. Apply attribution model (default: last-touch)
74
+ 9. Generate attribution report with top converting content
75
+
76
+ ## Recommended Agent
77
+
78
+ `wp-ecommerce-manager` — handles WooCommerce data, sales reports, and order analysis with attribution context.
79
+
80
+ ## Additional Resources
81
+
82
+ ### Reference Files
83
+
84
+ | File | Description |
85
+ |------|-------------|
86
+ | **`references/utm-tracking-setup.md`** | UTM parameter design, mu-plugin for capture, naming conventions |
87
+ | **`references/conversion-funnels.md`** | Funnel stages, drop-off analysis, cart abandonment metrics |
88
+ | **`references/attribution-models.md`** | First-touch, last-touch, linear, time-decay, position-based models |
89
+ | **`references/roi-calculation.md`** | Revenue per post, content ROI formula, CAC, LTV by source |
90
+ | **`references/reporting-dashboards.md`** | GA4 integration, MonsterInsights setup, dashboard KPIs |
91
+
92
+ ### Related Skills
93
+
94
+ - `wp-woocommerce` — WooCommerce store management and reporting tools
95
+ - `wp-content` — content management and editorial workflows
96
+ - `wp-monitoring` — ongoing site performance and health tracking
97
+ - `wp-content-repurposing` — transform high-ROI content into multi-channel formats