@respira/wordpress-mcp-server 7.3.0 → 7.4.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 (88) hide show
  1. package/dist/acf-tools.d.ts +0 -10
  2. package/dist/acf-tools.d.ts.map +1 -1
  3. package/dist/acf-tools.js +0 -15
  4. package/dist/acf-tools.js.map +1 -1
  5. package/dist/config.d.ts.map +1 -1
  6. package/dist/config.js +31 -36
  7. package/dist/config.js.map +1 -1
  8. package/dist/server.d.ts +0 -47
  9. package/dist/server.d.ts.map +1 -1
  10. package/dist/server.js +404 -462
  11. package/dist/server.js.map +1 -1
  12. package/dist/wordpress-client.d.ts +26 -29
  13. package/dist/wordpress-client.d.ts.map +1 -1
  14. package/dist/wordpress-client.js +115 -148
  15. package/dist/wordpress-client.js.map +1 -1
  16. package/package.json +2 -2
  17. package/skills/activity-report-composer/README.md +38 -0
  18. package/skills/activity-report-composer/SKILL.md +167 -0
  19. package/skills/activity-report-composer/metadata.json +42 -0
  20. package/skills/brand-voice-synthesizer/README.md +43 -0
  21. package/skills/brand-voice-synthesizer/SKILL.md +259 -0
  22. package/skills/brand-voice-synthesizer/metadata.json +46 -0
  23. package/skills/build-oxygen6-page/SKILL.md +59 -0
  24. package/skills/conversion-audit/README.md +37 -0
  25. package/skills/conversion-audit/SKILL.md +185 -0
  26. package/skills/conversion-audit/metadata.json +46 -0
  27. package/skills/custom-post-type-architect/README.md +34 -0
  28. package/skills/custom-post-type-architect/SKILL.md +158 -0
  29. package/skills/custom-post-type-architect/metadata.json +39 -0
  30. package/skills/design-system-synthesizer/README.md +46 -0
  31. package/skills/design-system-synthesizer/SKILL.md +395 -0
  32. package/skills/design-system-synthesizer/metadata.json +57 -0
  33. package/skills/figma-to-elementor/SKILL.md +204 -0
  34. package/skills/html-to-bricks/README.md +43 -0
  35. package/skills/html-to-bricks/SKILL.md +135 -0
  36. package/skills/html-to-bricks/metadata.json +41 -0
  37. package/skills/internal-link-builder/SKILL.md +258 -0
  38. package/skills/internal-link-builder/metadata.json +46 -0
  39. package/skills/migrate-beaver-builder-to-bricks/SKILL.md +251 -0
  40. package/skills/migrate-beaver-builder-to-gutenberg/SKILL.md +248 -0
  41. package/skills/migrate-brizy-to-gutenberg/SKILL.md +248 -0
  42. package/skills/migrate-divi-to-breakdance/SKILL.md +312 -0
  43. package/skills/migrate-divi-to-bricks/SKILL.md +321 -0
  44. package/skills/migrate-divi-to-gutenberg/SKILL.md +328 -0
  45. package/skills/migrate-elementor-to-breakdance/SKILL.md +287 -0
  46. package/skills/migrate-elementor-to-bricks/SKILL.md +289 -0
  47. package/skills/migrate-elementor-to-gutenberg/SKILL.md +327 -0
  48. package/skills/migrate-elementor-to-oxygen/SKILL.md +300 -0
  49. package/skills/migrate-oxygen-to-breakdance/SKILL.md +235 -0
  50. package/skills/migrate-oxygen-to-bricks/SKILL.md +237 -0
  51. package/skills/migrate-thrive-architect-to-gutenberg/SKILL.md +257 -0
  52. package/skills/migrate-visual-composer-to-gutenberg/SKILL.md +261 -0
  53. package/skills/migrate-wpbakery-to-bricks/SKILL.md +336 -0
  54. package/skills/migrate-wpbakery-to-gutenberg/SKILL.md +345 -0
  55. package/skills/mobile-experience-report/SKILL.md +719 -0
  56. package/skills/mobile-experience-report/telemetry.ts +137 -0
  57. package/skills/page-template-library/README.md +41 -0
  58. package/skills/page-template-library/SKILL.md +175 -0
  59. package/skills/page-template-library/metadata.json +44 -0
  60. package/skills/prime-the-agent/README.md +49 -0
  61. package/skills/prime-the-agent/SKILL.md +225 -0
  62. package/skills/prime-the-agent/metadata.json +46 -0
  63. package/skills/respira-setup-assistant/SKILL.md +386 -0
  64. package/skills/respira-setup-assistant/metadata.json +36 -0
  65. package/skills/seo-aeo-amplifier/README.md +61 -0
  66. package/skills/seo-aeo-amplifier/SKILL.md +277 -0
  67. package/skills/seo-aeo-amplifier/metadata.json +62 -0
  68. package/skills/stale-content-detector/README.md +41 -0
  69. package/skills/stale-content-detector/SKILL.md +156 -0
  70. package/skills/stale-content-detector/metadata.json +43 -0
  71. package/skills/technical-debt-audit/SKILL.md +691 -0
  72. package/skills/technical-debt-audit/telemetry.ts +142 -0
  73. package/skills/woocommerce-health-check/SKILL.md +719 -0
  74. package/skills/woocommerce-health-check/telemetry.ts +137 -0
  75. package/skills/wordpress-ai-image-optimizer/README.md +49 -0
  76. package/skills/wordpress-ai-image-optimizer/SKILL.md +232 -0
  77. package/skills/wordpress-ai-image-optimizer/metadata.json +63 -0
  78. package/skills/wordpress-site-dna/README.md +81 -0
  79. package/skills/wordpress-site-dna/SKILL.md +669 -0
  80. package/skills/wordpress-site-dna/telemetry.ts +137 -0
  81. package/dist/__tests__/acf-tool-routing.test.d.ts +0 -2
  82. package/dist/__tests__/acf-tool-routing.test.d.ts.map +0 -1
  83. package/dist/__tests__/acf-tool-routing.test.js +0 -37
  84. package/dist/__tests__/acf-tool-routing.test.js.map +0 -1
  85. package/dist/__tests__/cowork-bootstrap.test.d.ts +0 -2
  86. package/dist/__tests__/cowork-bootstrap.test.d.ts.map +0 -1
  87. package/dist/__tests__/cowork-bootstrap.test.js +0 -61
  88. package/dist/__tests__/cowork-bootstrap.test.js.map +0 -1
