Source profileQuality 92/100

respira-press/agent-skills-wordpress/skills/migrate-divi-to-bricks/SKILL.md

migrate-divi-to-bricks

Use when the user says 'migrate divi to bricks', 'convert divi to bricks', or 'rebuild divi pages in bricks'. Parses Divi shortcode content, maps modules to Bricks elements, and generates draft duplicates for review.

Source repository stars
40
Declared platforms
0
Static risk flags
0
Last source update
2026-08-04
Source checked
2026-08-05

Decision brief

What it does—and where it fits

Version: 2.1.0 Updated: 2026-08-04 Freshly updated: v2.1.0 adds design-token awareness: conversion writes now register the colors and typography they carry as named design tokens in Bricks' own global styles, and converted pages reference those tokens instead of carrying value c…

Best for

  • Use when the user says 'migrate divi to bricks', 'convert divi to bricks', or 'rebuild divi pages in bricks'.

Not for

  • Tasks that require unconfirmed production actions or broad system permissions.
  • Environments where the pinned source and install steps cannot be inspected.

Compatibility matrix

Platform support, with evidence labels

PlatformStatusEvidenceWhat to check
CodexNot declaredNo explicit evidencePortability before use
Claude CodeNot declaredNo explicit evidencePortability before use
CursorNot declaredNo explicit evidencePortability before use
Gemini CLINot declaredNo explicit evidencePortability before use
Open the compatibility checker

Installation

Inspect first. Install second.

The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.

Source-detected install commandSource
npx skills add https://github.com/respira-press/agent-skills-wordpress --skill "skills/migrate-divi-to-bricks"
Safe inspection promptEditorial

Inspect the Agent Skill "migrate-divi-to-bricks" from https://github.com/respira-press/agent-skills-wordpress/blob/10821eaabe362fe9052f6ee81ecdd62e5d2f2980/skills/migrate-divi-to-bricks/SKILL.md at commit 10821eaabe362fe9052f6ee81ecdd62e5d2f2980. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.

Workflow

What the source asks the agent to do

  1. 01

    Execution Workflow

    1. Verify Respira + MCP connection via respiragetsitecontext. If unavailable, stop and show setup guidance. 2. Confirm Divi is active via respiralistplugins and respiragetsitecontext. 3. Confirm Bricks theme is installed via respiragetsitecontext. 4. Important: If using Divi the…

    Verify Respira + MCP connection via respiragetsitecontext. If unavailable, stop and show setup guidance.Confirm Divi is active via respiralistplugins and respiragetsitecontext.Confirm Bricks theme is installed via respiragetsitecontext.
  2. 02

    Phase 1: Pre-Migration Audit

    1. Verify Respira + MCP connection via respiragetsitecontext. If unavailable, stop and show setup guidance. 2. Confirm Divi is active via respiralistplugins and respiragetsitecontext. 3. Confirm Bricks theme is installed via respiragetsitecontext. 4. Important: If using Divi the…

    Verify Respira + MCP connection via respiragetsitecontext. If unavailable, stop and show setup guidance.Confirm Divi is active via respiralistplugins and respiragetsitecontext.Confirm Bricks theme is installed via respiragetsitecontext.
  3. 03

    Phase 2: Migration Plan

    Review the “Phase 2: Migration Plan” section in the pinned source before continuing.

    Review and apply the “Phase 2: Migration Plan” source section.
  4. 04

    Phase 3: Page-by-Page Migration

    1. Read Divi content via respiraextractbuildercontent with builder=divi 2. Parse the shortcode tree: - Identify section → row → column → module hierarchy - Decode encoded content (HTML entities, percent-encoding) - Resolve global modules to inline content - Map column types to p…

    Read Divi content via respiraextractbuildercontent with builder=diviParse the shortcode tree:Identify section → row → column → module hierarchy
  5. 05

    Phase 4: Post-Migration Verification

    1. Summarize migrations: - Design tokens registered in Bricks' global styles (token names and counts) - Pages migrated, elements created, items flagged 2. For each migrated page: - Link to Bricks editor - Flagged items - Layout notes (specialty sections, encoded content) 3. Post…

    Summarize migrations:Design tokens registered in Bricks' global styles (token names and counts)Pages migrated, elements created, items flagged

