claude-plugin-wordpress-manager 2.6.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.
- package/CHANGELOG.md +61 -0
- package/agents/wp-monitoring-agent.md +44 -0
- package/agents/wp-site-manager.md +19 -0
- package/docs/plans/2026-03-01-tier4-5-implementation.md +1783 -0
- package/docs/plans/2026-03-01-tier4-5-observability-automation-design.md +426 -0
- package/docs/plans/2026-03-01-wcop-reassessment-v2.6.0.md +403 -0
- package/hooks/hooks.json +9 -0
- package/package.json +10 -3
- package/servers/wp-rest-bridge/build/tools/cwv.d.ts +3 -0
- package/servers/wp-rest-bridge/build/tools/cwv.js +196 -0
- package/servers/wp-rest-bridge/build/tools/ga4.d.ts +3 -0
- package/servers/wp-rest-bridge/build/tools/ga4.js +323 -0
- package/servers/wp-rest-bridge/build/tools/index.js +15 -0
- package/servers/wp-rest-bridge/build/tools/plausible.d.ts +3 -0
- package/servers/wp-rest-bridge/build/tools/plausible.js +207 -0
- package/servers/wp-rest-bridge/build/tools/slack.d.ts +3 -0
- package/servers/wp-rest-bridge/build/tools/slack.js +129 -0
- package/servers/wp-rest-bridge/build/tools/wc-workflows.d.ts +3 -0
- package/servers/wp-rest-bridge/build/tools/wc-workflows.js +222 -0
- package/servers/wp-rest-bridge/build/wordpress.d.ts +18 -0
- package/servers/wp-rest-bridge/build/wordpress.js +139 -0
- package/skills/wordpress-router/SKILL.md +1 -1
- package/skills/wordpress-router/references/decision-tree.md +8 -2
- package/skills/wp-alerting/SKILL.md +142 -0
- package/skills/wp-alerting/references/alert-thresholds.md +79 -0
- package/skills/wp-alerting/references/escalation-paths.md +92 -0
- package/skills/wp-alerting/references/report-scheduling.md +142 -0
- package/skills/wp-alerting/references/slack-integration.md +109 -0
- package/skills/wp-alerting/scripts/alerting_inspect.mjs +150 -0
- package/skills/wp-analytics/SKILL.md +158 -0
- package/skills/wp-analytics/references/analytics-dashboards.md +83 -0
- package/skills/wp-analytics/references/cwv-monitoring.md +101 -0
- package/skills/wp-analytics/references/ga4-integration.md +76 -0
- package/skills/wp-analytics/references/plausible-setup.md +92 -0
- package/skills/wp-analytics/references/traffic-attribution.md +92 -0
- package/skills/wp-analytics/scripts/analytics_inspect.mjs +153 -0
- package/skills/wp-content-attribution/SKILL.md +1 -0
- package/skills/wp-content-optimization/SKILL.md +1 -0
- package/skills/wp-content-workflows/SKILL.md +142 -0
- package/skills/wp-content-workflows/references/content-lifecycle-hooks.md +131 -0
- package/skills/wp-content-workflows/references/multi-channel-actions.md +151 -0
- package/skills/wp-content-workflows/references/schedule-triggers.md +118 -0
- package/skills/wp-content-workflows/references/trigger-management.md +159 -0
- package/skills/wp-content-workflows/references/wp-action-hooks.md +114 -0
- package/skills/wp-content-workflows/scripts/workflow_inspect.mjs +202 -0
- package/skills/wp-monitoring/SKILL.md +2 -0
- package/skills/wp-search-console/SKILL.md +1 -0
- package/skills/wp-social-email/SKILL.md +1 -0
- package/skills/wp-webhooks/SKILL.md +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,67 @@
|
|
|
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
|
+
|
|
5
66
|
## [2.6.0] - 2026-03-01
|
|
6
67
|
|
|
7
68
|
### Added
|
|
@@ -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
|