claude-plugin-wordpress-manager 2.12.2 → 2.13.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 (29) hide show
  1. package/.claude-plugin/plugin.json +8 -3
  2. package/CHANGELOG.md +55 -0
  3. package/docs/GUIDE.md +240 -1
  4. package/docs/VALIDATION.md +341 -0
  5. package/docs/plans/2026-03-02-content-framework-architecture.md +612 -0
  6. package/docs/plans/2026-03-02-content-framework-strategic-reflections.md +228 -0
  7. package/docs/plans/2026-03-02-content-intelligence-phase2.md +560 -0
  8. package/docs/plans/2026-03-02-content-pipeline-phase1.md +456 -0
  9. package/docs/plans/2026-03-02-editorial-calendar-phase3.md +490 -0
  10. package/docs/validation/.gitkeep +0 -0
  11. package/docs/validation/dashboard.html +286 -0
  12. package/docs/validation/results.json +1705 -0
  13. package/package.json +12 -3
  14. package/scripts/run-validation.mjs +1132 -0
  15. package/servers/wp-rest-bridge/build/server.js +16 -5
  16. package/servers/wp-rest-bridge/build/tools/index.js +0 -9
  17. package/servers/wp-rest-bridge/build/tools/plugin-repository.js +23 -31
  18. package/servers/wp-rest-bridge/build/tools/schema.js +10 -2
  19. package/servers/wp-rest-bridge/build/tools/unified-content.js +10 -2
  20. package/servers/wp-rest-bridge/build/wordpress.d.ts +0 -3
  21. package/servers/wp-rest-bridge/build/wordpress.js +16 -98
  22. package/servers/wp-rest-bridge/package.json +1 -0
  23. package/skills/wp-analytics/SKILL.md +153 -0
  24. package/skills/wp-analytics/references/signals-feed-schema.md +417 -0
  25. package/skills/wp-content-pipeline/SKILL.md +461 -0
  26. package/skills/wp-content-pipeline/references/content-brief-schema.md +377 -0
  27. package/skills/wp-content-pipeline/references/site-config-schema.md +431 -0
  28. package/skills/wp-editorial-planner/SKILL.md +262 -0
  29. package/skills/wp-editorial-planner/references/editorial-schema.md +268 -0
