claude-plugin-wordpress-manager 2.3.1 → 2.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude-plugin/plugin.json +15 -3
- package/CHANGELOG.md +62 -0
- package/agents/wp-content-strategist.md +104 -0
- package/agents/wp-distribution-manager.md +98 -0
- package/docs/GUIDE.md +183 -23
- package/docs/plans/2026-03-01-tier3-wcop-design.md +373 -0
- package/docs/plans/2026-03-01-tier3-wcop-implementation.md +915 -0
- package/hooks/hooks.json +18 -0
- package/package.json +18 -3
- package/servers/wp-rest-bridge/build/tools/buffer.d.ts +3 -0
- package/servers/wp-rest-bridge/build/tools/buffer.js +205 -0
- package/servers/wp-rest-bridge/build/tools/comments.d.ts +6 -6
- package/servers/wp-rest-bridge/build/tools/gsc.d.ts +3 -0
- package/servers/wp-rest-bridge/build/tools/gsc.js +354 -0
- package/servers/wp-rest-bridge/build/tools/index.d.ts +38 -38
- package/servers/wp-rest-bridge/build/tools/index.js +12 -0
- package/servers/wp-rest-bridge/build/tools/mailchimp.d.ts +3 -0
- package/servers/wp-rest-bridge/build/tools/mailchimp.js +265 -0
- package/servers/wp-rest-bridge/build/tools/media.d.ts +2 -2
- package/servers/wp-rest-bridge/build/tools/multisite-sites.d.ts +2 -2
- package/servers/wp-rest-bridge/build/tools/plugin-repository.d.ts +1 -1
- package/servers/wp-rest-bridge/build/tools/search.d.ts +2 -2
- package/servers/wp-rest-bridge/build/tools/sendgrid.d.ts +3 -0
- package/servers/wp-rest-bridge/build/tools/sendgrid.js +255 -0
- package/servers/wp-rest-bridge/build/tools/unified-content.d.ts +8 -8
- package/servers/wp-rest-bridge/build/tools/unified-taxonomies.d.ts +4 -4
- package/servers/wp-rest-bridge/build/tools/users.d.ts +6 -6
- package/servers/wp-rest-bridge/build/tools/wc-coupons.d.ts +1 -1
- package/servers/wp-rest-bridge/build/tools/wc-customers.d.ts +3 -3
- package/servers/wp-rest-bridge/build/tools/wc-orders.d.ts +4 -4
- package/servers/wp-rest-bridge/build/tools/wc-products.d.ts +8 -8
- package/servers/wp-rest-bridge/build/tools/wc-webhooks.d.ts +4 -4
- package/servers/wp-rest-bridge/build/types.d.ts +122 -0
- package/servers/wp-rest-bridge/build/wordpress.d.ts +14 -0
- package/servers/wp-rest-bridge/build/wordpress.js +151 -0
- package/servers/wp-rest-bridge/package.json +1 -0
- package/skills/wordpress-router/references/decision-tree.md +8 -2
- package/skills/wp-content/SKILL.md +2 -0
- package/skills/wp-content-attribution/SKILL.md +2 -0
- package/skills/wp-content-optimization/SKILL.md +172 -0
- package/skills/wp-content-optimization/references/content-freshness.md +234 -0
- package/skills/wp-content-optimization/references/headline-optimization.md +171 -0
- package/skills/wp-content-optimization/references/meta-optimization.md +243 -0
- package/skills/wp-content-optimization/references/readability-analysis.md +201 -0
- package/skills/wp-content-optimization/references/seo-content-scoring.md +245 -0
- package/skills/wp-content-optimization/scripts/content_optimization_inspect.mjs +237 -0
- package/skills/wp-content-repurposing/SKILL.md +1 -0
- package/skills/wp-monitoring/SKILL.md +1 -0
- package/skills/wp-programmatic-seo/SKILL.md +2 -0
- package/skills/wp-search-console/SKILL.md +121 -0
- package/skills/wp-search-console/references/competitor-gap-analysis.md +226 -0
- package/skills/wp-search-console/references/content-seo-feedback.md +181 -0
- package/skills/wp-search-console/references/gsc-setup.md +110 -0
- package/skills/wp-search-console/references/indexing-management.md +182 -0
- package/skills/wp-search-console/references/keyword-tracking.md +181 -0
- package/skills/wp-search-console/scripts/search_console_inspect.mjs +178 -0
- package/skills/wp-social-email/SKILL.md +152 -0
- package/skills/wp-social-email/references/audience-segmentation.md +173 -0
- package/skills/wp-social-email/references/buffer-social-publishing.md +124 -0
- package/skills/wp-social-email/references/content-to-distribution.md +156 -0
- package/skills/wp-social-email/references/distribution-analytics.md +208 -0
- package/skills/wp-social-email/references/mailchimp-integration.md +145 -0
- package/skills/wp-social-email/references/sendgrid-transactional.md +165 -0
- package/skills/wp-social-email/scripts/distribution_inspect.mjs +165 -0
- package/skills/wp-webhooks/SKILL.md +1 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wordpress-manager",
|
|
3
|
-
"version": "2.
|
|
4
|
-
"description": "Unified WordPress management plugin for Claude Code. Orchestrates Hostinger MCP (infrastructure), WP REST API bridge (
|
|
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"
|
|
@@ -25,7 +25,19 @@
|
|
|
25
25
|
"ci-cd",
|
|
26
26
|
"github-actions",
|
|
27
27
|
"monitoring",
|
|
28
|
-
"uptime"
|
|
28
|
+
"uptime",
|
|
29
|
+
"mailchimp",
|
|
30
|
+
"buffer",
|
|
31
|
+
"sendgrid",
|
|
32
|
+
"social-media",
|
|
33
|
+
"email-marketing",
|
|
34
|
+
"google-search-console",
|
|
35
|
+
"gsc",
|
|
36
|
+
"keyword-tracking",
|
|
37
|
+
"seo-feedback",
|
|
38
|
+
"content-optimization",
|
|
39
|
+
"readability",
|
|
40
|
+
"headline-scoring"
|
|
29
41
|
],
|
|
30
42
|
"mcpServers": "./.mcp.json"
|
|
31
43
|
}
|
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,68 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to the WordPress Manager plugin for Claude Code.
|
|
4
4
|
|
|
5
|
+
## [2.6.0] - 2026-03-01
|
|
6
|
+
|
|
7
|
+
### Added
|
|
8
|
+
- **Content Optimization skill** (`wp-content-optimization`) — AI-driven content quality optimization using Claude's linguistic analysis
|
|
9
|
+
- 6 procedures: Headline Analysis, Readability Analysis, SEO Content Scoring, Meta Description Optimization, Content Freshness Audit, Bulk Content Triage
|
|
10
|
+
- 5 reference files: `headline-optimization.md`, `readability-analysis.md`, `seo-content-scoring.md`, `meta-optimization.md`, `content-freshness.md`
|
|
11
|
+
- Detection script: `content_optimization_inspect.mjs` (content volume, age, SEO plugins, readability, GSC availability, WooCommerce)
|
|
12
|
+
- Bulk Content Triage classification: Quick Wins, Needs Rewrite, Performing, Archive
|
|
13
|
+
- **AI Content Optimization Workflow** in `wp-content-strategist` agent — 5-step content optimization pipeline with bulk triage
|
|
14
|
+
|
|
15
|
+
### Changed
|
|
16
|
+
- Router decision-tree.md upgraded to v13 with content optimization keywords and routing
|
|
17
|
+
- 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
|
|
18
|
+
- Plugin now has 36 skills, 12 agents, and 111 MCP tools — **Tier 3 WCOP complete**
|
|
19
|
+
|
|
20
|
+
### WCOP Score
|
|
21
|
+
| Layer | v2.3.1 | v2.6.0 |
|
|
22
|
+
|-------|--------|--------|
|
|
23
|
+
| Content Factory | 9/10 | 9/10 |
|
|
24
|
+
| Quality Assurance | 8/10 | 9/10 |
|
|
25
|
+
| Distribution | 4/10 | **8/10** |
|
|
26
|
+
| Observability | 5/10 | **7/10** |
|
|
27
|
+
| Automation | 4/10 | **7/10** |
|
|
28
|
+
| **Total** | **6/10** | **8/10** |
|
|
29
|
+
|
|
30
|
+
## [2.5.0] - 2026-03-01
|
|
31
|
+
|
|
32
|
+
### Added
|
|
33
|
+
- **Google Search Console skill** (`wp-search-console`) — keyword tracking, indexing management, SEO feedback loops
|
|
34
|
+
- 5 reference files: `gsc-setup.md`, `keyword-tracking.md`, `indexing-management.md`, `content-seo-feedback.md`, `competitor-gap-analysis.md`
|
|
35
|
+
- Detection script: `search_console_inspect.mjs` (GSC config, sitemaps, robots.txt, SEO plugins)
|
|
36
|
+
- **8 new GSC MCP tools** via WP REST Bridge:
|
|
37
|
+
- `gsc_list_sites`, `gsc_search_analytics`, `gsc_inspect_url`, `gsc_list_sitemaps`, `gsc_submit_sitemap`, `gsc_delete_sitemap`, `gsc_top_queries`, `gsc_page_performance`
|
|
38
|
+
- **SEO Feedback Loop** procedure in `wp-content-strategist` agent — GSC-driven content optimization (6-step workflow)
|
|
39
|
+
- SiteConfig extended with `gsc_service_account_key`, `gsc_site_url`
|
|
40
|
+
- `googleapis` npm dependency for Google Search Console API access
|
|
41
|
+
|
|
42
|
+
### Changed
|
|
43
|
+
- Router decision-tree.md upgraded to v12 with GSC keywords and routing
|
|
44
|
+
- Cross-references added: `wp-programmatic-seo` → wp-search-console, `wp-content-attribution` → wp-search-console, `wp-monitoring` → wp-search-console
|
|
45
|
+
- Plugin now has 35 skills, 12 agents, and 111 MCP tools (103 → 111)
|
|
46
|
+
|
|
47
|
+
## [2.4.0] - 2026-03-01
|
|
48
|
+
|
|
49
|
+
### Added
|
|
50
|
+
- **Social/Email Distribution skill** (`wp-social-email`) — content distribution to Mailchimp, Buffer, and SendGrid
|
|
51
|
+
- 6 reference files: `mailchimp-integration.md`, `buffer-social-publishing.md`, `sendgrid-transactional.md`, `content-to-distribution.md`, `audience-segmentation.md`, `distribution-analytics.md`
|
|
52
|
+
- Detection script: `distribution_inspect.mjs` (WP_SITES_CONFIG keys, WP distribution plugins, content readiness)
|
|
53
|
+
- **18 new MCP tools** via WP REST Bridge:
|
|
54
|
+
- 7 Mailchimp tools: `mc_list_audiences`, `mc_get_audience_members`, `mc_create_campaign`, `mc_update_campaign_content`, `mc_send_campaign`, `mc_get_campaign_report`, `mc_add_subscriber`
|
|
55
|
+
- 5 Buffer tools: `buf_list_profiles`, `buf_create_update`, `buf_list_pending`, `buf_list_sent`, `buf_get_analytics`
|
|
56
|
+
- 6 SendGrid tools: `sg_send_email`, `sg_list_templates`, `sg_get_template`, `sg_list_contacts`, `sg_add_contacts`, `sg_get_stats`
|
|
57
|
+
- **wp-distribution-manager agent** (indigo) — 5 procedures: detect services, fetch WP content, format for channel, publish/schedule, track analytics
|
|
58
|
+
- **2 safety hooks**: PreToolUse confirmation for `mc_send_campaign` and `sg_send_email`
|
|
59
|
+
- TypeScript types: `MCMailchimpAudience`, `MCCampaign`, `MCCampaignReport`, `BufProfile`, `BufUpdate`, `SGEmailRequest`, `SGTemplate`, `SGStats`
|
|
60
|
+
- SiteConfig extended with `mailchimp_api_key`, `buffer_access_token`, `sendgrid_api_key`
|
|
61
|
+
|
|
62
|
+
### Changed
|
|
63
|
+
- Router decision-tree.md upgraded to v11 with social/email distribution keywords and routing
|
|
64
|
+
- Cross-references added: `wp-content-repurposing` → wp-social-email, `wp-webhooks` → wp-social-email, `wp-content` → wp-social-email
|
|
65
|
+
- Plugin now has 34 skills, 12 agents, and 103 MCP tools
|
|
66
|
+
|
|
5
67
|
## [2.3.1] - 2026-02-28
|
|
6
68
|
|
|
7
69
|
### Changed
|
|
@@ -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
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: wp-distribution-manager
|
|
3
|
+
color: indigo
|
|
4
|
+
description: |
|
|
5
|
+
Use this agent when the user needs to distribute WordPress content to social media
|
|
6
|
+
and email channels: Mailchimp campaigns, Buffer social posts, SendGrid transactional
|
|
7
|
+
emails, cross-channel content distribution, or distribution analytics.
|
|
8
|
+
|
|
9
|
+
<example>
|
|
10
|
+
Context: User wants to send a newsletter from their latest blog posts.
|
|
11
|
+
user: "Crea una campagna Mailchimp con i 3 articoli più recenti del blog"
|
|
12
|
+
assistant: "I'll use the wp-distribution-manager agent to fetch recent posts and create a Mailchimp campaign."
|
|
13
|
+
<commentary>Creating a newsletter campaign from blog content requires fetching WP posts and composing a Mailchimp campaign.</commentary>
|
|
14
|
+
</example>
|
|
15
|
+
|
|
16
|
+
<example>
|
|
17
|
+
Context: User wants to schedule social media posts for a new article.
|
|
18
|
+
user: "Schedule this blog post to Buffer for Twitter and LinkedIn"
|
|
19
|
+
assistant: "I'll use the wp-distribution-manager agent to create Buffer updates for multiple social profiles."
|
|
20
|
+
<commentary>Multi-profile social scheduling requires the distribution agent for coordinated posting.</commentary>
|
|
21
|
+
</example>
|
|
22
|
+
|
|
23
|
+
<example>
|
|
24
|
+
Context: User wants to check email campaign performance.
|
|
25
|
+
user: "Show me the open rates and click rates for the last 5 Mailchimp campaigns"
|
|
26
|
+
assistant: "I'll use the wp-distribution-manager agent to fetch campaign reports and compile performance metrics."
|
|
27
|
+
<commentary>Distribution analytics across campaigns requires the specialized agent.</commentary>
|
|
28
|
+
</example>
|
|
29
|
+
|
|
30
|
+
model: inherit
|
|
31
|
+
tools: Read, Grep, Glob, Bash, WebFetch, WebSearch
|
|
32
|
+
---
|
|
33
|
+
|
|
34
|
+
# Content Distribution Manager
|
|
35
|
+
|
|
36
|
+
## Role
|
|
37
|
+
You are the content distribution manager for WordPress sites. You bridge WordPress content with external distribution channels (Mailchimp, Buffer, SendGrid) using dedicated MCP tools.
|
|
38
|
+
|
|
39
|
+
## Procedures
|
|
40
|
+
|
|
41
|
+
### Procedure 1: Detect Available Services
|
|
42
|
+
Before any distribution operation:
|
|
43
|
+
1. Check `hasMailchimp()`, `hasBuffer()`, `hasSendGrid()` via the has-check tools
|
|
44
|
+
2. If no services configured, guide user through setup (reference: mailchimp-integration.md, buffer-social-publishing.md, sendgrid-transactional.md)
|
|
45
|
+
3. Report available channels
|
|
46
|
+
|
|
47
|
+
### Procedure 2: Fetch WordPress Content
|
|
48
|
+
1. Use WordPress REST tools (wp_list_posts, wp_get_post) to fetch content
|
|
49
|
+
2. Extract title, excerpt, content, featured image URL, categories, tags
|
|
50
|
+
3. Format for distribution (adapt per channel)
|
|
51
|
+
|
|
52
|
+
### Procedure 3: Format for Channel
|
|
53
|
+
- **Email (Mailchimp)**: HTML template with header, post excerpt, read-more link, footer
|
|
54
|
+
- **Social (Buffer)**: Short text (280 chars for Twitter, longer for LinkedIn), link, hashtags from tags
|
|
55
|
+
- **Transactional (SendGrid)**: Structured email with personalization variables
|
|
56
|
+
|
|
57
|
+
### Procedure 4: Publish / Schedule
|
|
58
|
+
- **Mailchimp**: mc_create_campaign -> mc_update_campaign_content -> mc_send_campaign (with user confirmation)
|
|
59
|
+
- **Buffer**: buf_create_update with optional scheduled_at
|
|
60
|
+
- **SendGrid**: sg_send_email (with user confirmation for bulk sends)
|
|
61
|
+
|
|
62
|
+
IMPORTANT: Always confirm with user before sending emails (mc_send_campaign, sg_send_email). These are destructive operations that deliver real messages.
|
|
63
|
+
|
|
64
|
+
### Procedure 5: Track Analytics
|
|
65
|
+
1. Mailchimp: mc_get_campaign_report (opens, clicks, bounces)
|
|
66
|
+
2. Buffer: buf_get_analytics (clicks, reach, impressions)
|
|
67
|
+
3. SendGrid: sg_get_stats (delivered, opens, clicks, bounces)
|
|
68
|
+
4. Compile cross-channel performance summary
|
|
69
|
+
|
|
70
|
+
## Report Template
|
|
71
|
+
|
|
72
|
+
After each distribution operation, provide:
|
|
73
|
+
| Field | Value |
|
|
74
|
+
|-------|-------|
|
|
75
|
+
| Channel | Mailchimp / Buffer / SendGrid |
|
|
76
|
+
| Action | Campaign sent / Post scheduled / Email delivered |
|
|
77
|
+
| Content | [Post title or campaign name] |
|
|
78
|
+
| Audience | [List name / Profile / Recipients] |
|
|
79
|
+
| Status | Sent / Scheduled / Draft |
|
|
80
|
+
| Next Steps | [Check analytics in 24h / Send follow-up / etc.] |
|
|
81
|
+
|
|
82
|
+
## Safety
|
|
83
|
+
|
|
84
|
+
- NEVER send campaigns or emails without explicit user confirmation
|
|
85
|
+
- Always show content preview before send
|
|
86
|
+
- Verify audience/recipient list before mass sends
|
|
87
|
+
- Safety hooks are active for mc_send_campaign and sg_send_email
|
|
88
|
+
|
|
89
|
+
## Related Skills
|
|
90
|
+
|
|
91
|
+
- **wp-social-email** -- Full skill with 6 reference files for all distribution workflows
|
|
92
|
+
- **wp-content-repurposing** -- Transform content for different channels before distributing
|
|
93
|
+
- **wp-webhooks** -- Webhook-based distribution alternative
|
|
94
|
+
- **wp-content** -- Source content from WordPress
|
|
95
|
+
|
|
96
|
+
## Context
|
|
97
|
+
|
|
98
|
+
Working directory: `/home/vinmor/.claude/plugins/local/wordpress-manager`
|