@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,235 @@
1
+ # Migrate Oxygen to Breakdance
2
+
3
+ **Version:** 2.0.0
4
+ **Updated:** 2026-06-30
5
+ **Freshly updated:** v2.0.0 weaves in the current Respira safety and precision flow — `respira_find_builder_targets` to inventory and scope source pages up front, a `respira_get_snapshot` checkpoint before any write, and surgical fixes via `respira_find_element` + `respira_update_element` (and `respira_batch_update` for multi-element or multi-page corrections) instead of re-injecting whole pages. Rollback is now explicit (restore the snapshot, delete the draft duplicates). Reflects the current 16 supported builders.
6
+
7
+ Full-site migration from Oxygen Builder to Breakdance. Audits every Oxygen-built page, maps components to their Breakdance equivalents, builds a migration plan for approval, and executes page-by-page conversion — all through duplicates so your live site stays untouched. Use this skill whenever someone mentions migrating from Oxygen to Breakdance, switching from Oxygen to Breakdance, converting Oxygen pages to Breakdance, or replacing Oxygen with Breakdance.
8
+
9
+ ## What This Skill Does
10
+
11
+ Oxygen and Breakdance share the same developer lineage (Soflyy), which makes this one of the smoothest builder migrations available. Many component concepts, naming conventions, and architectural decisions carry over directly. However, the underlying storage formats are completely different — Oxygen uses JSON shortcodes in `ct_builder_shortcodes` while Breakdance uses its own post_meta format — so content must still be extracted, mapped, and re-encoded.
12
+
13
+ This skill reads every Oxygen page, extracts the builder content, translates each component to its Breakdance equivalent, and writes the result to duplicate pages in Breakdance format — giving you a complete parallel version of your site to review before going live.
14
+
15
+ **Handles:**
16
+ - Section → Breakdance Section mapping
17
+ - Container/Div → Breakdance Div mapping
18
+ - Heading, Text, Image, Button, Video, Icon components
19
+ - Flexbox layout settings (direction, alignment, gap, wrap)
20
+ - Column/grid structures
21
+ - Custom CSS classes and inline styles
22
+ - Link elements and CTAs
23
+ - Code blocks and custom HTML
24
+
25
+ ## What This Skill Does NOT Do
26
+
27
+ - Migrate Oxygen's Global Styles or Style Sheets — Breakdance uses its own global styling system
28
+ - Convert Oxygen conditions (visibility rules) — Breakdance has its own conditions system that must be configured separately
29
+ - Migrate Oxygen's custom PHP/code block logic — flagged for manual porting
30
+ - Recreate Oxygen templates (headers, footers, archives) — Breakdance templates must be rebuilt using its template system
31
+ - Transfer WooCommerce builder templates — product/shop templates need separate handling
32
+ - Guarantee pixel-perfect visual parity — some spacing/sizing will need fine-tuning
33
+
34
+ ## Requirements
35
+
36
+ - Respira for WordPress plugin installed and connected
37
+ - MCP connection active (desktop or WebMCP)
38
+ - Oxygen Builder active on the source site
39
+ - Breakdance installed on the target site (can be the same site)
40
+ - Read access to scan Oxygen content
41
+ - Write access to create duplicates with Breakdance content
42
+
43
+ ## Trigger Phrase
44
+
45
+ - "migrate oxygen to breakdance"
46
+
47
+ ## Alternative Triggers
48
+
49
+ - "convert oxygen to breakdance"
50
+ - "switch from oxygen to breakdance"
51
+ - "move oxygen pages to breakdance"
52
+ - "replace oxygen with breakdance"
53
+ - "oxygen to breakdance migration"
54
+ - "upgrade oxygen to breakdance"
55
+
56
+ ## Builder Technical Context
57
+
58
+ **Source: Oxygen Builder**
59
+ - Content stored in post_meta key `ct_builder_shortcodes`
60
+ - JSON-based structure encoding nested components
61
+ - Read via `respira_extract_builder_content` with `builder=oxygen`
62
+ - Components: `ct_section`, `ct_div`, `ct_headline`, `ct_text_block`, `ct_image`, `ct_link_button`, etc.
63
+
64
+ **Target: Breakdance**
65
+ - Content stored in post_meta
66
+ - Write via `respira_inject_builder_content` with `builder=breakdance`
67
+ - Elements: `EssentialElements\Section`, `EssentialElements\Div`, `EssentialElements\Heading`, `EssentialElements\Text`, `EssentialElements\Image`, `EssentialElements\Button`, etc.
68
+
69
+ ## Execution Workflow
70
+
71
+ ### Phase 1: Pre-Migration Audit
72
+
73
+ 1. Verify Respira + MCP connection via `respira_get_site_context`. If unavailable, stop and show setup guidance.
74
+ 2. Detect Oxygen presence via `respira_get_builder_info` or `respira_list_plugins`.
75
+ 3. Inventory all Oxygen-built content:
76
+ - `respira_list_pages` and `respira_list_posts` — identify all content
77
+ - `respira_find_builder_targets` with `builder=oxygen` — find Oxygen-managed pages
78
+ 4. For each Oxygen page, extract content:
79
+ - `respira_extract_builder_content` with `builder=oxygen`
80
+ - Catalog: component types used, nesting depth, custom CSS, dynamic data usage, code blocks
81
+ 5. Produce an **Audit Report**:
82
+ - Total pages/posts using Oxygen
83
+ - Component type frequency (how many sections, headings, images, etc.)
84
+ - Complexity flags (custom PHP, conditions, dynamic data, WooCommerce templates)
85
+ - Estimated migration difficulty per page (simple / moderate / complex)
86
+
87
+ ### Phase 2: Migration Plan
88
+
89
+ Present a structured migration plan:
90
+
91
+ ```
92
+ ## Oxygen → Breakdance Migration Plan
93
+
94
+ ### Site Overview
95
+ - Total Oxygen pages: X
96
+ - Simple pages (direct mapping): X
97
+ - Moderate pages (some manual review needed): X
98
+ - Complex pages (significant manual work): X
99
+
100
+ ### Component Mapping
101
+ | Oxygen Component | Breakdance Equivalent | Notes |
102
+ |---|---|---|
103
+ | ct_section | Section | Direct mapping — same developer lineage |
104
+ | ct_div | Div | Direct mapping |
105
+ | ct_headline | Heading | Direct mapping |
106
+ | ... | ... | ... |
107
+
108
+ ### Migration Order
109
+ 1. [Page Title] — Simple — estimated 2 min
110
+ 2. [Page Title] — Moderate — estimated 5 min
111
+ ...
112
+
113
+ ### Items Requiring Manual Attention
114
+ - [Page X] — Custom PHP code block
115
+ - [Page Y] — Oxygen condition logic
116
+ - Global Styles — must be recreated in Breakdance Global Settings
117
+ ```
118
+
119
+ Then ask:
120
+
121
+ > Here's the migration plan. Would you like me to:
122
+ > 1. Migrate all pages (creates duplicates for review)
123
+ > 2. Migrate only simple pages first
124
+ > 3. Migrate specific pages you choose
125
+ > 4. Just keep this as a reference — no changes
126
+
127
+ Wait for explicit confirmation before proceeding.
128
+
129
+ ### Phase 3: Page-by-Page Migration
130
+
131
+ For each approved page:
132
+
133
+ 1. Extract Oxygen content via `respira_extract_builder_content` with `builder=oxygen`
134
+ 2. Map each Oxygen component to its Breakdance equivalent:
135
+ - Translate component types (ct_section → Section, ct_div → Div, etc.)
136
+ - Convert layout properties (flexbox settings, spacing, sizing)
137
+ - Map CSS classes and inline styles
138
+ - Preserve text content, image URLs, link targets
139
+ - Flag any unmappable components (custom PHP, conditions) with inline comments
140
+ 3. Build the Breakdance content structure
141
+ 4. Take a `respira_get_snapshot` checkpoint of the target before any write, so the page can be restored exactly if the conversion needs unwinding
142
+ 5. Create a duplicate via `respira_create_page_duplicate` or `respira_create_post_duplicate`
143
+ 6. Inject Breakdance content into the duplicate via `respira_inject_builder_content` with `builder=breakdance`
144
+ 7. Surgical fixes (not a re-inject): when a single element lands wrong — a heading, a button label, a spacing value — locate it with `respira_find_element` and correct it in place with `respira_update_element`. For repeated corrections across many elements or several migrated pages, batch them with `respira_batch_update` rather than re-injecting whole pages.
145
+ 8. Log the migration result (success, warnings, manual review items)
146
+
147
+ ### Phase 4: Post-Migration Verification
148
+
149
+ 1. Summarize all migrated pages with status:
150
+ - Clean migrations (no issues)
151
+ - Migrations with warnings (flagged items needing review)
152
+ - Failed migrations (if any)
153
+ 2. List all manual review items:
154
+ - Custom PHP code blocks that need porting
155
+ - Dynamic data references that need reconnecting
156
+ - Oxygen conditions that need rebuilding in Breakdance
157
+ 3. Provide review instructions:
158
+ - Where to find duplicates in WordPress admin
159
+ - How to preview Breakdance pages
160
+ - How to delete duplicates if not wanted
161
+
162
+ ## Safety Model
163
+
164
+ - Read-only analysis first — full Oxygen content audit before any changes
165
+ - Explicit user confirmation before creating any duplicates
166
+ - Snapshot before every write — `respira_get_snapshot` captures the target so it can be returned to its exact prior state
167
+ - Duplicate-first only — never modifies live/published Oxygen content
168
+ - Never auto-publishes duplicates
169
+ - Explicit rollback path — restore the snapshot via `respira_restore_snapshot`, or delete the draft duplicates, to undo a migration cleanly
170
+ - Preserves all original Oxygen content untouched
171
+
172
+ ## Honest Disclaimer
173
+
174
+ This skill converts Oxygen page structures to Breakdance format and creates duplicates for review.
175
+
176
+ It cannot:
177
+ - Guarantee pixel-perfect visual parity between builders
178
+ - Migrate Oxygen Global Styles or conditions automatically
179
+ - Convert custom PHP code blocks to Breakdance equivalents
180
+ - Handle WooCommerce template migrations
181
+ - Replace a thorough manual QA pass on every page
182
+
183
+ It can:
184
+ - Leverage the shared developer lineage for high-fidelity component mapping
185
+ - Map 85-95% of standard Oxygen components to Breakdance equivalents
186
+ - Preserve content, images, links, and layout structure
187
+ - Save days of manual rebuild work
188
+ - Identify exactly what needs manual attention
189
+
190
+ ## Tooling
191
+
192
+ **Core WordPress tools**
193
+ - `respira_get_site_context`
194
+ - `respira_get_builder_info`
195
+ - `respira_list_pages`
196
+ - `respira_list_posts`
197
+ - `respira_list_plugins`
198
+ - `respira_find_builder_targets`
199
+ - `respira_extract_builder_content`
200
+ - `respira_inject_builder_content`
201
+ - `respira_get_snapshot`
202
+ - `respira_restore_snapshot`
203
+ - `respira_find_element`
204
+ - `respira_update_element`
205
+ - `respira_batch_update`
206
+ - `respira_create_page_duplicate`
207
+ - `respira_create_post_duplicate`
208
+ - `respira_read_page`
209
+ - `respira_read_post`
210
+
211
+ ## Telemetry
212
+
213
+ After run completion, send fire-and-forget usage tracking to:
214
+
215
+ - `POST https://www.respira.press/api/skills/track-usage`
216
+
217
+ Include:
218
+ - `skill_slug = migrate-oxygen-to-breakdance`
219
+ - site/version context
220
+ - duration and success
221
+ - pages audited, pages migrated, warnings count
222
+ - tools used
223
+
224
+ Never block user flow on telemetry failure.
225
+
226
+ ## Related Skills
227
+
228
+ - WordPress Site DNA (understand site structure before migrating)
229
+ - Technical Debt Audit (clean up before or after migration)
230
+ - SEO & AEO Amplifier (verify SEO preservation post-migration)
231
+
232
+ ---
233
+
234
+ Built by Respira Team
235
+ https://respira.press/skills/migrate-oxygen-to-breakdance
@@ -0,0 +1,237 @@
1
+ # Migrate Oxygen 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 flex/column widths, broken parent refs, a misconverted component) 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 Oxygen Builder to Bricks Builder. Audits every Oxygen-built page, maps components 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 Oxygen to Bricks, switching from Oxygen to Bricks, converting Oxygen pages to Bricks, or replacing Oxygen with Bricks Builder.
8
+
9
+ ## What This Skill Does
10
+
11
+ Oxygen and Bricks are both modern, developer-oriented builders with similar mental models — containers, sections, flexbox layouts, dynamic data. This makes Oxygen-to-Bricks one of the most straightforward builder migrations. The structural concepts translate almost 1:1, but the underlying data formats are completely different (Oxygen's JSON shortcodes in `ct_builder_shortcodes` vs. Bricks' JSON array in `_bricks_page_content_2`), so content must be extracted, mapped, and re-encoded.
12
+
13
+ This skill reads every Oxygen page, extracts the builder content, translates each component 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
+ - Section → Bricks Section mapping
17
+ - Container/Div → Bricks Container mapping
18
+ - Heading, Text, Image, Button, Video, Icon components
19
+ - Flexbox layout settings (direction, alignment, gap, wrap)
20
+ - Column/grid structures
21
+ - Custom CSS classes and inline styles
22
+ - Link elements and CTAs
23
+ - Code blocks and custom HTML
24
+ - Repeater/dynamic data placeholders (flagged for manual review)
25
+
26
+ ## What This Skill Does NOT Do
27
+
28
+ - Migrate Oxygen's Global Styles or Style Sheets — Bricks uses its own theme style system
29
+ - Convert Oxygen conditions (visibility rules) — these must be rebuilt in Bricks
30
+ - Migrate Oxygen's custom PHP/code block logic — flagged for manual porting
31
+ - Recreate Oxygen templates (headers, footers, archives) — Bricks templates are structurally different and must be rebuilt
32
+ - Transfer WooCommerce builder templates — product/shop templates need separate handling
33
+ - Guarantee pixel-perfect visual parity — some spacing/sizing will need fine-tuning in Bricks
34
+
35
+ ## Requirements
36
+
37
+ - Respira for WordPress plugin installed and connected
38
+ - MCP connection active (desktop or WebMCP)
39
+ - Oxygen Builder active on the source site
40
+ - Bricks Builder installed on the target site (can be the same site)
41
+ - Read access to scan Oxygen content
42
+ - Write access to create duplicates with Bricks content
43
+
44
+ ## Trigger Phrase
45
+
46
+ - "migrate oxygen to bricks"
47
+
48
+ ## Alternative Triggers
49
+
50
+ - "convert oxygen to bricks"
51
+ - "switch from oxygen to bricks"
52
+ - "move oxygen pages to bricks"
53
+ - "replace oxygen with bricks"
54
+ - "oxygen to bricks migration"
55
+
56
+ ## Builder Technical Context
57
+
58
+ **Source: Oxygen Builder**
59
+ - Content stored in post_meta key `ct_builder_shortcodes`
60
+ - JSON-based structure encoding nested components
61
+ - Read via `respira_extract_builder_content` with `builder=oxygen`
62
+ - Components: `ct_section`, `ct_div`, `ct_headline`, `ct_text_block`, `ct_image`, `ct_link_button`, etc.
63
+
64
+ **Target: Bricks Builder**
65
+ - Content stored in post_meta key `_bricks_page_content_2` as a JSON array
66
+ - Each element is an object with `id`, `name`, `parent`, `settings`, `children`
67
+ - Write via `respira_inject_builder_content` with `builder=bricks`
68
+ - Elements: `section`, `container`, `heading`, `text`, `image`, `button`, etc.
69
+
70
+ ## Execution Workflow
71
+
72
+ ### Phase 1: Pre-Migration Audit
73
+
74
+ 1. Verify Respira + MCP connection via `respira_get_site_context`. If unavailable, stop and show setup guidance.
75
+ 2. Detect Oxygen presence via `respira_get_builder_info` or `respira_list_plugins`.
76
+ 3. Inventory and scope the source pages first:
77
+ - `respira_find_builder_targets` with `builder=oxygen` — a fast, ranked list of every Oxygen-managed page/post before you touch anything
78
+ - Fall back to `respira_list_pages` / `respira_list_posts` + `respira_get_builder_info` to confirm builder per item where needed
79
+ 4. For each Oxygen page, extract content:
80
+ - `respira_extract_builder_content` with `builder=oxygen`
81
+ - Catalog: component types used, nesting depth, custom CSS, dynamic data usage, code blocks
82
+ 5. Produce an **Audit Report**:
83
+ - Total pages/posts using Oxygen
84
+ - Component type frequency (how many sections, headings, images, etc.)
85
+ - Complexity flags (custom PHP, conditions, dynamic data, WooCommerce templates)
86
+ - Estimated migration difficulty per page (simple / moderate / complex)
87
+
88
+ ### Phase 2: Migration Plan
89
+
90
+ Present a structured migration plan:
91
+
92
+ ```
93
+ ## Oxygen → Bricks Migration Plan
94
+
95
+ ### Site Overview
96
+ - Total Oxygen pages: X
97
+ - Simple pages (direct mapping): X
98
+ - Moderate pages (some manual review needed): X
99
+ - Complex pages (significant manual work): X
100
+
101
+ ### Component Mapping
102
+ | Oxygen Component | Bricks Equivalent | Notes |
103
+ |---|---|---|
104
+ | ct_section | section | Direct mapping |
105
+ | ct_div | container | Direct mapping |
106
+ | ct_headline | heading | Direct mapping |
107
+ | ... | ... | ... |
108
+
109
+ ### Migration Order
110
+ 1. [Page Title] — Simple — estimated 2 min
111
+ 2. [Page Title] — Moderate — estimated 5 min
112
+ ...
113
+
114
+ ### Items Requiring Manual Attention
115
+ - [Page X] — Custom PHP code block (line 45)
116
+ - [Page Y] — Oxygen condition logic
117
+ - Global Styles — must be recreated in Bricks Theme Styles
118
+ ```
119
+
120
+ Then ask:
121
+
122
+ > Here's the migration plan. Would you like me to:
123
+ > 1. Migrate all pages (creates duplicates for review)
124
+ > 2. Migrate only simple pages first
125
+ > 3. Migrate specific pages you choose
126
+ > 4. Just keep this as a reference — no changes
127
+
128
+ Wait for explicit confirmation before proceeding.
129
+
130
+ ### Phase 3: Page-by-Page Migration
131
+
132
+ For each approved page:
133
+
134
+ 1. Extract Oxygen content via `respira_extract_builder_content` with `builder=oxygen`
135
+ 2. Map each Oxygen component to its Bricks equivalent:
136
+ - Translate component types (ct_section → section, ct_div → container, etc.)
137
+ - Convert layout properties (flexbox settings, spacing, sizing)
138
+ - Map CSS classes and inline styles
139
+ - Preserve text content, image URLs, link targets
140
+ - Flag any unmappable components (custom PHP, conditions) with inline comments
141
+ 3. Build the Bricks JSON array structure
142
+ 4. Create a duplicate via `respira_create_page_duplicate` or `respira_create_post_duplicate`
143
+ 5. Before writing, take a snapshot with `respira_get_snapshot` so the duplicate's pre-write state can be restored if anything goes wrong
144
+ 6. Inject Bricks content via `respira_inject_builder_content` with `builder=bricks`
145
+ 7. Surgical fix pass — if the injected page has validation issues (collapsed flex/column widths, broken parent refs, a misconverted component), 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`
146
+ 8. Log the migration result (success, warnings, manual review items)
147
+
148
+ ### Phase 4: Post-Migration Verification
149
+
150
+ 1. Summarize all migrated pages with status:
151
+ - Clean migrations (no issues)
152
+ - Migrations with warnings (flagged items needing review)
153
+ - Failed migrations (if any)
154
+ 2. List all manual review items:
155
+ - Custom PHP code blocks that need porting
156
+ - Dynamic data references that need reconnecting
157
+ - Oxygen conditions that need rebuilding in Bricks
158
+ 3. Provide review instructions:
159
+ - Where to find duplicates in WordPress admin
160
+ - How to preview Bricks pages
161
+ - How to delete duplicates if not wanted
162
+
163
+ ## Safety Model
164
+
165
+ - Read-only analysis first — full Oxygen content audit before any changes
166
+ - Explicit user confirmation before creating any duplicates
167
+ - Duplicate-first only — never modifies live/published Oxygen content
168
+ - Never auto-publishes duplicates
169
+ - 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
170
+ - Two explicit rollback paths: restore the snapshot to revert a bad write, or delete the draft duplicates entirely to undo the migration
171
+ - Preserves all original Oxygen content untouched
172
+
173
+ ## Honest Disclaimer
174
+
175
+ This skill converts Oxygen page structures to Bricks format and creates duplicates for review.
176
+
177
+ It cannot:
178
+ - Guarantee pixel-perfect visual parity between builders
179
+ - Migrate Oxygen Global Styles or conditions automatically
180
+ - Convert custom PHP code blocks to Bricks equivalents
181
+ - Handle WooCommerce template migrations
182
+ - Replace a thorough manual QA pass on every page
183
+
184
+ It can:
185
+ - Map 80-90% of standard Oxygen components to Bricks equivalents
186
+ - Preserve content, images, links, and layout structure
187
+ - Save days of manual rebuild work
188
+ - Identify exactly what needs manual attention
189
+
190
+ ## Tooling
191
+
192
+ **Core WordPress tools**
193
+ - `respira_get_site_context`
194
+ - `respira_get_builder_info`
195
+ - `respira_list_pages`
196
+ - `respira_list_posts`
197
+ - `respira_list_plugins`
198
+ - `respira_find_builder_targets`
199
+ - `respira_extract_builder_content`
200
+ - `respira_inject_builder_content`
201
+ - `respira_create_page_duplicate`
202
+ - `respira_create_post_duplicate`
203
+ - `respira_read_page`
204
+ - `respira_read_post`
205
+
206
+ **Safety and surgical-fix tools**
207
+ - `respira_get_snapshot`
208
+ - `respira_restore_snapshot`
209
+ - `respira_find_element`
210
+ - `respira_update_element`
211
+ - `respira_batch_update`
212
+
213
+ ## Telemetry
214
+
215
+ After run completion, send fire-and-forget usage tracking to:
216
+
217
+ - `POST https://www.respira.press/api/skills/track-usage`
218
+
219
+ Include:
220
+ - `skill_slug = migrate-oxygen-to-bricks`
221
+ - site/version context
222
+ - duration and success
223
+ - pages audited, pages migrated, warnings count
224
+ - tools used
225
+
226
+ Never block user flow on telemetry failure.
227
+
228
+ ## Related Skills
229
+
230
+ - WordPress Site DNA (understand site structure before migrating)
231
+ - Technical Debt Audit (clean up before or after migration)
232
+ - SEO & AEO Amplifier (verify SEO preservation post-migration)
233
+
234
+ ---
235
+
236
+ Built by Respira Team
237
+ https://respira.press/skills/migrate-oxygen-to-bricks