claude-plugin-wordpress-manager 2.4.0 → 2.9.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 (83) hide show
  1. package/.claude-plugin/plugin.json +10 -3
  2. package/CHANGELOG.md +103 -0
  3. package/agents/wp-content-strategist.md +104 -0
  4. package/agents/wp-monitoring-agent.md +44 -0
  5. package/agents/wp-site-manager.md +19 -0
  6. package/docs/GUIDE.md +183 -23
  7. package/docs/plans/2026-03-01-tier4-5-implementation.md +1783 -0
  8. package/docs/plans/2026-03-01-tier4-5-observability-automation-design.md +426 -0
  9. package/docs/plans/2026-03-01-wcop-reassessment-v2.6.0.md +403 -0
  10. package/hooks/hooks.json +9 -0
  11. package/package.json +19 -3
  12. package/servers/wp-rest-bridge/build/tools/comments.d.ts +6 -6
  13. package/servers/wp-rest-bridge/build/tools/cwv.d.ts +3 -0
  14. package/servers/wp-rest-bridge/build/tools/cwv.js +196 -0
  15. package/servers/wp-rest-bridge/build/tools/ga4.d.ts +3 -0
  16. package/servers/wp-rest-bridge/build/tools/ga4.js +323 -0
  17. package/servers/wp-rest-bridge/build/tools/gsc.d.ts +3 -0
  18. package/servers/wp-rest-bridge/build/tools/gsc.js +354 -0
  19. package/servers/wp-rest-bridge/build/tools/index.d.ts +38 -38
  20. package/servers/wp-rest-bridge/build/tools/index.js +18 -0
  21. package/servers/wp-rest-bridge/build/tools/media.d.ts +2 -2
  22. package/servers/wp-rest-bridge/build/tools/multisite-sites.d.ts +2 -2
  23. package/servers/wp-rest-bridge/build/tools/plausible.d.ts +3 -0
  24. package/servers/wp-rest-bridge/build/tools/plausible.js +207 -0
  25. package/servers/wp-rest-bridge/build/tools/plugin-repository.d.ts +1 -1
  26. package/servers/wp-rest-bridge/build/tools/search.d.ts +2 -2
  27. package/servers/wp-rest-bridge/build/tools/slack.d.ts +3 -0
  28. package/servers/wp-rest-bridge/build/tools/slack.js +129 -0
  29. package/servers/wp-rest-bridge/build/tools/unified-content.d.ts +8 -8
  30. package/servers/wp-rest-bridge/build/tools/unified-taxonomies.d.ts +4 -4
  31. package/servers/wp-rest-bridge/build/tools/users.d.ts +6 -6
  32. package/servers/wp-rest-bridge/build/tools/wc-coupons.d.ts +1 -1
  33. package/servers/wp-rest-bridge/build/tools/wc-customers.d.ts +3 -3
  34. package/servers/wp-rest-bridge/build/tools/wc-orders.d.ts +4 -4
  35. package/servers/wp-rest-bridge/build/tools/wc-products.d.ts +8 -8
  36. package/servers/wp-rest-bridge/build/tools/wc-webhooks.d.ts +4 -4
  37. package/servers/wp-rest-bridge/build/tools/wc-workflows.d.ts +3 -0
  38. package/servers/wp-rest-bridge/build/tools/wc-workflows.js +222 -0
  39. package/servers/wp-rest-bridge/build/wordpress.d.ts +23 -0
  40. package/servers/wp-rest-bridge/build/wordpress.js +178 -0
  41. package/servers/wp-rest-bridge/package.json +1 -0
  42. package/skills/wordpress-router/SKILL.md +1 -1
  43. package/skills/wordpress-router/references/decision-tree.md +12 -2
  44. package/skills/wp-alerting/SKILL.md +142 -0
  45. package/skills/wp-alerting/references/alert-thresholds.md +79 -0
  46. package/skills/wp-alerting/references/escalation-paths.md +92 -0
  47. package/skills/wp-alerting/references/report-scheduling.md +142 -0
  48. package/skills/wp-alerting/references/slack-integration.md +109 -0
  49. package/skills/wp-alerting/scripts/alerting_inspect.mjs +150 -0
  50. package/skills/wp-analytics/SKILL.md +158 -0
  51. package/skills/wp-analytics/references/analytics-dashboards.md +83 -0
  52. package/skills/wp-analytics/references/cwv-monitoring.md +101 -0
  53. package/skills/wp-analytics/references/ga4-integration.md +76 -0
  54. package/skills/wp-analytics/references/plausible-setup.md +92 -0
  55. package/skills/wp-analytics/references/traffic-attribution.md +92 -0
  56. package/skills/wp-analytics/scripts/analytics_inspect.mjs +153 -0
  57. package/skills/wp-content/SKILL.md +1 -0
  58. package/skills/wp-content-attribution/SKILL.md +3 -0
  59. package/skills/wp-content-optimization/SKILL.md +173 -0
  60. package/skills/wp-content-optimization/references/content-freshness.md +234 -0
  61. package/skills/wp-content-optimization/references/headline-optimization.md +171 -0
  62. package/skills/wp-content-optimization/references/meta-optimization.md +243 -0
  63. package/skills/wp-content-optimization/references/readability-analysis.md +201 -0
  64. package/skills/wp-content-optimization/references/seo-content-scoring.md +245 -0
  65. package/skills/wp-content-optimization/scripts/content_optimization_inspect.mjs +237 -0
  66. package/skills/wp-content-workflows/SKILL.md +142 -0
  67. package/skills/wp-content-workflows/references/content-lifecycle-hooks.md +131 -0
  68. package/skills/wp-content-workflows/references/multi-channel-actions.md +151 -0
  69. package/skills/wp-content-workflows/references/schedule-triggers.md +118 -0
  70. package/skills/wp-content-workflows/references/trigger-management.md +159 -0
  71. package/skills/wp-content-workflows/references/wp-action-hooks.md +114 -0
  72. package/skills/wp-content-workflows/scripts/workflow_inspect.mjs +202 -0
  73. package/skills/wp-monitoring/SKILL.md +3 -0
  74. package/skills/wp-programmatic-seo/SKILL.md +2 -0
  75. package/skills/wp-search-console/SKILL.md +122 -0
  76. package/skills/wp-search-console/references/competitor-gap-analysis.md +226 -0
  77. package/skills/wp-search-console/references/content-seo-feedback.md +181 -0
  78. package/skills/wp-search-console/references/gsc-setup.md +110 -0
  79. package/skills/wp-search-console/references/indexing-management.md +182 -0
  80. package/skills/wp-search-console/references/keyword-tracking.md +181 -0
  81. package/skills/wp-search-console/scripts/search_console_inspect.mjs +178 -0
  82. package/skills/wp-social-email/SKILL.md +1 -0
  83. package/skills/wp-webhooks/SKILL.md +1 -0
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "wordpress-manager",
3
- "version": "2.4.0",
4
- "description": "Unified WordPress management plugin for Claude Code. Orchestrates Hostinger MCP (infrastructure), WP REST API bridge (103 tools incl. WooCommerce + Multisite + Webhooks + Mailchimp + Buffer + SendGrid), and WordPress.com MCP (hosted sites) with 12 specialized agents, 34 skills, and security hooks. Includes social/email distribution (Mailchimp, Buffer, SendGrid), programmatic SEO, content-commerce attribution, multi-language network, fleet monitoring, content repurposing, webhook propagation, site monitoring, CI/CD pipeline automation, WordPress Multisite network management, WooCommerce store management, local dev environment support, development, testing, security, i18n, accessibility, headless, and operations.",
3
+ "version": "2.6.0",
4
+ "description": "Unified WordPress management plugin for Claude Code. Orchestrates Hostinger MCP (infrastructure), WP REST API bridge (111 tools incl. WooCommerce + Multisite + Webhooks + Mailchimp + Buffer + SendGrid + Google Search Console), and WordPress.com MCP (hosted sites) with 12 specialized agents, 36 skills, and security hooks. Includes AI content optimization (headline scoring, readability, SEO scoring, content triage), Google Search Console integration (keyword tracking, indexing, SEO feedback), social/email distribution (Mailchimp, Buffer, SendGrid), programmatic SEO, content-commerce attribution, multi-language network, fleet monitoring, content repurposing, webhook propagation, site monitoring, CI/CD pipeline automation, 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"
@@ -30,7 +30,14 @@
30
30
  "buffer",
