respira-press/agent-skills-wordpress/migrate-wpbakery-to-bricks
Claude Code and agent skill by respira-press/agent-skills-wordpress
- community
- ext:[{"type":"plugin","description":"Custom plugin integration"}]
Checking that the SKILL.md file is still in the repository.
Use when the user says 'migrate wpbakery to bricks', 'convert visual composer to bricks', or wants to modernize a WPBakery site onto Bricks. Parses WPBakery shortcodes, maps elements to their Bricks equivalents, and creates draft duplicates for review.
Install
npx vskill@latest install respira-press/agent-skills-wordpress/migrate-wpbakery-to-bricksSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
Migrate WPBakery to Bricks
Version: 2.2.0 Updated: 2026-09-13 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 WPBakery Page Builder pages to Bricks Builder. Parses WPBakery's shortcode-based content from post_content, maps each element to its Bricks 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 WPBakery to Bricks, modernize an older WPBakery site with Bricks, or switch page builders from WPBakery/Visual Composer to Bricks.
What This Skill Does
WPBakery is one of the most common legacy page builders — it comes bundled with thousands of ThemeForest themes and millions of sites still use it. Moving to Bricks is a significant modernization: from shortcode-based content in post_content to clean JSON in _bricks_page_content_2, from heavy frontend CSS/JS to Bricks' lightweight rendering, and from an aging interface to a modern visual editor.
This skill handles the format translation — parsing WPBakery's [vc_*] shortcodes, decoding its URL encoding and Design Options CSS, and generating proper Bricks JSON with correct element hierarchies and settings.
Handles:
- vc_row/vc_column → Bricks Section/Container elements
- vc_column_text → Bricks Text Basic element (parsed for headings, paragraphs)
- vc_single_image → Bricks Image element
- vc_btn/vc_button → Bricks Button element
- vc_video → Bricks Video element
- vc_separator → Bricks Divider element
- vc_empty_space → Bricks spacing (via container padding or dedicated spacer)
- vc_custom_heading → Bricks Heading element
- vc_gallery/vc_images_carousel → Bricks Gallery/Carousel element
- vc_toggle → Bricks Accordion item
- vc_accordion → Bricks Accordion element
- vc_tabs → Bricks Tabs element
- vc_raw_html/vc_raw_js → Bricks Code element
- vc_icon → Bricks Icon element
- vc_gmaps → Bricks Map element
- vc_progress_bar → Bricks Progress Bar element
- vc_row_inner/vc_column_inner → nested Bricks containers
- Design Options CSS → Bricks settings (background, padding, border)
- el_class/el_id → Bricks custom CSS classes and attributes
Preserves:
- All text content and HTML formatting
- Image URLs, alt text, captions
- Typography where explicitly set
- Color values from Design Options
- Spacing from Design Options
- Background colors and images
- Button labels, URLs, targets
- Video embed URLs
- Gallery image sets
- CSS classes (el_class) and IDs (el_id)
What This Skill Does NOT Do
- Theme-bundled custom elements — Many ThemeForest themes add custom WPBakery elements (team member, portfolio, testimonial, pricing, etc.). These are theme-specific shortcodes with no Bricks equivalent. They are flagged for manual recreation.
- WPBakery addons — Ultimate Addons for WPBakery, Starter Templates, Starter Sites, and other addon plugins add proprietary elements that cannot be auto-mapped.
- vc_grid/vc_masonry_grid — Post grid elements with complex queries. These need Bricks' Query Loop or posts element configured manually.
- Revolution Slider / Layer Slider — Often bundled with WPBakery themes but are separate plugins outside migration scope.
- Complex Design Options — WPBakery encodes CSS in a single attribute string. Background gradients, complex border configurations, and CSS filters may be partially extracted.
- Frontend editor positioning — Pixel-precise layouts from WPBakery's frontend editor may need spacing adjustment.
- Templates — WPBakery saved templates are not auto-converted to Bricks templates.
Requirements
- Respira for WordPress plugin installed and connected
- MCP connection active (desktop or WebMCP)
- WPBakery Page Builder plugin active (to ensure shortcodes are parseable)
- Bricks theme installed and active (to write target content)
- Read access to scan WPBakery content
- Write access to create duplicates with Bricks content
Trigger Phrase
- "migrate wpbakery to bricks"
Alternative Triggers
- "convert wpbakery to bricks"
- "switch from wpbakery to bricks"
- "migrate visual composer to bricks"
- "rebuild wpbakery pages in bricks"
- "move from wpbakery to bricks"
- "replace wpbakery with bricks"
- "modernize visual composer site"
Source Builder: WPBakery
WPBakery stores content as shortcodes in post_content:
Key WPBakery specifics:
- Column widths as fractions:
1/1,1/2,1/3,2/3,1/4,3/4,1/6,5/6 - Inner rows:
[vc_row_inner][vc_column_inner]for nesting - CSS attribute: Encoded Design Options —
.vc_custom_XXXXX{property:value;...} - Link encoding:
url:https%3A%2F%2F...|title:...|target:_blank|rel:nofollow - Full-width:
full_widthattribute controls row stretching - el_class / el_id: Custom CSS class and ID attributes
- Image references: By attachment ID (not URL)
Read WPBakery content via respira_extract_builder_content with builder=wpbakery.
Target Builder: Bricks
Bricks stores content in _bricks_page_content_2 as a JSON array:
Key Bricks specifics:
- Elements:
section,container,heading,text-basic,image,button,video,icon - Parent-child via
parentfield - IDs are short alphanumeric strings
- Responsive via
_breakpoints
Write Bricks content via respira_inject_builder_content with builder=bricks.
Execution Workflow
Phase 1: Pre-Migration Audit
- Verify Respira + MCP connection via
respira_get_site_context. If unavailable, stop and show setup guidance. - Confirm WPBakery is active via
respira_list_plugins. - Confirm Bricks theme is installed via
respira_get_site_context. - Identify active theme — note if it bundles WPBakery and adds custom elements.
- Inventory and scope the source pages with
respira_find_builder_targets(builder=wpbakery) — this gives a fast, ranked list of every WPBakery-built page/post before you touch anything. Fall back torespira_list_pages/respira_list_posts+respira_get_builder_infoto confirm builder per item where needed. - Extract content via
respira_extract_builder_contentwithbuilder=wpbakery - Build inventory:
- Total WPBakery pages/posts
- Element types (frequency count)
- Theme-bundled custom elements (flagged)
- Addon elements (flagged)
- Grid/masonry elements (flagged)
- Design Options complexity
- Inner row nesting depth
- Complexity per page
Phase 2: Migration Plan
Ask for confirmation:
Ready to modernize? Your WPBakery pages stay untouched — I'll create Bricks duplicates.1. Migrate all pages2. Migrate specific pages3. Start with a test page (recommended for theme-bundled WPBakery sites)4. Just keep this plan
Phase 3: Page-by-Page Migration
For each approved page:
- Read WPBakery content via
respira_extract_builder_contentwithbuilder=wpbakery - Parse the shortcode tree:
- Build vc_row → vc_column → element hierarchy
- Handle vc_row_inner/vc_column_inner nesting
- Decode Design Options CSS from
cssattribute - Decode link URLs from WPBakery's encoding format
- Resolve image attachment IDs
- Generate Bricks JSON array:
vc_row→sectionelement (checkfull_widthfor layout mode)vc_column→containerelement with flex width- Convert fractions:
1/2→50%,1/3→33.33%,2/3→66.66%,1/4→25%, etc. - Map each element:
vc_column_text→text-basic(preserve HTML, or split into heading + text-basic)vc_single_image→image(resolve attachment ID to URL, map alt, size)vc_btn→button(decode URL, map label, style, color)vc_custom_heading→heading(map text, tag, alignment)vc_gallery→gallery(resolve image IDs)vc_accordion→accordion(map items with titles and content)vc_tabs→tabs(map tab titles and content)- Apply Design Options: background → settings background, padding → settings padding
- Apply el_class → Bricks CSS classes setting
- Generate unique IDs and proper parent references
- Flag unmappable elements
- Create duplicate via
respira_create_page_duplicateorrespira_create_post_duplicate - Before writing, take a snapshot with
respira_get_snapshotso the duplicate's pre-write state can be restored if anything goes wrong - Write Bricks JSON via
respira_inject_builder_contentwithbuilder=bricks - Surgical fix pass — if the injected page has validation issues (column widths that collapsed during fraction conversion, broken parent refs, an element whose Design Options decoded wrong), do not re-inject the whole page. Locate the specific element with
respira_find_elementand correct it withrespira_update_element. For repeated fixes across many elements or several pages, batch them withrespira_batch_update - Report status
Phase 4: Post-Migration Verification
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/migrate-wpbakery-to-bricks/SKILL.md
Popularity
- Repository stars
- 44
- Repository forks
- 8
- 7-day trend score
- 19
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Extension points
pluginCustom plugin integration
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/respira-press/agent-skills-wordpress/migrate-wpbakery-to-bricks)