Permission review

Static risk signals and limitations

No configured static risk pattern was detected

This is not proof of safety. Runtime behavior, indirect dependencies, and hidden external systems are outside the static scan.

Evidence record

Why each signal appears

EvidenceSourceComputedTestedEditorial
SignalValueEvidence typeMeaning
Quality score92/100ComputedDocumentation, specificity, maintenance, and trust rules
Repository stars40SourceRepository attention, not individual Skill quality
Compatibility0 platformsSourceDeclared in the catalog source record
Usage guideautomated source guideEditorialGenerated or reviewed according to the visible evidence level

Pinned source

Provenance and original SKILL.md

Repository
respira-press/agent-skills-wordpress
Skill path
skills/migrate-divi-to-bricks/SKILL.md
Commit
10821eaabe362fe9052f6ee81ecdd62e5d2f2980
License
MIT
Collected
2026-08-05
Default branch
main
View the original SKILL.md

Migrate Divi to Bricks

Version: 2.1.0 Updated: 2026-08-04 Freshly updated: v2.1.0 adds design-token awareness: conversion writes now register the colors and typography they carry as named design tokens in Bricks' own global styles, and converted pages reference those tokens instead of carrying value copies. Reuse registered tokens instead of re-inlining raw values, and report the registration in the migration summary.

Converts Divi-built WordPress pages to Bricks Builder. Parses Divi's shortcode-based content from post_content, maps each module to its Bricks element equivalent, generates a migration plan for approval, and writes clean Bricks JSON to the target pages. Use this skill whenever someone wants to move from Divi to Bricks, replace the Divi Builder with Bricks, or rebuild Divi pages in Bricks.

What This Skill Does

This is a cross-format migration — Divi stores content as nested shortcodes in post_content, while Bricks uses a JSON array in _bricks_page_content_2. The skill must parse Divi's shortcode hierarchy, understand each module's purpose and settings, then reconstruct that intent as Bricks elements with proper parent-child relationships and settings.

The format gap makes this complex, but both builders are feature-rich visual editors, so most Divi modules have strong Bricks equivalents. The result is cleaner, faster-rendering content in Bricks' modern architecture.

Handles:

  • et_pb_section → Bricks Section element
  • et_pb_row/et_pb_column → Bricks Container elements (with flex layout)
  • et_pb_text → Bricks Text Basic element
  • et_pb_blurb → Bricks Icon Box or Container with child elements
  • et_pb_image → Bricks Image element
  • et_pb_button → Bricks Button element
  • et_pb_video → Bricks Video element
  • et_pb_heading (via text modules) → Bricks Heading element
  • et_pb_divider → Bricks Divider element
  • et_pb_accordion/et_pb_toggle → Bricks Accordion element
  • et_pb_tabs → Bricks Tabs element
  • et_pb_gallery → Bricks Gallery element
  • et_pb_slider → Bricks Slider element (close mapping)
  • et_pb_pricing_tables → Bricks Pricing Table element
  • et_pb_code → Bricks Code element
  • et_pb_map → Bricks Map element
  • Custom CSS → Bricks custom CSS fields
  • Column width ratios → Bricks container flex percentages

Preserves:

  • All text content and inline HTML formatting
  • Image URLs, alt text, and dimensions
  • Typography settings (font family, size, weight)
  • Color values and gradients
  • Spacing (margin, padding) — converted from Divi's format to Bricks'
  • Background images and overlays
  • Border and shadow settings
  • Button labels, URLs, targets
  • CSS classes