@@ -0,0 +1,251 @@
1
+ # Migrate Beaver Builder to Bricks
2
+
3
+ **Version:** 2.0.0
4
+ **Updated:** 2026-06-30
5
+ **Freshly updated:** v2.0.0 wires in current Respira safety and precision. Pre-migration now inventories source pages with `respira_find_builder_targets`. Every write is preceded by a `respira_get_snapshot`, and the existing draft-duplicate path is kept. After the first `respira_inject_builder_content`, validation issues (collapsed column widths from the row/column-to-container translation, broken parent refs, a misconverted module) are corrected surgically with `respira_find_element` + `respira_update_element` (and `respira_batch_update` for multi-element or multi-page fixes) instead of re-injecting whole pages. Snapshot restore and draft deletion are now explicit rollback paths. Reflects the current 16 supported builders.
6
+
7
+ Full-site migration from Beaver Builder to Bricks Builder. Audits every Beaver Builder page, maps modules to their Bricks equivalents, builds a migration plan for approval, and executes page-by-page conversion into Bricks' JSON format — all through duplicates so your live site stays untouched. Use this skill whenever someone mentions migrating from Beaver Builder to Bricks, switching from BB to Bricks, converting Beaver Builder pages to Bricks, or replacing Beaver Builder with Bricks.
8
+
9
+ ## What This Skill Does
10
+
11
+ Beaver Builder and Bricks are both visual page builders, but they differ significantly in architecture. Beaver Builder uses a module-based system with rows, columns, and modules stored in `_fl_builder_data`. Bricks uses a more modern, flexbox-first approach with sections, containers, and elements stored as a JSON array in `_bricks_page_content_2`. The migration requires translating BB's row/column grid into Bricks' container model and mapping each module to its Bricks element equivalent.
12
+
13
+ This skill reads every Beaver Builder page, extracts the module structure, translates each row/column/module to its Bricks equivalent, and writes the result to duplicate pages in Bricks format — giving you a complete parallel version of your site to review before going live.
14
+
15
+ **Handles:**
16
+ - Row → Bricks Section mapping
17
+ - Column structures → Bricks Container with flex layout
18
+ - Text Editor module → Bricks Text / Heading elements
19
+ - Photo module → Bricks Image element
20
+ - Button module → Bricks Button element
21
+ - Video module → Bricks Video element
22
+ - HTML module → Bricks Code element
23
+ - Heading module → Bricks Heading element
24
+ - Separator module → Bricks Divider element
25
+ - Icon module → Bricks Icon element
26
+ - Call to Action module → Bricks Container + child elements
27
+ - Custom CSS classes and inline styles
28
+
29
+ ## What This Skill Does NOT Do
30
+
31
+ - Migrate Beaver Builder's saved rows/modules library — these must be recreated in Bricks
32
+ - Convert Beaver Themer layouts (headers, footers, archives) — Bricks templates must be built separately
33
+ - Replicate exact Beaver Builder animations/effects — Bricks has its own interaction system
34
+ - Migrate third-party Beaver Builder add-on modules (PowerPack, UABB, etc.) — flagged for manual handling
35
+ - Convert BB's global rows to Bricks' template system — different architectural concept
36
+ - Guarantee pixel-perfect visual parity — different rendering engines produce different output
37
+
38
+ ## Requirements
39
+
40
+ - Respira for WordPress plugin installed and connected
41
+ - MCP connection active (desktop or WebMCP)
42
+ - Beaver Builder active on the source site
43
+ - Bricks Builder installed on the target site (can be the same site)
44
+ - Read access to scan Beaver Builder content
45
+ - Write access to create duplicates with Bricks content
46
+
47
+ ## Trigger Phrase
48
+
49
+ - "migrate beaver builder to bricks"
50
+
51
+ ## Alternative Triggers
52
+
53
+ - "convert beaver builder to bricks"
54
+ - "switch from bb to bricks"
55
+ - "move beaver builder pages to bricks"
56
+ - "replace beaver builder with bricks"
57
+ - "beaver builder to bricks migration"
58
+ - "migrate bb to bricks"
59
+
60
+ ## Builder Technical Context
61
+
62
+ **Source: Beaver Builder**
63
+ - Content stored in post_meta keys `_fl_builder_data` and `_fl_builder_data_settings`
64
+ - Module-based structure with rows → columns → modules hierarchy
65
+ - Read via `respira_extract_builder_content` with `builder=beaver` or `builder=beaver-builder`
66
+ - Module types: `rich-text`, `photo`, `button`, `heading`, `html`, `video`, `icon`, `separator`, `callout`, `cta`, `numbers`, `content-slider`, etc.
67
+
68
+ **Target: Bricks Builder**
69
+ - Content stored in post_meta key `_bricks_page_content_2` as a JSON array
70
+ - Each element is an object with `id`, `name`, `parent`, `settings`, `children`
71
+ - Write via `respira_inject_builder_content` with `builder=bricks`
72
+ - Elements: `section`, `container`, `heading`, `text`, `image`, `button`, `video`, `code`, `divider`, `icon`, etc.
73
+
74
+ ## Execution Workflow
75
+
76
+ ### Phase 1: Pre-Migration Audit
77
+
78
+ 1. Verify Respira + MCP connection via `respira_get_site_context`. If unavailable, stop and show setup guidance.
79
+ 2. Detect Beaver Builder presence via `respira_get_builder_info` or `respira_list_plugins`.
80
+ 3. Inventory and scope the source pages first:
81
+ - `respira_find_builder_targets` with `builder=beaver` — a fast, ranked list of every BB-managed page/post before you touch anything
82
+ - Fall back to `respira_list_pages` / `respira_list_posts` + `respira_get_builder_info` to confirm builder per item where needed
83
+ 4. For each BB page, extract content:
84
+ - `respira_extract_builder_content` with `builder=beaver`
85
+ - Catalog: module types used, row/column structures, custom CSS, third-party modules, saved rows/modules
86
+ 5. Produce an **Audit Report**:
87
+ - Total pages/posts using Beaver Builder
88
+ - Module type frequency (how many text editors, photos, buttons, etc.)
89
+ - Column layout patterns (common row structures)
90
+ - Complexity flags (third-party modules, Beaver Themer, custom CSS, animations)
91
+ - Estimated migration difficulty per page (simple / moderate / complex)
92
+
93
+ ### Phase 2: Migration Plan
94
+
95
+ Present a structured migration plan:
96
+
97
+ ```
98
+ ## Beaver Builder → Bricks Migration Plan
99
+
100
+ ### Site Overview
101
+ - Total Beaver Builder pages: X
102
+ - Simple pages (direct mapping): X
103
+ - Moderate pages (some manual review needed): X
104
+ - Complex pages (significant manual work): X
105
+
106
+ ### Module-to-Element Mapping
107
+ | BB Module | Bricks Element | Notes |
108
+ |---|---|---|
109
+ | Row | Section | BB row maps to Bricks section |
110
+ | Column | Container | Flex-based layout in Bricks |
111
+ | Text Editor | Text / Heading | Content parsed into elements |
112
+ | Photo | Image | Direct mapping |
113
+ | Button | Button | Direct mapping |
114
+ | ... | ... | ... |
115
+
116
+ ### Migration Order
117
+ 1. [Page Title] — Simple — estimated 2 min
118
+ 2. [Page Title] — Moderate — estimated 5 min
119
+ ...
120
+
121
+ ### Items Requiring Manual Attention
122
+ - [Page X] — PowerPack Tabs module (no direct Bricks equivalent)
123
+ - [Page Y] — Content slider (needs Bricks slider setup)
124
+ - Beaver Themer layouts — must be rebuilt as Bricks templates
125
+ ```
126
+
127
+ Then ask:
128
+
129
+ > Here's the migration plan. Would you like me to:
130
+ > 1. Migrate all pages (creates duplicates for review)
131
+ > 2. Migrate only simple pages first
132
+ > 3. Migrate specific pages you choose
133
+ > 4. Just keep this as a reference — no changes
134
+
135
+ Wait for explicit confirmation before proceeding.
136
+
137
+ ### Phase 3: Page-by-Page Migration
138
+
139
+ For each approved page:
140
+
141
+ 1. Extract Beaver Builder content via `respira_extract_builder_content` with `builder=beaver`
142
+ 2. Map the row/column/module hierarchy to Bricks elements:
143
+ - Rows → Bricks `section` elements
144
+ - Columns → Bricks `container` elements with flex layout settings
145
+ - Text Editor → Parse into `text` and `heading` elements
146
+ - Photo → `image` element with src, alt, caption
147
+ - Button → `button` element with text, link, style
148
+ - HTML → `code` element
149
+ - Map CSS classes and inline styles to Bricks settings
150
+ - Preserve text content, image URLs, link targets
151
+ - Flag any unmappable modules with comment annotations
152
+ 3. Build the Bricks JSON array structure
153
+ 4. Create a duplicate via `respira_create_page_duplicate` or `respira_create_post_duplicate`
154
+ 5. Before writing, take a snapshot with `respira_get_snapshot` so the duplicate's pre-write state can be restored if anything goes wrong
155
+ 6. Inject Bricks content via `respira_inject_builder_content` with `builder=bricks`
156
+ 7. Surgical fix pass — if the injected page has validation issues (column widths that collapsed during the row/column-to-container translation, broken parent refs, a misconverted module), do not re-inject the whole page. Locate the specific element with `respira_find_element` and correct it with `respira_update_element`. For repeated fixes across many elements or several pages, batch them with `respira_batch_update`
157
+ 8. Log the migration result (success, warnings, manual review items)
158
+
159
+ ### Phase 4: Post-Migration Verification
160
+
161
+ 1. Summarize all migrated pages with status:
162
+ - Clean migrations (no issues)
163
+ - Migrations with warnings (flagged items needing review)
164
+ - Failed migrations (if any)
165
+ 2. List all manual review items:
166
+ - Third-party modules that need manual replacement
167
+ - Content sliders or advanced layouts needing Bricks-native rebuilds
168
+ - Custom CSS that needs to be added to Bricks element styles
169
+ - Beaver Themer layouts that need separate rebuilding in Bricks
170
+ 3. Provide review instructions:
171
+ - Where to find duplicates in WordPress admin
172
+ - How to preview Bricks pages
173
+ - How to delete duplicates if not wanted
174
+
175
+ ## Safety Model
176
+
177
+ - Read-only analysis first — full Beaver Builder content audit before any changes
178
+ - Explicit user confirmation before creating any duplicates
179
+ - Duplicate-first only — never modifies live/published Beaver Builder content
180
+ - Never auto-publishes duplicates
181
+ - Snapshot before every write — `respira_get_snapshot` captures the duplicate's pre-write state, and `respira_restore_snapshot` rolls it back if an injection goes wrong
182
+ - Two explicit rollback paths: restore the snapshot to revert a bad write, or delete the draft duplicates entirely to undo the migration
183
+ - Preserves all original Beaver Builder content untouched
184
+
185
+ ## Honest Disclaimer
186
+
187
+ This skill converts Beaver Builder page structures to Bricks format and creates duplicates for review.
188
+
189
+ It cannot:
190
+ - Guarantee pixel-perfect visual parity between builders
191
+ - Migrate Beaver Themer layouts automatically
192
+ - Convert third-party BB add-on modules to Bricks equivalents
193
+ - Replicate BB animations in Bricks interactions
194
+ - Replace a thorough manual QA pass on every page
195
+
196
+ It can:
197
+ - Map 75-85% of standard Beaver Builder modules to Bricks elements
198
+ - Translate row/column grids to Bricks' modern flexbox containers
199
+ - Preserve content, images, links, and layout structure
200
+ - Move you to a more modern builder architecture
201
+ - Save days of manual rebuild work
202
+ - Identify exactly what needs manual attention
203
+
204
+ ## Tooling
205
+
206
+ **Core WordPress tools**
207
+ - `respira_get_site_context`
208
+ - `respira_get_builder_info`
209
+ - `respira_list_pages`
210
+ - `respira_list_posts`
211
+ - `respira_list_plugins`
212
+ - `respira_find_builder_targets`
213
+ - `respira_extract_builder_content`
214
+ - `respira_inject_builder_content`
215
+ - `respira_create_page_duplicate`
216
+ - `respira_create_post_duplicate`
217
+ - `respira_read_page`
218
+ - `respira_read_post`
219
+
220
+ **Safety and surgical-fix tools**
221
+ - `respira_get_snapshot`
222
+ - `respira_restore_snapshot`
223
+ - `respira_find_element`
224
+ - `respira_update_element`
225
+ - `respira_batch_update`
226
+
227
+ ## Telemetry
228
+
229
+ After run completion, send fire-and-forget usage tracking to:
230
+
231
+ - `POST https://www.respira.press/api/skills/track-usage`
232
+
233
+ Include:
234
+ - `skill_slug = migrate-beaver-builder-to-bricks`
235
+ - site/version context
236
+ - duration and success
237
+ - pages audited, pages migrated, warnings count
238
+ - tools used
239
+
240
+ Never block user flow on telemetry failure.
241
+
242
+ ## Related Skills
243
+
244
+ - WordPress Site DNA (understand site structure before migrating)
245
+ - Technical Debt Audit (clean up before or after migration)
246
+ - SEO & AEO Amplifier (verify SEO preservation post-migration)
247
+
248
+ ---
249
+
250
+ Built by Respira Team
251
+ https://respira.press/skills/migrate-beaver-builder-to-bricks
@@ -0,0 +1,248 @@
1
+ # Migrate Beaver Builder to Gutenberg
2
+
3
+ **Version:** 2.0.0
4
+ **Updated:** 2026-06-30
5
+ **Freshly updated:** v2.0.0 wires in current Respira safety and precision. Pre-migration now inventories source pages with `respira_find_builder_targets`. Every write is preceded by a `respira_get_snapshot`, and the existing draft-duplicate path is kept. After the initial block-markup write (`respira_update_page` / `respira_update_post`), validation issues (collapsed column widths, malformed block markup, a misconverted module) are corrected surgically with `respira_find_element` + `respira_update_element` (and `respira_batch_update` for multi-block or multi-page fixes) instead of rewriting whole pages. Snapshot restore and draft deletion are now explicit rollback paths. Reflects the current 16 supported builders.
6
+
7
+ Full-site migration from Beaver Builder to the WordPress block editor (Gutenberg). Audits every Beaver Builder page, maps modules to their Gutenberg block equivalents, builds a migration plan for approval, and executes page-by-page conversion into native block markup — all through duplicates so your live site stays untouched. Use this skill whenever someone mentions migrating from Beaver Builder to Gutenberg, switching from Beaver Builder to blocks, converting Beaver Builder pages to the block editor, or moving away from Beaver Builder to native WordPress.
8
+
9
+ ## What This Skill Does
10
+
11
+ Beaver Builder uses a module-based architecture with rows, columns, and modules stored in `_fl_builder_data` and `_fl_builder_data_settings`. Gutenberg uses a flat block structure in `post_content` with HTML comments as block delimiters. The architectural gap is moderate — Beaver Builder's row/column grid must be translated to Gutenberg's Group, Columns, and Column blocks, while individual modules map to core blocks.
12
+
13
+ This skill reads every Beaver Builder page, extracts the module structure, translates each row/column/module to its Gutenberg block equivalent, and writes the result to duplicate pages in native block markup — giving you a complete parallel version of your site to review before going live.
14
+
15
+ **Handles:**
16
+ - Row → Group block mapping
17
+ - Column layouts → Columns/Column block mapping
18
+ - Text Editor module → Paragraph/Heading blocks
19
+ - Photo module → Image block
20
+ - Button module → Buttons/Button block
21
+ - Video module → Video/Embed block
22
+ - HTML module → Custom HTML block
23
+ - Heading module → Heading block
24
+ - Icon/Icon Group modules → basic equivalents
25
+ - Separator module → Separator block
26
+ - Content slider → basic markup (flagged for enhancement)
27
+ - Call to Action module → Group + Heading + Paragraph + Button blocks
28
+
29
+ ## What This Skill Does NOT Do
30
+
31
+ - Migrate Beaver Builder's saved rows/modules library — these are separate entities
32
+ - Convert Beaver Themer layouts (headers, footers, archives, parts) — these must be rebuilt as block template parts or theme templates
33
+ - Replicate exact Beaver Builder animations/effects — Gutenberg has limited animation support
34
+ - Migrate advanced modules from third-party Beaver Builder add-ons (PowerPack, UABB, etc.) — flagged for manual handling
35
+ - Preserve exact column width percentages in all cases — Gutenberg columns have different width constraints
36
+ - Guarantee pixel-perfect visual parity — the block editor renders differently than Beaver Builder
37
+
38
+ ## Requirements
39
+
40
+ - Respira for WordPress plugin installed and connected
41
+ - MCP connection active (desktop or WebMCP)
42
+ - Beaver Builder active on the source site
43
+ - Read access to scan Beaver Builder content
44
+ - Write access to create duplicates with Gutenberg content
45
+
46
+ ## Trigger Phrase
47
+
48
+ - "migrate beaver builder to gutenberg"
49
+
50
+ ## Alternative Triggers
51
+
52
+ - "convert beaver builder to blocks"
53
+ - "switch from beaver builder to gutenberg"
54
+ - "move beaver builder to block editor"
55
+ - "replace beaver builder with gutenberg"
56
+ - "beaver builder to wordpress blocks"
57
+ - "migrate bb to gutenberg"
58
+
59
+ ## Builder Technical Context
60
+
61
+ **Source: Beaver Builder**
62
+ - Content stored in post_meta keys `_fl_builder_data` and `_fl_builder_data_settings`
63
+ - Module-based structure with rows → columns → modules hierarchy
64
+ - Read via `respira_extract_builder_content` with `builder=beaver` or `builder=beaver-builder`
65
+ - Module types: `rich-text`, `photo`, `button`, `heading`, `html`, `video`, `icon`, `separator`, `callout`, `cta`, `numbers`, `content-slider`, etc.
66
+
67
+ **Target: Gutenberg (Block Editor)**
68
+ - Content stored in `post_content` as HTML with block comment delimiters
69
+ - Format: `<!-- wp:paragraph --><p>Text</p><!-- /wp:paragraph -->`
70
+ - Write via standard WordPress content tools (`respira_update_page` / `respira_update_post`)
71
+ - Core blocks: `paragraph`, `heading`, `image`, `buttons`, `columns`, `group`, `html`, `video`, `separator`, `embed`, etc.
72
+
73
+ ## Execution Workflow
74
+
75
+ ### Phase 1: Pre-Migration Audit
76
+
77
+ 1. Verify Respira + MCP connection via `respira_get_site_context`. If unavailable, stop and show setup guidance.
78
+ 2. Detect Beaver Builder presence via `respira_get_builder_info` or `respira_list_plugins`.
79
+ 3. Inventory and scope the source pages first:
80
+ - `respira_find_builder_targets` with `builder=beaver` — a fast, ranked list of every BB-managed page/post before you touch anything
81
+ - Fall back to `respira_list_pages` / `respira_list_posts` + `respira_get_builder_info` to confirm builder per item where needed
82
+ 4. For each BB page, extract content:
83
+ - `respira_extract_builder_content` with `builder=beaver`
84
+ - Catalog: module types used, row/column structures, custom CSS, third-party modules, saved rows/modules referenced
85
+ 5. Produce an **Audit Report**:
86
+ - Total pages/posts using Beaver Builder
87
+ - Module type frequency (how many text editors, photos, buttons, etc.)
88
+ - Column layout patterns (common row structures)
89
+ - Complexity flags (third-party modules, Beaver Themer, custom CSS, animations)
90
+ - Estimated migration difficulty per page (simple / moderate / complex)
91
+
92
+ ### Phase 2: Migration Plan
93
+
94
+ Present a structured migration plan:
95
+
96
+ ```
97
+ ## Beaver Builder → Gutenberg Migration Plan
98
+
99
+ ### Site Overview
100
+ - Total Beaver Builder pages: X
101
+ - Simple pages (direct mapping): X
102
+ - Moderate pages (some manual review needed): X
103
+ - Complex pages (significant manual work): X
104
+
105
+ ### Module Mapping
106
+ | BB Module | Gutenberg Block | Notes |
107
+ |---|---|---|
108
+ | Text Editor | Paragraph / Heading | Content parsed into appropriate blocks |
109
+ | Photo | Image | Direct mapping |
110
+ | Button | Buttons > Button | Wrapped in Buttons container |
111
+ | Row (2 col) | Columns (2 col) | Width ratios preserved where possible |
112
+ | ... | ... | ... |
113
+
114
+ ### Migration Order
115
+ 1. [Page Title] — Simple — estimated 2 min
116
+ 2. [Page Title] — Moderate — estimated 5 min
117
+ ...
118
+
119
+ ### Items Requiring Manual Attention
120
+ - [Page X] — PowerPack module (no core block equivalent)
121
+ - [Page Y] — Content slider (basic fallback only)
122
+ - Beaver Themer layouts — must be rebuilt as block templates
123
+ ```
124
+
125
+ Then ask:
126
+
127
+ > Here's the migration plan. Would you like me to:
128
+ > 1. Migrate all pages (creates duplicates for review)
129
+ > 2. Migrate only simple pages first
130
+ > 3. Migrate specific pages you choose
131
+ > 4. Just keep this as a reference — no changes
132
+
133
+ Wait for explicit confirmation before proceeding.
134
+
135
+ ### Phase 3: Page-by-Page Migration
136
+
137
+ For each approved page:
138
+
139
+ 1. Extract Beaver Builder content via `respira_extract_builder_content` with `builder=beaver`
140
+ 2. Map the row/column/module hierarchy to Gutenberg blocks:
141
+ - Rows → `<!-- wp:group -->` blocks
142
+ - Columns → `<!-- wp:columns -->` with `<!-- wp:column -->` children
143
+ - Text Editor → Parse rich text into `<!-- wp:paragraph -->` and `<!-- wp:heading -->` blocks
144
+ - Photo → `<!-- wp:image -->` with src, alt, caption
145
+ - Button → `<!-- wp:buttons -->` wrapper with `<!-- wp:button -->` child
146
+ - HTML → `<!-- wp:html -->` block
147
+ - Preserve text content, image URLs, link targets, heading levels
148
+ - Flag any unmappable modules with `<!-- wp:paragraph --><p>[MIGRATION NOTE: ...]</p><!-- /wp:paragraph -->`
149
+ 3. Assemble the complete Gutenberg block markup
150
+ 4. Create a duplicate via `respira_create_page_duplicate` or `respira_create_post_duplicate`
151
+ 5. Before writing, take a snapshot with `respira_get_snapshot` so the duplicate's pre-write state can be restored if anything goes wrong
152
+ 6. Update the duplicate's `post_content` with the Gutenberg markup via `respira_update_page` or `respira_update_post`
153
+ 7. Surgical fix pass — if the written page has validation issues (collapsed column widths, malformed block markup, a misconverted module), do not rewrite the whole page. Locate the specific block with `respira_find_element` and correct it with `respira_update_element`. For repeated fixes across many blocks or several pages, batch them with `respira_batch_update`
154
+ 8. Log the migration result (success, warnings, manual review items)
155
+
156
+ ### Phase 4: Post-Migration Verification
157
+
158
+ 1. Summarize all migrated pages with status:
159
+ - Clean migrations (no issues)
160
+ - Migrations with warnings (flagged items needing review)
161
+ - Failed migrations (if any)
162
+ 2. List all manual review items:
163
+ - Third-party modules that need manual replacement
164
+ - Content sliders or advanced layouts that need enhancement
165
+ - Custom CSS that needs to be moved to theme/Additional CSS
166
+ - Beaver Themer layouts that need separate rebuilding
167
+ 3. Provide review instructions:
168
+ - Where to find duplicates in WordPress admin
169
+ - How to preview pages in the block editor
170
+ - How to delete duplicates if not wanted
171
+
172
+ ## Safety Model
173
+
174
+ - Read-only analysis first — full Beaver Builder content audit before any changes
175
+ - Explicit user confirmation before creating any duplicates
176
+ - Duplicate-first only — never modifies live/published Beaver Builder content
177
+ - Never auto-publishes duplicates
178
+ - Snapshot before every write — `respira_get_snapshot` captures the duplicate's pre-write state, and `respira_restore_snapshot` rolls it back if a write goes wrong
179
+ - Two explicit rollback paths: restore the snapshot to revert a bad write, or delete the draft duplicates entirely to undo the migration
180
+ - Preserves all original Beaver Builder content untouched
181
+
182
+ ## Honest Disclaimer
183
+
184
+ This skill converts Beaver Builder page structures to Gutenberg block markup and creates duplicates for review.
185
+
186
+ It cannot:
187
+ - Guarantee pixel-perfect visual parity between builders
188
+ - Migrate Beaver Themer layouts automatically
189
+ - Convert third-party BB add-on modules
190
+ - Replicate animations or advanced effects
191
+ - Replace a thorough manual QA pass on every page
192
+
193
+ It can:
194
+ - Map 70-85% of standard Beaver Builder modules to core Gutenberg blocks
195
+ - Preserve content, images, links, and basic layout structure
196
+ - Move you off a third-party builder dependency to native WordPress
197
+ - Save days of manual rebuild work
198
+ - Identify exactly what needs manual attention
199
+
200
+ ## Tooling
201
+
202
+ **Core WordPress tools**
203
+ - `respira_get_site_context`
204
+ - `respira_get_builder_info`
205
+ - `respira_list_pages`
206
+ - `respira_list_posts`
207
+ - `respira_list_plugins`
208
+ - `respira_find_builder_targets`
209
+ - `respira_extract_builder_content`
210
+ - `respira_create_page_duplicate`
211
+ - `respira_create_post_duplicate`
212
+ - `respira_update_page`
213
+ - `respira_update_post`
214
+ - `respira_read_page`
215
+ - `respira_read_post`
216
+
217
+ **Safety and surgical-fix tools**
218
+ - `respira_get_snapshot`
219
+ - `respira_restore_snapshot`
220
+ - `respira_find_element`
221
+ - `respira_update_element`
222
+ - `respira_batch_update`
223
+
224
+ ## Telemetry
225
+
226
+ After run completion, send fire-and-forget usage tracking to:
227
+
228
+ - `POST https://www.respira.press/api/skills/track-usage`
229
+
230
+ Include:
231
+ - `skill_slug = migrate-beaver-builder-to-gutenberg`
232
+ - site/version context
233
+ - duration and success
234
+ - pages audited, pages migrated, warnings count
235
+ - tools used
236
+
237
+ Never block user flow on telemetry failure.
238
+
239
+ ## Related Skills
240
+
241
+ - WordPress Site DNA (understand site structure before migrating)
242
+ - Technical Debt Audit (clean up before or after migration)
243
+ - SEO & AEO Amplifier (verify SEO preservation post-migration)
244
+
245
+ ---
246
+
247
+ Built by Respira Team
248
+ https://respira.press/skills/migrate-beaver-builder-to-gutenberg