31
31
  "sendgrid",
32
32
  "social-media",
33
- "email-marketing"
33
+ "email-marketing",
34
+ "google-search-console",
35
+ "gsc",
36
+ "keyword-tracking",
37
+ "seo-feedback",
38
+ "content-optimization",
39
+ "readability",
40
+ "headline-scoring"
34
41
  ],
35
42
  "mcpServers": "./.mcp.json"
36
43
  }
package/CHANGELOG.md CHANGED
@@ -2,6 +2,109 @@
2
2
 
3
3
  All notable changes to the WordPress Manager plugin for Claude Code.
4
4
 
5
+ ## [2.9.0] - 2026-03-01
6
+
7
+ ### Added — Automated Workflows (WCOP Tier 4+5 Complete)
8
+ - **wp-content-workflows skill** — workflow triggers for scheduled events, content lifecycle hooks, and WP action/filter hooks
9
+ - **4 new MCP tools**: `wf_list_triggers`, `wf_create_trigger`, `wf_update_trigger`, `wf_delete_trigger`
10
+ - **5 reference files**: schedule-triggers, content-lifecycle-hooks, wp-action-hooks, multi-channel-actions, trigger-management
11
+ - **Detection script**: `workflow_inspect.mjs` — detects action channels, automation plugins, custom REST endpoints, WP-Cron config
12
+ - **Safety hook**: PreToolUse confirmation for `wf_delete_trigger` (prevents accidental deletion of active workflows)
13
+
14
+ ### Changed
15
+ - **wp-site-manager agent**: added Workflow Automation Management section (6-step procedure), 4 Workflow MCP tools, wp-content-workflows in Related Skills
16
+ - **Router v16**: added 9 workflow keywords and `wp-content-workflows` route
17
+ - **Cross-references**: wp-webhooks → wp-content-workflows, wp-social-email → wp-content-workflows
18
+
19
+ ### Metrics
20
+ - Skills: 39 (+1) | MCP tools: 132 (+4) | Reference files: 192 (+5) | Detection scripts: 27 (+1) | Safety hooks: 5 (+1)
21
+
22
+ ### WCOP Score (Final)
23
+ | Layer | v2.6.0 | v2.9.0 |
24
+ |-------|--------|--------|
25
+ | Content Factory | 9/10 | 9/10 |
26
+ | Quality Assurance | 9/10 | 9/10 |
27
+ | Distribution | 8/10 | 8/10 |
28
+ | Observability | 7/10 | **9/10** |
29
+ | Automation | 7/10 | **9/10** |
30
+ | **Total** | **8/10** | **8.8/10** |
31
+
32
+ ## [2.8.0] - 2026-03-01
33
+
34
+ ### Added — Smart Alerting (WCOP Tier 4b)
35
+ - **wp-alerting skill** — severity-based alert routing via Slack and SendGrid
36
+ - **3 new MCP tools**: `slack_send_alert` (webhook), `slack_send_message` (Bot Token + Block Kit), `slack_list_channels`
37
+ - **4 reference files**: slack-integration, alert-thresholds, escalation-paths, report-scheduling
38
+ - **Detection script**: `alerting_inspect.mjs` — detects Slack, SendGrid, monitoring setup
39
+ - **SiteConfig extension**: `slack_webhook_url`, `slack_bot_token`, `slack_channel`
40
+
41
+ ### Changed
42
+ - **wp-monitoring-agent**: added Procedure 10 (Alert Dispatch — severity-based routing: info→Slack webhook, warning→Slack Bot + thread, critical→Slack + email), added Alerting MCP Tools section (3 Slack + 2 SendGrid)
43
+ - **Router v15**: added 13 alerting keywords and `wp-alerting` route
44
+ - **Cross-references**: wp-monitoring → wp-alerting + wp-analytics
45
+
46
+ ### Metrics
47
+ - Skills: 38 (+1) | MCP tools: 128 (+3) | Reference files: 187 (+4) | Detection scripts: 26 (+1)
48
+
49
+ ## [2.7.0] - 2026-03-01
50
+
51
+ ### Added — Analytics (WCOP Tier 4a)
52
+ - **wp-analytics skill** — unified analytics: GA4, Plausible, Core Web Vitals
53
+ - **14 new MCP tools**: 6 GA4 (`ga4_run_report`, `ga4_get_realtime`, `ga4_top_pages`, `ga4_traffic_sources`, `ga4_user_demographics`, `ga4_conversion_events`), 4 Plausible (`pl_get_stats`, `pl_get_timeseries`, `pl_get_breakdown`, `pl_get_realtime`), 4 CWV (`cwv_analyze_url`, `cwv_batch_analyze`, `cwv_get_field_data`, `cwv_compare_pages`)
54
+ - **5 reference files**: ga4-integration, plausible-setup, cwv-monitoring, analytics-dashboards, traffic-attribution
55
+ - **Detection script**: `analytics_inspect.mjs` — detects GA4, Plausible, Google API key config
56
+ - **SiteConfig extension**: `ga4_property_id`, `ga4_service_account_key`, `plausible_api_key`, `plausible_base_url`, `google_api_key`
57
+
58
+ ### Changed
59
+ - **wp-monitoring-agent**: added Procedure 8 (Analytics Monitoring) and Procedure 9 (CWV Trend Check) with 14 analytics MCP tools
60
+ - **Router v14**: added GA4, Plausible, CWV keywords and route
61
+ - **Cross-references**: wp-search-console, wp-content-attribution, wp-content-optimization → wp-analytics
62
+
63
+ ### Metrics
64
+ - Skills: 37 (+1) | MCP tools: 125 (+14) | Reference files: 183 (+5) | Detection scripts: 25 (+1)
65
+
66
+ ## [2.6.0] - 2026-03-01
67
+
68
+ ### Added
69
+ - **Content Optimization skill** (`wp-content-optimization`) — AI-driven content quality optimization using Claude's linguistic analysis
70
+ - 6 procedures: Headline Analysis, Readability Analysis, SEO Content Scoring, Meta Description Optimization, Content Freshness Audit, Bulk Content Triage
71
+ - 5 reference files: `headline-optimization.md`, `readability-analysis.md`, `seo-content-scoring.md`, `meta-optimization.md`, `content-freshness.md`
72
+ - Detection script: `content_optimization_inspect.mjs` (content volume, age, SEO plugins, readability, GSC availability, WooCommerce)
73
+ - Bulk Content Triage classification: Quick Wins, Needs Rewrite, Performing, Archive
74
+ - **AI Content Optimization Workflow** in `wp-content-strategist` agent — 5-step content optimization pipeline with bulk triage
75
+
76
+ ### Changed
77
+ - Router decision-tree.md upgraded to v13 with content optimization keywords and routing
78
+ - Cross-references added: `wp-content` → wp-content-optimization, `wp-search-console` → wp-content-optimization, `wp-content-attribution` → wp-content-optimization, `wp-programmatic-seo` → wp-content-optimization
79
+ - Plugin now has 36 skills, 12 agents, and 111 MCP tools — **Tier 3 WCOP complete**
80
+
81
+ ### WCOP Score
82
+ | Layer | v2.3.1 | v2.6.0 |
83
+ |-------|--------|--------|
84
+ | Content Factory | 9/10 | 9/10 |
85
+ | Quality Assurance | 8/10 | 9/10 |
86
+ | Distribution | 4/10 | **8/10** |
87
+ | Observability | 5/10 | **7/10** |
88
+ | Automation | 4/10 | **7/10** |
89
+ | **Total** | **6/10** | **8/10** |
90
+
91
+ ## [2.5.0] - 2026-03-01
92
+
93
+ ### Added
94
+ - **Google Search Console skill** (`wp-search-console`) — keyword tracking, indexing management, SEO feedback loops
95
+ - 5 reference files: `gsc-setup.md`, `keyword-tracking.md`, `indexing-management.md`, `content-seo-feedback.md`, `competitor-gap-analysis.md`
96
+ - Detection script: `search_console_inspect.mjs` (GSC config, sitemaps, robots.txt, SEO plugins)
97
+ - **8 new GSC MCP tools** via WP REST Bridge:
98
+ - `gsc_list_sites`, `gsc_search_analytics`, `gsc_inspect_url`, `gsc_list_sitemaps`, `gsc_submit_sitemap`, `gsc_delete_sitemap`, `gsc_top_queries`, `gsc_page_performance`
99
+ - **SEO Feedback Loop** procedure in `wp-content-strategist` agent — GSC-driven content optimization (6-step workflow)
100
+ - SiteConfig extended with `gsc_service_account_key`, `gsc_site_url`
101
+ - `googleapis` npm dependency for Google Search Console API access
102
+
103
+ ### Changed
104
+ - Router decision-tree.md upgraded to v12 with GSC keywords and routing
105
+ - Cross-references added: `wp-programmatic-seo` → wp-search-console, `wp-content-attribution` → wp-search-console, `wp-monitoring` → wp-search-console
106
+ - Plugin now has 35 skills, 12 agents, and 111 MCP tools (103 → 111)
107
+
5
108
  ## [2.4.0] - 2026-03-01