What This Skill Does NOT Do

  • Specialty sections — Divi's specialty section layouts (sidebar + content) need manual layout setup in Bricks.
  • Global modules — Divi's global modules (et_pb_layout post type) are resolved to inline content. Bricks templates must be set up separately.
  • Third-party Divi modules — Plugins extending Divi (Divi Toolbox, Divi Supreme, etc.) are flagged for manual recreation.
  • Divi theme customizer — Global fonts, colors, and spacing from the Divi theme customizer don't transfer. These need to be set in Bricks theme settings.
  • Dynamic content — Divi's dynamic content needs Bricks' dynamic data system configured separately.
  • Contact forms — et_pb_contact_form needs to be rebuilt using Bricks' form element or a forms plugin.
  • Divi Library layouts — Stored as et_pb_layout post type; not auto-migrated to Bricks templates.
  • Motion effects — Scroll effects and animations differ between builders.
  • Divi theme dependency — If using the Divi theme (not just plugin), you are switching to Bricks theme — a complete theme change.

Requirements

  • Respira for WordPress plugin installed and connected
  • MCP connection active (desktop or WebMCP)
  • Divi theme or Divi Builder plugin active (to read source content)
  • Bricks theme installed and active (to write target content)
  • Read access to scan Divi content
  • Write access to create duplicates with Bricks content

Trigger Phrase

  • "migrate divi to bricks"

Alternative Triggers

  • "convert divi to bricks"
  • "switch from divi to bricks"
  • "rebuild divi pages in bricks"
  • "move from divi to bricks"
  • "divi to bricks migration"
  • "replace divi with bricks"

Source Builder: Divi

Divi stores content as shortcodes in post_content. The module structure follows a strict hierarchy:

[et_pb_section fb_built="1" _builder_version="4.x"]
  [et_pb_row _builder_version="4.x"]
    [et_pb_column type="4_4" _builder_version="4.x"]
      [et_pb_text _builder_version="4.x"]
        <p>Content here</p>
      [/et_pb_text]
    [/et_pb_column]
  [/et_pb_row]
[/et_pb_section]

Key Divi specifics:

  • Section types: regular, fullwidth, specialty
  • Column types: 4_4, 1_2, 1_3, 2_3, 1_4, 3_4
  • Settings as attributes: background_color, custom_margin, custom_padding, text_orientation
  • Content encoding: HTML entities, percent-encoding, occasional base64
  • Global modules: global_module attribute → et_pb_layout post type
  • Custom CSS: custom_css_main_element, custom_css_before, custom_css_after

Read Divi content via respira_extract_builder_content with builder=divi.

Target Builder: Bricks

Bricks stores content in _bricks_page_content_2 as a JSON array:

[
  { "id": "abc123", "name": "section", "parent": 0, "settings": {...} },
  { "id": "def456", "name": "container", "parent": "abc123", "settings": {...} },
  { "id": "ghi789", "name": "heading", "parent": "def456", "settings": { "tag": "h2", "text": "..." } }
]

Key Bricks specifics:

  • Elements use name field: section, container, heading, text-basic, image, button
  • Parent-child via parent field referencing id
  • IDs are short alphanumeric strings
  • Settings use Bricks-specific keys
  • Responsive via _breakpoints within settings

Write Bricks content via respira_inject_builder_content with builder=bricks.

Execution Workflow

Phase 1: Pre-Migration Audit

  1. Verify Respira + MCP connection via respira_get_site_context. If unavailable, stop and show setup guidance.
  2. Confirm Divi is active via respira_list_plugins and respira_get_site_context.
  3. Confirm Bricks theme is installed via respira_get_site_context.
  4. Important: If using Divi theme (not plugin), note this is a full theme switch to Bricks.
  5. Scan and scope all Divi content:
    • respira_list_pages and respira_list_posts — identify all content
    • respira_find_builder_targets with builder=divi — inventory the Divi-managed pages to scope the migration
    • Confirm the builder per page via respira_get_builder_info
  6. Extract Divi content via respira_extract_builder_content with builder=divi
  7. Build inventory:
    • Total pages/posts using Divi
    • Module types (frequency count)
    • Specialty sections found
    • Global modules referenced
    • Third-party Divi modules
    • Content encoding issues
    • Complexity per page

Phase 2: Migration Plan

## Divi → Bricks Migration Plan

### Theme Transition Note
[If Divi theme is active]: This migration involves switching from the Divi
theme to the Bricks theme. Headers, footers, and global templates will need
to be recreated in Bricks' template system.