@@ -0,0 +1,228 @@
1
+ # Content Framework — Riflessioni Strategiche Preliminari
2
+
3
+ **Data**: 2026-03-02
4
+ **Versione**: 1.0.0
5
+ **Stato**: Approvato (riflessioni preliminari)
6
+ **Contesto**: Evoluzione WordPress Manager Plugin (v2.12.2, WCOP 9.2/10) verso Content Framework unificato
7
+
8
+ ---
9
+
10
+ ## 1. Vincolo Architetturale Fondamentale
11
+
12
+ > "Non creare sovrastrutture che degradano la potenza nativa dell'intelligenza."
13
+
14
+ L'ecosistema Claude Code + MCP funziona già come sistema di orchestrazione naturale:
15
+ - **LLM** = motore decisionale (routing, context aggregation, reasoning)
16
+ - **MCP tool** = attuatori (148 tool registrati per operazioni WordPress)
17
+ - **Skill** = istruzioni operative (43 skill specializzate)
18
+ - **Agent** = orchestratori autonomi (12 agent per task complessi)
19
+
20
+ Aggiungere uno strato applicativo (pipeline engine in codice, calendar app, dashboard React) significherebbe:
21
+ - **Duplicare** ciò che Claude fa nativamente
22
+ - **Irrigidire** ciò che oggi è fluido (ogni sessione è un'istanza adattiva)
23
+ - **Appesantire** il plugin con centinaia di righe di TypeScript che fanno meno bene ciò che un prompt ben strutturato fa già
24
+
25
+ **Principio**: non costruire un framework *sopra* il framework — rendere **esplicite le connessioni** tra componenti che oggi sono implicite.
26
+
27
+ ---
28
+
29
+ ## 2. Mappa delle Capacità Esistenti
30
+
31
+ ### Plugin WordPress Manager (148 tool, 43 skill)
32
+
33
+ | Area | Skill | Capacità |
34
+ |------|-------|----------|
35
+ | Content creation | `wp-content`, `wp-content-generation` | Blog post, pagine, custom post type |
36
+ | Content optimization | `wp-content-optimization`, `wp-programmatic-seo` | SEO scoring, readability, meta, headline |
37
+ | Distribution | `wp-social-email`, `wp-linkedin`, `wp-twitter` | Multi-channel publish |
38
+ | Analytics | `wp-analytics`, `wp-search-console` | GA4, GSC, metriche sito |
39
+ | Workflow | `wp-content-workflows` | Status editoriale (draft→review→publish) |
40
+ | Repurposing | `wp-content-repurposing` | Multi-format da contenuto base |
41
+ | Attribution | `wp-content-attribution` | Tracciamento fonti e crediti |
42
+
43
+ ### Ecosistema Gen* (commands/)
44
+
45
+ | Skill | Agenti | Capacità | Output chiave |
46
+ |-------|--------|----------|---------------|
47
+ | **GenCorpComm** | Multi-agente | 10 domini comunicazione, parametric tone/stakeholder | Pitch deck, white paper, press release, social content |
48
+ | **GenMarketing** | CMO agent | Channel strategy, campaign plan, content calendar | Marketing strategy MD, budget allocation |
49
+ | **GenSignal** | 3 agenti | 26 pattern detector, scoring, experiment design | SignalCard, TrendReport, AlertNotifications |
50
+ | **GenExecution** | 4 agenti | 3C model (CHI-COSA-COME), ClickUp integration | Task hierarchy, assignment matrix |
51
+ | **GenBrand** | 11 agenti | Brand strategy S0-S7, identity system | Brand brief, positioning, messaging, governance |
52
+ | **GenReport** | 8 agenti | Market intelligence, competitive analysis | ReportZero, MetaProjects, InsightCards |
53
+ | **GenContext** | HITL system | Background intelligence, opportunity mapping | Asset inventory, value chain map |
54
+
55
+ ### Orchestrazione Esistente (skills-orchestration.yaml v1.2.0)
56
+
57
+ 4 pattern di orchestrazione già definiti:
58
+ 1. **Product Development Pipeline**: GenReport → GenProduct → GenExecution
59
+ 2. **Market-Driven Innovation**: GenSignal → GenReport → GenProduct
60
+ 3. **Competitive Response**: GenProduct (Reverse) → GenExecution
61
+ 4. **Cost Optimization**: GenProduct (Cost-Down) → GenProduct (Validate) → Loop
62
+
63
+ **Nessuno di questi pattern include WordPress come endpoint di pubblicazione.** Questo è il gap principale.
64
+
65
+ ---
66
+
67
+ ## 3. Gap Analysis
68
+
69
+ | Gap | Descrizione | Impatto |
70
+ |-----|-------------|---------|
71
+ | **Gen* → WP publish** | GenCorpComm produce contenuti multi-formato ma non li pubblica su WordPress | Il contenuto resta in file locali, richiede copia manuale |
72
+ | **WP analytics → Gen* intelligence** | `wp-analytics` raccoglie dati ma GenSignal non li consuma | Nessun feedback loop: i dati non informano la strategia |
73
+ | **Piano editoriale** | Nessun sistema strutturato per pianificare contenuti nel tempo | Pubblicazione reattiva, non strategica |
74
+ | **Brand consistency WP** | WP non ha accesso al brand system di GenBrand | Inconsistenza tra brand guidelines e contenuti pubblicati |
75
+ | **Coordinamento task** | GenExecution produce task ClickUp, `wp-content-workflows` gestisce status WP | Due sistemi di task indipendenti senza ponte |
76
+
77
+ ---
78
+
79
+ ## 4. Approccio: File MD come Configuration Layer
80
+
81
+ Invece di codice applicativo, usiamo **file Markdown strutturati come strato di configurazione e stato persistente**.
82
+
83
+ ### Tre Tipi di File MD
84
+
85
+ | Tipo | Suffisso | Scopo | Esempio |
86
+ |------|----------|-------|---------|
87
+ | **Schema** | `.schema.md` | Template strutturato con frontmatter YAML, definisce la struttura | `content-brief.schema.md` |
88
+ | **Instance** | `.state.md` | Stato corrente di un'istanza attiva, aggiornato tra sessioni | `2026-03-editorial.state.md` |
89
+ | **Config** | `.config.md` | Parametri di tuning per un sito, brand, o workflow | `opencactus.config.md` |
90
+
91
+ ### Perché Funziona
92
+
93
+ - **Leggibile da Claude**: per ragionamento, decision-making, context aggregation
94
+ - **Leggibile da MCP tool**: per operazioni CRUD via `get_post`, `create_post`, etc.
95
+ - **Persistente tra sessioni**: il filesystem è il database
96
+ - **Versionabile**: git tracking naturale
97
+ - **Editabile dall'utente**: un editor di testo qualsiasi
98
+ - **Zero dipendenze**: nessun database, nessuna API, nessun framework
99
+
100
+ ### Analogia con Ecosistema Esistente
101
+
102
+ Questo pattern è già validato:
103
+ - `skills-orchestration.yaml` orchestra le Gen* skill con YAML
104
+ - GenSignal usa `signal-card-template.yaml` come schema
105
+ - GenBrand produce `brief.yaml`, `positioning_canvas.yaml`
106
+ - GenExecution produce `TaskHierarchy.yaml`
107
+
108
+ Estendiamo lo stesso pattern al bridge Gen*↔WordPress.
109
+
110
+ ---
111
+
112
+ ## 5. Integrazioni Gen* Naturali (Non Forzate)
113
+
114
+ ### A. GenCorpComm → WP Content Pipeline
115
+
116
+ **Flusso**: GenCorpComm produce contenuto strutturato → file `content-brief.md` → skill WP lo pubblica.
117
+
118
+ - GenCorpComm ha 10 domini e parametric customization (tone, stakeholder, complexity)
119
+ - Il plugin WP ha `wp-content`, `wp-content-generation` per pubblicazione
120
+ - **Ponte mancante**: uno schema che traduca output GenCorpComm in input per la skill WP
121
+
122
+ ### B. GenSignal ← WP Analytics Feedback Loop
123
+
124
+ **Flusso**: `wp-analytics` + `wp-search-console` → aggregano metriche → file `signals-feed.md` → GenSignal interpreta.
125
+
126
+ - GenSignal ha 26 pattern detector e scoring algorithm
127
+ - Il plugin WP raccoglie GA4, GSC, performance data
128
+ - **Ponte mancante**: un aggregatore che scriva metriche WP in formato compatibile GenSignal
129
+
130
+ ### C. GenMarketing → WP Editorial Calendar
131
+
132
+ **Flusso**: GenMarketing produce content calendar → file `.state.md` → skill WP converte in scheduled posts.
133
+
134
+ - GenMarketing produce campaign plan con date, canali, messaggi
135
+ - Il plugin WP può creare post schedulati e distribuire su canali
136
+ - **Ponte mancante**: uno schema editoriale che il plugin legge per auto-schedulare
137
+
138
+ ### D. GenExecution → WP Content Workflows
139
+
140
+ **Flusso**: GenExecution produce task 3C → file `content-tasks.md` → skill WP le esegue come transizioni di stato.
141
+
142
+ - GenExecution converte piani strategici in task strutturati
143
+ - `wp-content-workflows` gestisce draft→review→publish
144
+ - **Ponte mancante**: mapping tra task GenExecution e transizioni workflow WP
145
+
146
+ ---
147
+
148
+ ## 6. Anti-Pattern da Evitare
149
+
150
+ | Anti-Pattern | Perché è Sbagliato | Alternativa |
151
+ |-------------|---------------------|-------------|
152
+ | Pipeline engine in TypeScript | Duplica il decision-making di Claude | Schema MD + prompt che Claude interpreta |
153
+ | Calendar widget/app | Sovrastruttura UI per qualcosa che è un file con date | File `.state.md` con date nel frontmatter |
154
+ | Database di stato | Aggiunge dipendenza e complessità | Filesystem = database, file MD = tabelle |
155
+ | API per coordinamento Gen*↔WP | Over-engineering per un ponte che è un file condiviso | File MD in directory condivisa |
156
+ | Reimplementazione di Gen* capability | Se GenCorpComm sa generare un press release, WP non deve rifarlo | Skill WP sa solo *pubblicare*, non *generare* |
157
+ | Dashboard React/HTML per stato | Appesantisce il plugin con frontend code | `wp-analytics` + report MD già esistenti |
158
+
159
+ ---
160
+
161
+ ## 7. Modello Architetturale
162
+
163
+ ```
164
+ Gen* Ecosystem WordPress Manager Plugin
165
+ (commands/) (skill + MCP tool)
166
+
167
+ ┌─────────────┐ ┌────────────────────┐
168
+ │ GenCorpComm │──content-brief──▶│ wp-content-publish │
169
+ │ GenMarketing │──editorial-plan─▶│ wp-content-schedule │
170
+ │ GenSignal │◀──site-signals───│ wp-analytics │
171
+ │ GenExecution │──content-tasks──▶│ wp-content-workflows│
172
+ │ GenBrand │──brand-config───▶│ wp-content (voice) │
173
+ └─────────────┘ └────────────────────┘
174
+ │ │
175
+ ▼ ▼
176
+ ┌──────────────────────────────┐
177
+ │ .content-state/ │
178
+ │ ├─ {site}.config.md │ ← brand voice, canali, frequenza
179
+ │ ├─ YYYY-MM-editorial.state.md│ ← piano editoriale corrente
180
+ │ ├─ pipeline-active/ │ ← brief in lavorazione
181
+ │ │ └─ {brief-id}.brief.md │
182
+ │ └─ signals-feed.md │ ← metriche aggregate per GenSignal
183
+ └──────────────────────────────┘
184
+
185
+
186
+ Claude CLI (orchestratore naturale)
187
+ ```
188
+
189
+ **Principio operativo**: Claude legge i file `.config.md` e `.state.md`, usa le skill appropriate (Gen* per generazione, WP per pubblicazione), e aggiorna lo stato. L'utente interagisce via CLI.
190
+
191
+ ---
192
+
193
+ ## 8. Fasi Implementative
194
+
195
+ | Fase | Obiettivo | Deliverable | Costo Stimato |
196
+ |------|-----------|-------------|---------------|
197
+ | **1. Content Pipeline** | Connettere Gen* output → WP publish | Schema `content-brief.schema.md`, skill `wp-content-publish-from-brief` | 2-3 file MD + 1 skill |
198
+ | **2. Content Intelligence** | WP analytics → GenSignal → azioni | Schema `signals-feed.schema.md`, estensione `wp-analytics` | 2 file MD + 1 skill estesa |
199
+ | **3. Editorial Calendar** | Piano editoriale come stato MD | Schema `editorial.schema.md`, skill `wp-editorial-planner` | 2-3 file MD + 1-2 skill |
200
+
201
+ **Costo totale stimato**: 6-8 file MD schema + 3-4 nuove/estese skill. **Zero nuovi MCP tool TypeScript** — usiamo i 148 tool esistenti.
202
+
203
+ ---
204
+
205
+ ## 9. Criteri di Successo
206
+
207
+ | Criterio | Metrica |
208
+ |----------|---------|
209
+ | **Zero new TypeScript** | Nessun nuovo file `.ts` nel server MCP |
210
+ | **Lightweight** | < 10 nuovi file totali per fase |
211
+ | **CLI-native** | Tutta l'interazione via conversazione Claude |
212
+ | **Gen* compatible** | Output GenCorpComm/GenMarketing usabili senza modifica |
213
+ | **Reversible** | Rimuovere il content framework = cancellare una directory |
214
+ | **WCOP preserved** | Score WCOP ≥ 9.2/10 dopo implementazione |
215
+
216
+ ---
217
+
218
+ ## 10. Prossimi Passi
219
+
220
+ 1. ~~Riflessioni strategiche preliminari~~ ✅ (questo documento)
221
+ 2. **Proposta architetturale di dettaglio** — schema MD esatti, struttura skill, flow operativi
222
+ 3. **Design document** per Fase 1 (Content Pipeline)
223
+ 4. **Implementation plan** per Fase 1
224
+ 5. Iterazione su Fase 2 e 3
225
+
226
+ ---
227
+
228
+ *Documento generato come output del processo di brainstorming strategico per l'evoluzione del WordPress Manager Plugin verso Content Framework.*