6
109
 
7
110
  ### Added
@@ -38,6 +38,20 @@ description: |
38
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
39
  <commentary>Programmatic SEO at scale requires structured data, URL design, and bulk content creation via REST API.</commentary>
40
40
  </example>
41
+
42
+ <example>
43
+ Context: User wants to optimize content based on Google Search Console data.
44
+ user: "Use GSC data to find pages that need SEO improvements"
45
+ assistant: "I'll use the wp-content-strategist agent to run the SEO Feedback Loop — fetching search analytics, identifying high-impression/low-CTR opportunities, and suggesting title/meta optimizations."
46
+ <commentary>GSC-driven content optimization combines search analytics with content editing for measurable SEO gains.</commentary>
47
+ </example>
48
+
49
+ <example>
50
+ Context: User wants to run a bulk content optimization audit.
51
+ user: "Audit all my blog posts and tell me which ones need improvement"
52
+ assistant: "I'll use the wp-content-strategist agent to run the Content Optimization Pipeline — fetching all published content, analyzing headlines, readability, and SEO scores, then classifying into quick wins, needs rewrite, and archive."
53
+ <commentary>Bulk content triage combines Claude's linguistic analysis with GSC data for data-driven content prioritization.</commentary>
54
+ </example>
41
55
  model: inherit