### Site Inventory
- Total Divi pages: X
- Total modules to convert: X
- Auto-convertible: X (Y%)
- Manual attention: X (Y%)

### Module → Element Mapping
| Divi Module        | Bricks Element  | Status   |
|-------------------|----------------|----------|
| et_pb_text        | text-basic     | Auto     |
| et_pb_image       | image          | Auto     |
| et_pb_blurb       | icon-box       | Auto     |
| et_pb_button      | button         | Auto     |
| et_pb_slider      | slider         | Auto     |
| et_pb_tabs        | tabs           | Auto     |
| et_pb_accordion   | accordion      | Auto     |
| et_pb_contact     | —              | Manual   |
| [divi addon]      | —              | Manual   |

### Shortcode Parsing Complexity
- Pages with clean shortcodes: X
- Pages with encoded content: X (will decode during migration)
- Pages with specialty sections: X (layout approximation needed)

### Page-by-Page Plan
1. **[Page Title]** — X modules, [complexity]
2. ...

Ask for confirmation:

Bricks offers a modern replacement for Divi with cleaner output. Your originals stay safe.

  1. Migrate all pages
  2. Migrate specific pages
  3. Start with a test page (recommended)
  4. Just keep this plan

Phase 3: Page-by-Page Migration

For each approved page:

  1. Read Divi content via respira_extract_builder_content with builder=divi
  2. Parse the shortcode tree:
    • Identify section → row → column → module hierarchy
    • Decode encoded content (HTML entities, percent-encoding)
    • Resolve global modules to inline content
    • Map column types to percentage widths
  3. Build Bricks JSON array:
    • Create section element for each et_pb_section
    • Create container elements for rows/columns with flex layout
    • Map column widths: 4_4→100%, 1_2→50%, 1_3→33.33%, etc.
    • Convert each module → Bricks element:
      • et_pb_texttext-basic (preserve inner HTML)
      • et_pb_blurbicon-box or container with children
      • et_pb_imageimage (map src, alt, title attributes)
      • et_pb_buttonbutton (map text, URL, style)
    • Map Divi attributes to Bricks settings (colors, spacing, typography)
    • Generate unique IDs and proper parent references
    • Flag unmappable modules with comments
  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
  5. Create duplicate via respira_create_page_duplicate or respira_create_post_duplicate
  6. Write Bricks JSON to the duplicate via respira_inject_builder_content with builder=bricks
  7. Surgical fixes (not a re-inject): when a single element lands wrong — a heading, a button label, a container width — 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.
  8. Report status

Phase 4: Post-Migration Verification

  1. Summarize migrations:
    • Design tokens registered in Bricks' global styles (token names and counts)
    • Pages migrated, elements created, items flagged
  2. For each migrated page:
    • Link to Bricks editor
    • Flagged items
    • Layout notes (specialty sections, encoded content)
  3. Post-migration checklist:
    • Open each duplicate in Bricks editor
    • Verify section/container structure
    • Check responsive views
    • Verify images and media
    • Test links and buttons
    • Recreate flagged modules
    • Set up Bricks templates for header/footer (if switching from Divi theme)
    • Rebuild contact forms using Bricks form element or plugin
    • Compare with Divi original
    • Check for any Divi shortcode remnants

Design Tokens

Conversion writes now register the colors and typography they carry as named design tokens in Bricks' own global styles, and the converted pages reference those tokens instead of carrying value copies. When fixing or extending a migrated page, reuse the registered tokens (respira_list_design_tokens shows them) rather than re-inlining raw hex values or font stacks. And say so when you finish: the migration summary should name the tokens that were registered and note that migrated pages reference them.

Safety Model

  • Read-only analysis first — full content scan before any changes
  • Explicit user confirmation required before creating duplicates
  • Original Divi pages are never modified or deleted
  • All migrated content goes to draft duplicates only
  • Never auto-publishes migrated pages
  • Takes a respira_get_snapshot checkpoint before each write
  • Explicit rollback: restore the snapshot via respira_restore_snapshot, or delete the draft duplicates if they are not wanted
  • Warns about theme switch implications if using Divi theme

Honest Disclaimer

This skill converts Divi page content to Bricks format and creates draft duplicates for review.

It cannot:

  • Migrate Divi specialty sections with perfect layout fidelity
  • Convert global modules to Bricks templates automatically
  • Handle third-party Divi plugin modules
  • Migrate Divi theme customizer settings
  • Replace forms, popups, or animation setup
  • Guarantee pixel-perfect results from shortcode-to-JSON conversion

It can:

  • Parse complex Divi shortcode hierarchies including encoded content
  • Convert 75-85% of standard Divi modules to Bricks elements
  • Preserve all text, images, links, and core styling
  • Take advantage of Bricks' modern, faster rendering
  • Save days of manual page rebuilding
  • Flag everything that needs manual attention
  • Keep original pages completely safe

Tooling

Core WordPress tools

  • respira_get_site_context
  • respira_list_plugins
  • respira_list_pages
  • respira_list_posts
  • respira_read_page
  • respira_read_post
  • respira_get_builder_info
  • respira_extract_builder_content
  • respira_inject_builder_content
  • respira_find_builder_targets
  • respira_create_page_duplicate
  • respira_create_post_duplicate
  • respira_get_snapshot
  • respira_restore_snapshot
  • respira_find_element
  • respira_update_element
  • respira_batch_update

Telemetry

After run completion, send fire-and-forget usage tracking to:

  • POST https://www.respira.press/api/skills/track-usage

Include:

  • skill_slug = migrate-divi-to-bricks
  • site/version context
  • duration and success
  • pages migrated, elements created, modules flagged counts
  • tools used

Never block user flow on telemetry failure.

Related Skills

  • WordPress Site DNA (understand site structure and theme before migrating)
  • Internal Link Builder (verify internal links post-migration)
  • SEO & AEO Amplifier (verify SEO preservation post-migration)
  • Technical Debt Audit (find Divi shortcode remnants post-migration)

Built by Respira Team https://respira.press/skills/migrate-divi-to-bricks

Alternatives

Compare before choosing

Computed 10043,034

coreyhaines31/marketingskills

ab-testing

When the user wants to plan, design, or implement an A/B test or experiment, or build a growth experimentation program. Also use when the user mentions "A/B test," "split test," "experiment," "test this change," "variant copy," "multivariate test," "hypothesis," "should I test this," "which version is better," "test two versions," "statistical significance," "how long should I run this test," "growth experiments," "experiment velocity," "experiment backlog," "ICE score," "experimentation program

Computed 10043,034

coreyhaines31/marketingskills

churn-prevention

When the user wants to reduce churn, build cancellation flows, set up save offers, recover failed payments, or implement retention strategies. Also use when the user mentions 'churn,' 'cancel flow,' 'offboarding,' 'save offer,' 'dunning,' 'failed payment recovery,' 'win-back,' 'retention,' 'exit survey,' 'pause subscription,' 'involuntary churn,' 'people keep canceling,' 'churn rate is too high,' 'how do I keep users,' or 'customers are leaving.' Use this whenever someone is losing subscribers o

Computed 10014,533

prowler-cloud/prowler

postgresql-indexing

PostgreSQL indexing best practices for Prowler: index design, partial indexes, partitioned table indexing, EXPLAIN ANALYZE validation, concurrent operations, monitoring, and maintenance. Trigger: When creating or modifying PostgreSQL indexes, analyzing query performance with EXPLAIN, debugging slow queries, reviewing index usage statistics, reindexing, dropping indexes, or working with partitioned table indexes. Also trigger when discussing index strategies, partial indexes, or index maintenance

Computed 100165

JasonColapietro/suede-creator-skills

suede-ab-testing

Suede-owned experimentation discipline for hypotheses, sample sizing, test duration, significance, and repeatable experiment programs. Use when comparing variants, deciding whether a result is reliable, or building an experiment backlog and cadence. NOT FOR: analytics instrumentation (use suede-analytics), post-click conversion diagnosis (use suede-site-alchemy), or writing the variant copy itself (use suede-copy).