42
56
  tools: Read, Grep, Glob, Bash, WebFetch, WebSearch
43
57
  ---
@@ -200,6 +214,94 @@ When generating large-scale pages from structured data (city pages, product vari
200
214
 
201
215
  See the `wp-programmatic-seo` skill for reference files on template architecture, location SEO, product SEO, data sources, and technical SEO.
202
216
 
217
+ ## SEO Feedback Loop (GSC)
218
+
219
+ When using Google Search Console data to optimize existing content:
220
+
221
+ ### Procedure: GSC-Driven Content Optimization
222
+
223
+ 1. **Fetch top queries** from `gsc_search_analytics` (last 28 days, dimensions: `query`, `page`)
224
+ 2. **Identify opportunities**: high impression / low CTR keywords (impressions > 100, CTR < 3%)
225
+ 3. **Fetch corresponding content** via `list_content` matching the page URLs from step 1
226
+ 4. **Analyze alignment**: Is the title/meta description aligned with the top search queries for that page?
227
+ 5. **Suggest optimizations**: Update title tag, meta description, H1, and first paragraph to better match high-impression queries
228
+ 6. **Re-measure**: After 2-4 weeks, re-run `gsc_search_analytics` to compare CTR before/after
229
+
230
+ ### Quick Wins Identification
231
+
232
+ Use `gsc_top_queries` to find striking distance keywords (positions 4-20):
233
+
234
+ ```
235
+ Tool: gsc_top_queries
236
+ Params:
237
+ start_date: "2026-02-01"
238
+ end_date: "2026-02-28"
239
+ row_limit: 50
240
+ ```
241
+
242
+ Filter results for:
243
+ - **High impression, low CTR** → title/meta description needs improvement
244
+ - **Position 4-10** → close to page 1 top, small content improvements can boost rankings
245
+ - **Position 11-20** → striking distance, may need content expansion or internal linking
246
+
247
+ ### Page Performance Audit
248
+
249
+ Use `gsc_page_performance` to identify underperforming pages:
250
+
251
+ ```
252
+ Tool: gsc_page_performance
253
+ Params:
254
+ start_date: "2026-02-01"
255
+ end_date: "2026-02-28"
256
+ row_limit: 100
257
+ ```
258
+
259
+ Compare against previous period to detect:
260
+ - **Declining clicks** → content may need refresh
261
+ - **Declining position** → competitors may have published better content
262
+ - **Rising impressions but flat clicks** → CTR optimization opportunity
263
+
264
+ See the `wp-search-console` skill for detailed reference files on keyword tracking, indexing management, content SEO feedback, and competitor gap analysis.
265
+
266
+ ## AI Content Optimization Workflow
267
+
268
+ When optimizing existing WordPress content using Claude's linguistic analysis:
269
+
270
+ ### Content Optimization Pipeline
271
+
272
+ 1. **Fetch published content** via `list_content` (status=published, ordered by date)
273
+ 2. **For each content piece:**
274
+ a. Fetch GSC data if available (`gsc_page_performance`) for traffic and CTR metrics
275
+ b. **Headline Analysis** — score 1-10, generate 3 optimized alternatives
276
+ c. **Readability Analysis** — compute Flesch-Kincaid score, flag long sentences and passive voice
277
+ d. **SEO Content Scoring** — check keyword density (target 1-2%), H2/H3 coverage, internal linking
278
+ 3. **Generate Optimization Report** ordered by potential impact (high traffic + low quality = highest priority)
279
+ 4. **For priority content**: suggest specific modifications (new headline, meta description, section rewrites)
280
+ 5. **If approved by user**: apply changes via `update_content` through WP REST Bridge
281
+
282
+ ### Bulk Content Triage
283
+
284
+ For large content libraries, classify each piece:
285
+
286
+ | Category | Criteria | Action |
287
+ |----------|---------|--------|
288
+ | **Quick Wins** | High traffic + low CTR, weak headline | Optimize title/meta only |
289
+ | **Needs Rewrite** | >12 months old, low readability, keyword off-target | Full content rewrite |
290
+ | **Performing** | High traffic + high CTR | Maintain, refresh publish date |
291
+ | **Archive** | Zero traffic >6 months, no ranking keywords | 301 redirect or noindex |
292
+
293
+ ### Optimization Procedures
294
+
295
+ Each procedure from `wp-content-optimization` skill:
296
+ - **Procedure 1 — Headline Analysis**: Title + target keyword → score 1-10, 3 alternatives
297
+ - **Procedure 2 — Readability Analysis**: Body content → Flesch-Kincaid score, suggestions
298
+ - **Procedure 3 — SEO Content Scoring**: Body + keyword + GSC data → density, H-tag gaps, linking gaps
299
+ - **Procedure 4 — Meta Description Optimization**: Current meta + GSC CTR → optimized meta, A/B variant
300
+ - **Procedure 5 — Content Freshness Audit**: Content list + dates → stale content, update priorities
301
+ - **Procedure 6 — Bulk Content Triage**: N contents + GSC data → classified list with actions
302
+
303
+ See the `wp-content-optimization` skill for reference files on headline formulas, readability scoring, SEO scoring criteria, meta optimization, and content freshness strategies.
304
+
203
305
  ## Multilingual Content
204
306
 
205
307
  When creating content for multilingual sites:
@@ -219,3 +321,5 @@ When creating content for multilingual sites:
219
321
  - **`wp-i18n` skill** — internationalization and localization procedures
220
322
  - **`wp-content-repurposing` skill** — content transformation for multi-channel distribution
221
323
  - **`wp-programmatic-seo` skill** — scalable page generation from structured data (city pages, product variants, comparison pages)
324
+ - **`wp-search-console` skill** — Google Search Console integration for keyword tracking, indexing, and SEO feedback loops
325
+ - **`wp-content-optimization` skill** — AI-driven content optimization: headline scoring, readability, SEO scoring, meta optimization, content freshness, bulk triage
@@ -54,6 +54,15 @@ You are a WordPress monitoring specialist. You perform comprehensive site health
54
54
  - **Hosting**: `hosting_listWebsites` — check hosting status and resources
55
55
  - **DNS**: `DNS_getDNSRecordsV1` — verify DNS records and email auth (SPF, DKIM, DMARC)
56
56
 
57
+ ### Analytics MCP Tools (`mcp__wp-rest-bridge__ga4_*`, `mcp__wp-rest-bridge__pl_*`, `mcp__wp-rest-bridge__cwv_*`)
58
+ - **GA4**: `ga4_run_report`, `ga4_get_realtime`, `ga4_top_pages`, `ga4_traffic_sources`, `ga4_user_demographics`, `ga4_conversion_events`
59
+ - **Plausible**: `pl_get_stats`, `pl_get_timeseries`, `pl_get_breakdown`, `pl_get_realtime`
60
+ - **CWV**: `cwv_analyze_url`, `cwv_batch_analyze`, `cwv_get_field_data`, `cwv_compare_pages`
61
+
62
+ ### Alerting MCP Tools (`mcp__wp-rest-bridge__slack_*`, `mcp__wp-rest-bridge__sg_*`)
63
+ - **Slack**: `slack_send_alert`, `slack_send_message`, `slack_list_channels`
64
+ - **SendGrid**: `sg_send_email`, `sg_send_template_email` (for critical severity email alerts)
65
+
57
66
  ### External Tools
58
67
  - **Bash**: Run health-check scripts, SSL checks, Lighthouse CLI, file integrity scans
59
68
  - **WebFetch**: Fetch PageSpeed Insights, check external URLs, verify sitemap
@@ -133,6 +142,39 @@ Run health assessments across all configured sites and generate a fleet-wide com
133
142
  - Common configuration drift from baselines
134
143
  5. **Generate fleet report** (see Fleet Report template below)
135
144
 
145
+ ### Procedure 8: Analytics Monitoring (Performance Dashboard)
146
+
147
+ 1. Fetch traffic data from GA4 (`ga4_top_pages`, `ga4_traffic_sources`) or Plausible (`pl_get_stats`, `pl_get_breakdown`)
148
+ 2. Fetch CWV for top pages (`cwv_batch_analyze`)
149
+ 3. Fetch keyword data from GSC (`gsc_top_queries`) if available
150
+ 4. Correlate: pages with high traffic + Poor CWV = optimization priority
151
+ 5. Generate Performance Dashboard Report
152
+ 6. If CWV Poor on top pages → recommend delegation to `wp-performance-optimizer`
153
+
154
+ ### Procedure 9: CWV Trend Check
155
+
156
+ 1. Run `cwv_analyze_url` on homepage and top landing pages
157
+ 2. Compare with CWV thresholds (Good: LCP<2.5s, INP<200ms, CLS<0.1)
158
+ 3. If available, fetch field data via `cwv_get_field_data` for real-user metrics
159
+ 4. Report status (Good/Needs Improvement/Poor) per metric
160
+ 5. If any metric is Poor → alert with specific pages and metrics
161
+
162
+ ### Procedure 10: Alert Dispatch (Severity-Based Routing)
163
+
164
+ Route monitoring findings to notification channels based on severity. See `wp-alerting` skill for full threshold and escalation configuration.
165
+
166
+ 1. **Classify severity** for each finding:
167
+ - **Info**: Plugin updates available, backup completed, minor metric changes
168
+ - **Warning**: LCP > 2.5s, error rate > 2%, disk > 80%, SSL < 30 days
169
+ - **Critical**: Site down, LCP > 4s, error rate > 5%, disk > 95%, security vulnerability
170
+ 2. **Dispatch by severity**:
171
+ - **Info** → `slack_send_alert` to general channel (simple text)
172
+ - **Warning** → `slack_send_message` with Block Kit formatting + threaded details
173
+ - **Critical** → `slack_send_message` with `<!channel>` mention + `sg_send_email` to alert recipients
174
+ 3. **Deduplication**: Check `{site}:{metric}:{severity}` key against cooldown window (info: 60m, warning: 30m, critical: 10m). Severity escalation bypasses cooldown.
175
+ 4. **Recovery**: When a metric returns to normal after an alert, send recovery notification to the same channel/thread.
176
+ 5. **Scheduled reports**: Use Procedure 8 output to generate daily/weekly health digests via Slack Block Kit.
177
+
136
178
  ## Report Generation
137
179
 
138
180
  After completing relevant procedures, generate a report following the templates in `references/reporting-templates.md`:
@@ -232,3 +274,5 @@ For issues found during monitoring:
232
274
  - **`wp-audit` skill** — one-time comprehensive audit (security + performance + SEO)
233
275
  - **`wp-security` skill** — security hardening procedures
234
276
  - **`wp-performance` skill** — backend profiling and optimization
277
+ - **`wp-analytics` skill** — analytics setup, traffic reports, CWV monitoring
278
+ - **`wp-alerting` skill** — alert thresholds, severity routing, Slack/email escalation, scheduled reports
@@ -52,6 +52,7 @@ Content and data management via WordPress REST API:
52
52
  - **Comments**: `list_comments`, `get_comment`, `create_comment`, `update_comment`, `delete_comment`
53
53
  - **Plugins**: `list_plugins`, `get_plugin`, `activate_plugin`, `deactivate_plugin`, `create_plugin`
54
54
  - **WP.org**: `search_plugin_repository`, `get_plugin_details`
55
+ - **Workflows**: `wf_list_triggers`, `wf_create_trigger`, `wf_update_trigger`, `wf_delete_trigger`
55
56
 
56
57
  ### 2. Hostinger MCP (`mcp__hostinger-mcp__*`)
57
58
  Infrastructure and hosting management:
@@ -148,11 +149,28 @@ When setting up or managing a multi-language WordPress Multisite network:
148
149
 
149
150
  See the `wp-multilang-network` skill for detailed reference files on network architecture, hreflang, content sync, language routing, and international SEO.
150
151
 
152
+ ### Workflow Automation Management
153
+
154
+ Manage automated workflow triggers that connect WordPress events to notification channels.
155
+
156
+ 1. **Detect existing workflows**: Run `node skills/wp-content-workflows/scripts/workflow_inspect.mjs` to assess current configuration
157
+ 2. **List triggers**: Use `wf_list_triggers` to see all configured workflows, filter by `status` or `type`
158
+ 3. **Create trigger**: Use `wf_create_trigger` with:
159
+ - `type`: `schedule` (cron-based), `hook` (WP action/filter), or `content` (post lifecycle)
160
+ - `conditions`: Trigger-specific conditions (cron interval, hook name, post status transition)
161
+ - `actions`: Array of notification actions (Slack, email, webhook) with templates and recipients
162
+ 4. **Update trigger**: Use `wf_update_trigger` to modify conditions, actions, or status (activate/deactivate)
163
+ 5. **Delete trigger**: Use `wf_delete_trigger` — requires user confirmation via safety hook
164
+ 6. **Test trigger**: Create with `status: "inactive"`, review configuration, then update to `status: "active"`
165
+
166
+ See the `wp-content-workflows` skill for reference files on schedule patterns, content lifecycle hooks, WP action hooks, multi-channel actions, and trigger management.
167
+
151
168
  ### Safety Rules
152
169
  - NEVER delete content without explicit user confirmation
153
170
  - NEVER deactivate plugins without listing dependencies first
154
171
  - NEVER modify published content status without confirmation
155
172
  - Always show a summary of changes before executing bulk operations
173
+ - NEVER delete workflow triggers without explicit user confirmation (safety hook enforced)
156
174
 
157
175
  ## Specialized Agents
158
176
 
@@ -176,3 +194,4 @@ For domain-specific tasks, delegate to specialized agents:
176
194
 
177
195
  - **`wp-multisite` skill** — multisite network management with 10 MCP tools
178
196
  - **`wp-multilang-network` skill** — multi-language network orchestration (hreflang, content sync, international SEO)
197
+ - **`wp-content-workflows` skill** — workflow triggers, scheduled events, content lifecycle automation