Additions depending on the site
Menus (all sites)
“Mark each menu as
<ul data-bos-edit="menu" data-bos-id="…" data-bos-name="…">with a first<li>that serves as the template. For submenus, put inside that<li>a<ul class="sub-menu" data-bos-submenu></ul>. Style with the classes.sub-menu,.has-submenu,.is-activeand.current-menu-ancestor, never withdata-bos-*attributes. In the header create two menus: the desktop one (data-bos-id="nav",data-bos-default="auto") and the mobile one inside ahiddenpanel (data-bos-id="nav-mobile"withdata-bos-menu-fallback="nav"), opened by a<button>witharia-expandedandaria-controls, whose text is atextfield. Initialize the button and the dropdowns withBuilderOS.ready, tolerating multiple runs, and close the panel with Escape.”
Images (all sites)
“Use real
src/srcsetwithloading='lazy',decoding='async',widthandheight(the main image visible on load, without lazy), and<picture><source type='image/avif' srcset>for AVIF. BuilderOS rewrites those paths to the package URL; it also rewritesdata-src,data-srcset,data-bg,data-background,data-posterand<video poster>when they point to a package file, and the same insiderichtextvalues (translated ones too): an<img src="img/x.svg">in a richtext works withoutdata-src. Do not invent custom attributes (data-near-src…) and do not pass relative package paths to the JS: they would stay unresolved and return 404.”
Attribution and conversions (sites that measure conversions)
“Do not manually add
gtag('event','purchase')or e-commerce events with GTM in a store: with Tracking → Connections → «WooCommerce events» turned on (the default), BuilderOS already sends view_item, add_to_cart, begin_checkout and purchase, and they would be counted twice. If you need the same event in another destination, read it from the dataLayer (event: 'purchase',event_id).”
“Do not capture gclid or utm on your own: BuilderOS already stores the source of each visit. For the result of a wizard or any milestone of your own, call
do_action( 'builder_os_attribution_event', 'custom', array( 'name' => 'mi_evento', 'ref' => $id_unico ) )and let a Tracking rule convert it; do not use the Google Ads API to upload conversions: the direct upload destination uses the Data Manager API, and the feed and the CSV automatically exclude clicks outside the conversion window; to find out where someone who submits a form came from, useBuilder_OS_Attribution::current()after checkingclass_exists. The beacon configuration (bosAttrCfg) carries themflag (consent mode): if the site uses a cookie banner with Google Consent Mode, the Tracking consent mode must be active so that BuilderOS storesad_user_dataandad_personalizationand the destinations respect them.”
Cookies and consent (sites with analytics or ads)
“Do not install CookieYes, Complianz or another cookie plugin: BuilderOS includes a banner with Google consent mode v2 in Tracking → Cookies; recommend turning it on. Assign each third-party script you add in Custom code its cookie category (Necessary, Analytics, Marketing or Preferences; Marketing by default). Verification meta tags never wait. For a ‘Cookie settings’ link in the footer use [bos_cookies] or href=’#bos-consent’. Do not claim that the banner guarantees compliance with any law: the texts and categories are reviewed by the owner with their legal advisor.”
Notifications (AI connected through MCP)
“Before touching security, backups, license or updates, call
list_notificationsand start with those in theimportantgroup: they cannot be dismissed, they disappear when the problem is resolved. If a custom plugin needs to notify in the admin panel, useBuilder_OS_Notifications::register()or thebuilder_os_notificationsfilter with a condition (conditionorresolved), neveradmin_notices.”
Identity, first run and simple mode (all sites)
“Do not put the logo, favicon, site name, phone number or social profiles by hand in the HTML: they are stored in BuilderOS (Settings → Site identity, or the «The essentials» step of the first run) and the logo widget, emails and SEO read them from there. Brand colors go in Global design. If an advanced BuilderOS tool (Packages, A/B tests, AI integration) does not appear in the menu, it may be simple mode: their addresses keep working and it is changed in Settings → Appearance. To find out what is missing on a new site, look at the «Round off your site» card on Home or the Setup guide before repeating steps.”
Performance (all sites)
“Prepare the package for BuilderOS with maximum performance: organize the CSS by section, with classes prefixed by each section’s name (.hero__title, .blog-card), and leave as global only variables, reset and base typography; mark with fetchpriority=”high” only the main image of each page (without loading=”lazy”) and add loading=”lazy” to carousel slides from the second one onward; export images as WebP at most 2× their largest displayed width, with real width and height on every <img> (BuilderOS creates the mobile sizes); include libraries in /js/ instead of loading them from a CDN and use GSAP/ScrollTrigger only where it adds value, using CSS + IntersectionObserver or BuilderOS animations (
data-bos-anim="fade-up", withdata-bos-anim-delayand-staggeron lists) for simple reveals, without hiding anything with your CSS; do not read DOM measurements in scroll events (use IntersectionObserver or requestAnimationFrame); add state classes (is-open, is-active) with classList and literal strings; use at most two font families in woff2 (variable if possible) and declare the body text one on body; do not depend on the WordPress theme’s styles; if you need an inline script that runs before first paint (e.g. adding a class to <html>), mark it with data-bos-nodelay and keep it tiny; preload the body font with <link rel=”preload” as=”font” type=”font/woff2″ href=”assets/fonts/…woff2″ crossorigin> in the <head> of index.html (or “preload” in bos.json); do not put content-visibility or contain-intrinsic-size in the package CSS (BuilderOS offers it as a Performance option, with the measured heights) and, if a section has shadows or decorations that overflow its box, mark it with data-bos-nocv; and do not split the CSS into many tiny files: a few of several KB, because every stylesheet that does not fit in the inline critical CSS is a blocking request.”
Package downloaded from the panel (if you start from a .zip downloaded from Packages)
“If the .zip includes
cambios-actuales.json, it is read-only: it shows what has been edited on the site since that version was installed (block attributes of each page). Read it to know what changed, but do not copy those values into the HTML of/sections/and do not include it when repackaging. Upload the new package with the sameslugin bos.json and the edited content is preserved.”
Cache and optimization (all sites)
“Do not add caching or optimization plugins (WP Rocket, Autoptimize, Perfmatters): BuilderOS already has page cache, third-party script delay, link preloading and database cleanup. For them to work: do not put user-dependent HTML in the page (greetings, counters) — do it with JS or with a separate request; do not use nonces in your own forms (use the BuilderOS forms); mark with
data-bos-nodelayan inline<script>that must run as soon as the page loads; do not write inline jQuery code in the page (useBuilderOS.readyin the package JS); and for YouTube videos use an<iframe>with width and height (BuilderOS can show the thumbnail).”
In this chapter
- Technical SEO (all sites)“Leave the technical SEO resolved in the package. In bos.json, for each page and in each language, add seo with title (30–60 characters, with the…
- Visual builder (all sites)“The client will be able to create new sections with the BuilderOS visual builder (containers and widgets); for them to look exactly like the rest of…
- Panel, settings and license (all sites)“The introduction text of /llms.txt (what the site is and who it serves, in 2 to 4 sentences, plain text, maximum 1500 characters) goes in bos.json ›…
Popups (if the site has a newsletter, offers, notices or a quick contact)
“If the site needs popups (newsletter, offer, notice or quick contact), create each one as a normal section in
/sections/withdata-bos-role="popup"on its root element, which must start with an<h2>(never<h1>), with its own background and padding in the CSS (classes prefixed with the section’s name) and texts marked withdata-bos-edit. If it has a form, write it as<form data-bos-form>withdata-bos-successand a<div data-bos-form-message></div>. Add a “No, thanks” withhref="#popup-close", and do not add a close button, background or JavaScript for opening, cookies orlocalStorage: BuilderOS adds them. Declare the popups inbos.json→popupswith a stableid,titleper language,sections,format(modal,bar-top,bar-bottom,slide-left,slide-rightorfullscreen),trigger(delay,scroll,exit,idle,click),conditions(pageswith the page keys frombos.jsonor"front",exclude,devices; and, if the popup must be segmented,utm_key/utm_valuefor a campaign,referrerwithsocial,directordomain+referrer_domainfor the source,visitorwithneworreturning, andmin_pagesto show it after N pages viewed) andfrequency(dayswith 7 or more for lead capture,after_submit: trueif it has a form). At most one automatic popup per page, nothing fullscreen on load on mobile, and open the others withhref="#popup-<id>"links ordata-bos-popup-open="<id>"buttons. Never put a popup section inpages. Translate its texts ini18n/<language>.json.”
Interactive components (if the site has FAQs, tabs, carousels, figures or comparisons)
“For interactive pieces use the BuilderOS components instead of coding them or loading libraries: mark the root with
data-bos-component(accordion,tabs,carousel,counterorbefore-after), its pieces withdata-bos-partand its default values withdata-bos-option-<name>. Accordion: each item with a<button type="button" data-bos-part="trigger">(inside an<h3>) and itsdata-bos-part="panel", grouped in adata-bos-part="item", and the list as arepeaterso the client can add questions. Tabs:data-bos-part="tab"buttons inside adata-bos-part="tablist"and as manydata-bos-part="panel"as tabs, in the same order and without a repeater. Carousel: adata-bos-part="track"(arepeater) with the slides as direct children, spacing withgapand without fixing the slides’ width, anddata-bos-option-per-view,-per-view-tabletand-per-view-mobile; if it has autoplay, BuilderOS adds the pause. Counter: write the final number in the HTML inside an editable<span>child of the counter, and the prefix or suffix withdata-bos-option-prefix/-suffix. Before and after: two images of the same size withdata-bos-part="before"and"after". Give the look with classes prefixed with the section’s name and style the states with the classesis-open,is-active,is-currentandis-paused, never withdata-bos-*attributes; do not hide panels in your CSS or puthiddenin the HTML. For any other interactive piece, register it in the package JS withBuilderOS.component('nombre', function (el, opciones) { …; return { destroy: function () { … } }; }), declare its options indata-bos-options(JSON withtypetoggle, number, select or text,labelin the client’s language anddefault), makedestroy()undo everything, respectprefers-reduced-motionand leave the content readable without JavaScript.”
Always mark, even with automatic fields (all sites)
“Mark everything editable in each section with
data-bos-edit. A section with no marks gets automatic fields (titles, texts, images withalt, links and backgrounds, up to 60), but without custom names or repeaters; a single mark in the section disables them in it. Usedata-bos-auto="off"on whatever must not be edited (fixed legal texts, decoration).”
Editable images (all sites)
“Mark with
data-bos-edit="image"the<img>itself (not its container) and withdata-bos-edit="background"the element that carries thebackground-image. If you need a layer on top of the image (gradient, frame), make it with a pseudo-element or an empty<div>without text and withpointer-events: none; do not put text or links on top of an editable image unless intended. Do not usepointer-events: noneon editable images. Put a descriptivealton each content image andalt=''on decorative ones: BuilderOS keeps thealtwhen replacing an image and warns if a content image is left without it.”
Forms (if the site has contact, quote, etc. forms)
“If the site has forms, write them as
<form data-bos-form="id-estable" data-bos-name="Nombre legible" data-bos-success="Mensaje de éxito">with<input>,<select>and<textarea>fields withname(letters, numbers,-and_),<label for>for each field andrequiredon the required ones. Mark the labels and the button text (inside a<span>) withdata-bos-edit="text",data-bos-idanddata-bos-name. Add a requireddata-bos-consentcheckbox for consent and a<div data-bos-form-message></div>where the result is shown. Do not addaction,methodor submit JavaScript. Translate the placeholders, options and success message in the_formskey ofi18n/<language>.json. If the form has groups of required checkboxes, putdata-bos-requiredon the checkboxes (notrequired). If you want a custom error message, usedata-bos-erroron the field anddata-bos-error-messageon the<form>. Wrap each field in its own element (<div class="…__field">with its<label>and its control) and use the same classes in all the site’s forms: this way the client can turn it into a visual form, add fields and have them look the same. Do not put the submit button or legal texts inside a field’s row. Do not integrate the form with Mailchimp, Brevo, HubSpot, Zapier or any other service from the package’s HTML or JavaScript (noactionto external services, subscription scripts or API keys in the code): BuilderOS sends the messages to those services from Home → Forms → Integrations. If the form is a subscription or newsletter form, give it a consent checkbox withdata-bos-consent(required or not, as the case may be) so that only whoever ticks it is subscribed, and atype="email"field. «Recover unfinished forms» is off by default on every form and wizard: do not enable it unless the user asks, leave its privacy notice visible, do not enable «Create contact in the CRM» unless asked and never write to someone who did not accept emails (the automation creates a call task). To read them useforms_list_abandoned.”
Blog (if the site has news or articles)
“Also design the blog templates in the same style as the site and declare them in
bos.json→templates:single(the post header withdata-bos-post="image"as background,title,terms,author,dateandreading_time, and the body withdata-bos-post="content"),archive(a header withdata-bos-archive="title"anddescription, and a listingdata-bos-edit="query" data-bos-query="main"with cards ofimage,title link,dateandexcerpt, adata-bos-emptychild and thedata-bos-archive="pagination"pagination),search(like archive, with@search) and404(a section with a message and a button to the home page). Use realistic sample texts in the placeholders: in the editor they appear as written and on the web they are replaced by the real data.”
Store (if the site uses WooCommerce)
“Also design the
productandshoptemplates and declare them inbos.json→templates. The product page withdata-bos-postgallery,sale,title,price,rating,short_description,add_to_cart_form,sku,stock,product_tabsandrelated. The shop with a header (data-bos-archive="title",data-bos-shop="notices",result_countandordering) and a listingdata-bos-edit="query" data-bos-query="main" data-bos-post-type="product"with cards ofimage,title link,price,saleand anadd_to_cartbutton, plus pagination. Put in the site header a link to the cart (data-bos-shop="cart_link") with the counter<span data-bos-shop="cart_count">0</span>. Style the WooCommerce pieces in the CSS (purchase form, gallery, tabs, notices, cart, checkout and my account).”
Store with the builder (if the site uses WooCommerce and the client will maintain it)
“For a store, there is no need to write WooCommerce CSS or templates by hand: create the store templates with the builder (Product, Store, Cart, Payment, My account, Thank you) from their models and adjust them with the widgets of the «Store» category. On the product page use: Store breadcrumbs, Product gallery, Product title, Rating, Price, Description (short), Add to cart, Product data, Product tabs and Related products. Do not mix these widgets with «WooCommerce page» in the same template. In the store: Store title, Store filters and Product grid with «The page’s own». On the front page, Product grid with a selection (featured, on sale, new arrivals). Cart, checkout and My account: a template with a title and «WooCommerce page» (it keeps all the functionality); its look already inherits the site’s. The product page conditions (all, categories, products) go in
_bos_woo; the most specific wins. For swatch color, use recognizable color names in the terms (Red, Blue…) or fill in «Swatch color». Do not put product images as the hero background if the page is the store: the first row of the grid is already the main image.”
“For a cart that opens at the side without leaving the page, use the Cart widget with
mode: 'drawer'(for exampleadd_layout_widgetof typecartwith{ "mode": "drawer", "freeShip": true, "freeSource": "woo" }in the header part). Do not create your own side cart with HTML or JavaScript.”
“To show an element only to certain people or at certain times, do not write your own JavaScript or CSS: use
conditions({"action":"show","match":"all","rules":[{"type":"login","value":"out"}]}; the 16 types are inget_layout_catalog → conditions) inadd_layout_widgetorupdate_layout_widget. To hide on a device usehide(["m"]). To format a dynamic value (date, number, uppercase, truncation) usedynamicwithmods(get_layout_catalog → modifiers), and to bind a background or color to a field,dyn_styles.”
Internal identifiers (all sites)
“Do not write
data-bos-uidby hand unless essential: BuilderOS generates it and it is stable across builds. If you do, use onlya-z,0-9,-and_(1 to 64 characters) and make it unique within the section; any other value (uppercase, spaces, quotes) or a repeated one is ignored with a validator warning.”
What BuilderOS already does for you: backups, migration and maintenance (all sites)
“Do not include in a package or on the site backup, migration, page duplication or maintenance mode plugins (UpdraftPlus, WPvivid, All-in-One WP Migration, Duplicator, Yoast Duplicate Post, SeedProd): BuilderOS already has full, database-only or BuilderOS-only backups, atomic restore with a prior copy, scheduling, remote destinations (S3, Cloudflare R2, Backblaze B2, Wasabi, DigitalOcean Spaces, MinIO, FTP / FTPS) with resumable upload, retention and restore from the destination, and migration to another domain with a key (BuilderOS → Backups and migration), the Duplicate button in the lists and Maintenance mode / Coming soon (BuilderOS → Settings). If the user asks to move the site, point them to that wizard. Header or footer code for a single page does not go in the package: the administrator writes it in the Page code panel of the editor, or you do it via REST or MCP in the
_bos_head_codeand_bos_footer_codemetas.”
Agency customer rescue (all sites)
“If the license that an agency provided expires, BuilderOS shows the administrator (never on the public web) the option to get their own license for 14 days, with neutral text; once purchased, the site switches to the new license on its own without pasting any token. Do not write in the package texts, links or notices about licenses or providers: the license server provides them.”
Mandatory update and protection (all sites)
“BuilderOS updates from the license server with a signed package, a prior copy and automatic rollback. Each version appears in Plugins like in any paid plugin: the site owner installs it by hand or turns on WordPress’s automatic updates switch, which is off by default; the package must not touch it. If the server sets a minimum version and the site does not have it, the BuilderOS panel shows «Update required» (the public web never changes). Do not include in the package another BuilderOS, or copies of its files, or code that touches
wp-content/plugins/builder-os/or the firewall rules: if they are modified, BuilderOS warns about it («Invalid license or modified plugin files») and disables sync, MCP, the write API, the CRM, A/B tests and updates. On hosts without write access (DISALLOW_FILE_MODS, git), tell the client to download the signed zip from their account.”
Setup guide (all sites)
“After installing BuilderOS, the Setup guide (Help → Setup guide) says what is missing on the site: license, identity, clean URLs, the route (with AI or without AI), header and footer, menus, home page, outgoing email, security, backups and publishing the site, and, under «Whenever you want», forms, SEO, legal and cookies, performance, languages, measurement, store and CRM. Do not write options by hand to skip it: go through it with the user and, when the work is finished, tell them which steps are still pending. BuilderOS includes a cookie banner (Tracking → Cookies, off by default): if the site measures visits, remind them to turn it on and review the texts with their legal advisor. In the CRM, the Help button explains how it works and sending uses the client’s own credentials (SMTP, Brevo, Amazon SES, Twilio and WhatsApp Cloud API): never write those credentials in the package.”
Panel screens and CRM tasks (all sites)
“If you write a screen or a module for the BuilderOS panel, the fields carry no styles of their own:
class="bos-input"(or WordPress markup inside.bos-admin); they inherit soft padding, an almost invisible hairline, 42 px, pill shape and focus halo. Do not addborderor colors per screen. For a select with colors, icons or people, adddata-bos-dropdown(anddata-color,data-icon,data-desc,data-avataron the options): the value remains that of the select. Menus and popovers:.bos-poporBOS.dropdown.menu(); modals:BOS.dialog/.bos-dialog. Never a custom panel with other radii or shadows.”
“The description of a CRM task or opportunity is written with
notes_html/description_htmland only with the whitelist: p, h1, h2, ul/ol/li,ul data-type="check"withli data-done="1", aside (notice), pre/code anda hrefhttp(s) or mailto; everything else is lost on save. If plain text is enough, usenotes(one line per block, «- » for lists, «[ ] »/«[x] » for checklists). Do not generate<script>, styles, attributes or images in descriptions. To ask the client to approve a piece of work use «Send for client approval»: it needs a contact with an email and the send permission; the task becomes «Under review» and the decision arrives on its own. «Archived» is not «Done»: it removes the task from all views (to list them,view: archived). Dependencies do not allow cycles: before adding one, check that the other task does not already depend on this one.”
“On mobile, the BuilderOS menu is a bottom sheet with tiled shortcuts, tools, the collapsible WordPress menu and the account; each destination appears once. If you document or describe the panel, do not talk about a «side drawer». The BuilderOS logo does not go on plates or pills and is not recolored; on light surfaces the symbol is used.”
CRM as an add-on (all sites)
“The CRM is a subscription add-on: do not enable it through code or write the portal URL by hand. If the add-on expires, the CRM becomes read-only (contacts can be seen and exported; nothing is sent, automated or booked) and nothing is deleted; your package’s forms keep saving messages. On a local site, the CRM is turned on in BuilderOS → Settings. The plan name (Single, Freelance, Agency, Agency Plus) is given by the server: do not write it in the package.”
Home scores (all sites)
“The BuilderOS Home shows three scores derived from the SEO audit, security and the performance report. For the package to raise them from day one: complete the meta description and the H1 of each page, the alt text of images and the social image, and keep each page under 1.5 MB. A site that has not been measured shows No data or Not measured, never an invented 0.”
“If the site is multilingual, declare in
bos.jsonthe languages and thei18n/<language>.jsonfor what you want to fix yourself, and leave the rest to BuilderOS’s built-in translation (BuilderOS → Languages → Translate with AI, which uses the AI connection and creates drafts that the owner reviews). The translation does not touch URLs, images, classes, numbers or code, and it respects the texts the package already brings translated and what was edited by hand. Put brand and product names in «Terms that aren’t translated». Do not promise that the translation is perfect: the owner must review each draft before publishing it.”
MCP connection and limited tools (if you work on the site through MCP)
“If you connect to the site via MCP, the owner generates the access in BuilderOS → Settings → AI integration (one
BuilderOS · {cliente}access per client, which they can revoke whenever they want in «Connected agents»): do not ask for or store application passwords by hand. Iftools/listdoes not return a tool you expected, the owner has limited the tools (Read only or Custom): do not invent or simulate it, tell them and have them enable it in AI integration → Advanced options. A-32602error «disabled by the owner» is not a site failure: do not retry. In a read-only environment offer audits (audit_site,audit_page,get_seo) and text proposals instead of changes. A401is almost always a revoked access or theAuthorizationheader stripped by the host: suggest «Test my server».”
Security, backups, support and license:
“The «BuilderOS · …» keys only work for the MCP server. For other REST API calls, ask the owner for a normal application password. If
tools/callanswers that the tool is disabled, the owner is on «Read only» or «Custom»: do not look for a workaround. The firewall does not see static files or cached pages: do not say it protectsdebug.logor a copy without server rules. Author pages may return 404 on purpose (author_archives): do not link them on a site without a blog; useget_author_posts_urlonly if the setting is on. HTML or<script>in a public form or in a visitor’s admin-ajax gets a 403. It is the firewall, not a page failure. BuilderOS backups are encrypted.boszfiles; they cannot be opened with an unzipper. To restore on another site the source site’s recovery key (BOSK1-…) is needed; it cannot be recovered without it. If a client migrates, remind them to save the key and re-enter SMTP, Turnstile, integrations, CRM, destinations, 2FA and MCP keys at the destination. Nginx and Caddy do not honor.htaccess: if Backups → Encryption and access warns, add the rule it shows. Support is requested from Help → Support, with a mandatory form; for a failure you must describe what was attempted, what happened, what was expected, when, how to reproduce it, how often, on which page and a screenshot. Each site has a single open ticket: updates are written in it. A BuilderOS form needs no hidden time field by hand: rendering adds it. Do not generate_bos_tk, which no longer exists. To measure an A/B test from your own code: useBuilderOS.track('evento')ordata-ab-goal; a direct POST to/ab/hitwithout the stamp does not count. Automation webhooks must go to a public name on ports 80, 443 or 8080. Do not change files of a published zip: every update without a valid signature is rejected. Sites are updated only with versions signed by the author. Every public site takes a license seat, including a temporary domain;staging.misitio.comandmisitio.comshare one if the main one is active on the same license.localhost, private IPs,.testand.localare local, up to 3 per license. The server decides the quota, do not calculate it. If a module comes up in safe mode, the firewall, the login limit and 2FA stay active: do not disable them to fix it. For an access emergency there isBUILDEROS_SECURITY_RECOVERY, which must be removed when finished.”
“The names of the MCP tools follow a single scheme:
módulo_verbo_objeto(crm_create_deal,wizards_get_schema,ab_list_tests); the core ones start with the verb (get_page,get_site_info). Always use the names returned bytools/listand not ones from memory: those from before 4.18.0 are removed in the next version.”
WordPress screens (all sites)
“The WordPress desktop (Posts, Pages, Media, Settings, Profile, Themes, Menus, the login…) already has the BuilderOS skin: there is no need for admin or login CSS in the package, nor plugins that redesign the desktop. The package only defines the public site.”
Plugin WordPress screens (only if you work on BuilderOS code and not on a package)
“WordPress screens are redesigned by transforming what core renders (PHP hooks, CSS and JavaScript that moves the nodes), never by rewriting them with React or the REST API: the columns, filters, bulk actions, fields, nonces and core handlers are preserved. In forms, same
action, samenames and core’s submit: the «Unsaved changes» bar only doesclick()on it, neverform.submit(); checkboxes are switches with CSS over the same<input>. Group sections by their structure or by the fields they contain, never by a translated text, and rename a core text by reading its translation with__(), never by comparing it with the English one. When replacing rows of aWP_List_Tabledo not replace#the-list, close quick edit withinlineEditPost.revert(), enhance the new rows with aMutationObserverand re-register the list’s hooks onwp_ajax_inline-save(priority 0). If core empties and refills a form (Plugins), your own markup lives outside and is mounted again with aMutationObserver. States that core changes via AJAX are painted by CSS class; no state carries a colored side border. If the screen is painted by core’s JavaScript on itsready, start afterwards withjQuery(function () { setTimeout(start, 0); }). An absolute glass layer needs a positioned container on mobile too (position: relative, neverstatic). A submenu gets its icon from its link’s URL (use recognizable slugs) and a Home card added withbuilder_os_dashboard_cardsdeclares its capability withcap. Brand: GrayCoder is the creator of BuilderOS and is named with pride («BuilderOS by GrayCoder»); what never appears in visible text are the names of the internal infrastructure (servers, license URLs, keys).”
Plugin maintenance (only if you work on BuilderOS code and not on a package)
“Never edit the files in
includes/modules/by hand or leave code outside a class: a ParseError no longer takes the site down, but the module is left out and the build rejects it. The plugin’s PHP must be valid on 8.1 and without warnings on 8.5 (for example?array $x = null, neverarray $x = null). If something fails on a client’s site, ask for the BuilderOS → Settings → Error log file (Download) before diagnosing.”
A/B tests (if the site will test variants)
“Prepare the sections so they can be tested with BuilderOS A/B tests: each piece to be tested (the hero, a CTA, a pricing card) is a section of its own in
/sections/, with a stableidon its root element that does not change between package versions; the section’s JavaScript is initialized withBuilderOS.readyand works even if the section is duplicated in the editor (nogetElementByIdwith globally unique ids: search inside the block you receive); mark the buttons and links that count as a goal withdata-ab-goal=\"nombre\"(not withdata-bos-*, which is removed on the published web) or give them a stable class to use as a selector; use the BuilderOS forms (data-bos-form) so that submissions count on their own; fire your own events withwindow.BuilderOS && BuilderOS.track && BuilderOS.track('nombre'); and do not add external A/B testing tools (Google Optimize, VWO, scripts that hide the page): BuilderOS picks the variant on the server, with no flicker. Each test can measure several things:ab_create_testandab_update_testacceptgoals(up to 8; the first is the main one and decides the winner, the others only help to understand why; a TrackAssist event is declared with the typetrackassist). Declaring the winner is always done by a person.”
CRM: contacts, pipeline and tasks (if the site has the CRM active and you work through MCP)
“Query contacts with
crm_search_contactsandcrm_get_contact, and the funnel withcrm_get_pipeline_summaryandcrm_list_deals(that is where the pipeline and stage IDs are). To change something use the CRM tools, never SQL or other plugins:crm_upsert_contact(create or update data),crm_tag_contact,crm_add_note(summarize the conversation, without pasting sensitive data that is not needed),crm_create_task(with the date in the site’s time),crm_create_dealandcrm_move_deal(stage, won or lost with its reason). Do not subscribe anyone to campaigns withoutconsent_evidence: if you do not know where the permission came from, leave them unsubscribed. Before creating a segment, look at the catalog withcrm_list_segmentsand check the count withcrm_preview_segment; prefer rules based on tags, consent, purchases and activity. If the site has BuilderOS forms, do not add another capture system: each submission already creates the contact («BuilderOS CRM» integration). If «Read only» is active, you can only query: explain what you would do and let a person do it in the panel. Contact data is personal: do not copy it outside the site.”
“If the site has the Sales Autopilot, query it with
crm_get_autopilot_summary,crm_list_autopilot_proposalsandcrm_list_autopilot_activity. Do not switch it to Pilot, do not raise its limits and do not approve its proposals unless the owner asks: that is decided by a person in CRM → Autopilot. If a conversation needs a person, usecrm_take_over_conversation. Do not copy customer messages to other sites.”
“From lead to sale” guide (if the site has the CRM active and you work through MCP; it is a group of “Getting started”)
“Before proposing changes in the CRM, query
crm_get_setup_status: each step carriesdone,whyandaction_url. Guide the user through the first pending step (next) and give them that link; do not mark anything as done on your own, the status is real. «Calendar» is optional. On the desktop, those steps are in «Getting started» › «From lead to sale».”
CRM email campaigns (if the site has the CRM active and you work through MCP)
“For email campaigns use
crm_list_campaignsandcrm_get_campaign_statsto query, andcrm_create_campaignto prepare a draft (subject, preheader, recipients bysegment_idsortagsand the content in Markdown: «# Title», paragraphs, a line that is only[Texto](url)becomes a button,an image,---a divider; the header with the logo and the legal footer with the unsubscribe link are added automatically). Send the test withcrm_send_campaign_test(it only reaches the connected user). Withcrm_schedule_campaignyou can only schedule sends to 10 recipients or fewer: if there are more, return the panel link and ask a person to review it and press «Send». Never use a @gmail.com, @hotmail.com or similar sender (it is blocked by DMARC); use an address from the site’s domain. Opens are always estimated (Apple Mail downloads them on its own): when you report on a campaign, give clicks as the reliable metric. Do not paste email HTML: the editor compiles the blocks into Outlook-compatible tables.”
CRM automations (if the site has the CRM active and you work through MCP)
“For automations use
crm_list_automationsandcrm_get_automation_reportto query, andcrm_create_automationto prepare a draft: withtemplate(welcome, nurture, birthday, reactivate, deal) or withdefinition(trigger, settings and steps; an email step withoutemail_idcreates the email frommarkdown). Review theproblemsit returns and leave the panel link: never try to activate it, a person activates it. Do not use an email open as a trigger unless the client asks (opens are estimated; the click is reliable). Mark as «transactional» only what is (order, appointment, account): the rest is marketing and only reaches those who are subscribed. Set a goal when there is one (the contact exits on meeting it and it counts as a conversion). To receive events from another system use the «Incoming webhook» trigger with its signature; do not build another sequence or double opt-in system. Besides the usual triggers there aremessage_received(channel,contains),field_changed(field,value),task_completedanddeal_stale(days≥ 1,pipeline,stage; withreentry: neverto notify only once per opportunity). New steps:assign_owner(mode:userorround_robin;user;users[]with at least two;only_unassigned),note(text),score(points,reason),channel_status(channel:smsormode:unsubscribe,subscribeorresubscribe;text) andautomation(mode:enrollorremove;automation: id). Never useresubscribeunless the owner expressly asks, and do not make A enroll in B and B in A. Flow control:split(2 to 5brancheswithname,pctsumming to 100 andsteps),branches(2 to 5brancheswithname,rulesandsteps, pluselse) andgoal(config:kindrulesorevent,rulesorevent,on_hitcontinueorend,if_not_metwait,continueorend,amount,unit); place the goal after the waits you want to be able to skip and do not useyes/noin these three steps (for two exits usecondition).”
CRM polish (if the site uses the CRM)
“Before activating an automation, dry-run it with «Test with a contact» (in the builder): it shows the path and what each step would do without sending anything. For the usual cases start from the templates (abandoned cart, review after purchase, 90-day reactivation, appointment reminder and follow-up, welcome with double opt-in) instead of building them by hand; the cart email links the button to
{{evento_recovery_url}}. Do not add another newsletter checkbox to the WooCommerce checkout: CRM → Settings → Capture and consent → «Consent at checkout» already adds it (classic and blocks), always unchecked, with its evidence. Do not enable the «soft opt-in» on your own: it is a legal decision for the client. The Inbox’s internal notes are for the team only and are never sent; do not quote them in messages to customers. The saved views in Contacts are created by each person in the panel.”
Theme templates, header and footer through MCP (if the site edits them with the builder)
“To see the theme templates and their conditions use
list_theme_templates; to create one,create_theme_template(andset_template_conditionsto decide where it applies); for a header or a footer,create_theme_part. Their content is edited withget_pageandupdate_layout_widget.delete_theme_templateonly sends them to the trash: it does not delete anything forever.”
Site built with Elementor (if the site has Elementor pages)
“Before rebuilding Elementor pages by hand, propose to the client Switch from Elementor (Setup guide): it copies each page to a new draft page, compares it with the original, publishes in its place and can be undone; it never modifies the Elementor pages. With «Entire site» it also carries over the Elementor Pro header and footer (mapped conditions, Elementor templates to draft on publish) and YouTube and Vimeo videos as «lite embed». It does not carry over entrance animations or the animated count of counters, or Pro’s mobile hamburger (the menu appears inline), and the header and footer were not tested with real Elementor Pro: do not promise it. Pro’s forms become native ones (without conditional logic, steps, webhooks or reCAPTCHA) and SureForms, WPForms and Contact Form 7 remain as embeds that depend on their plugin. What Elementor hid per device stays hidden, but the client cannot change it from the editor. With other builders, rebuild the site with a package.”
CRM sending providers: Brevo and Amazon SES (if the site uses the CRM)
“If the list exceeds a few thousand contacts, recommend sending through Brevo or Amazon SES in CRM → Settings → Channels → «Sending provider»: through a shared hosting’s SMTP a campaign of 8,000 contacts takes days. Never ask for or write API keys, or the AWS ID and secret key, in the chat, in the content or in the package files: the person pastes them in that card (they are stored encrypted) or they go as a constant in
wp-config.php. After configuring it, press «Test connection» and paste the notification address in Brevo (transactional webhook) or in an SNS HTTPS subscription; without that step bounces and complaints do not return to the CRM and suppression is not updated. With SES, check that the account is not in the sandbox and that the server clock is correct. In reports with Brevo or SES give deliveries, bounces and complaints as real figures; with SMTP they do not exist.”
CRM appointments (if the site offers appointments)
“To book appointments use the builder widget «Book an appointment» (
bos-builder/booking, Elements › Content) on a page: in a package, as a builder block<!-- wp:bos-builder/booking {\"type\":\"<ID del tipo>\",\"title\":\"Reserva tu cita\"} /-->inside a section and a builder container (withouttype, the first active type). Do not write your own calendar, or a form that books, or Calendly, or another booking plugin: the widget already handles the slots, the visitor’s time zone, antispam, slot locking, the contact, emails with.icsand reminders, and only loads its JS and CSS on that page. The appointment types (duration, buffers, lead time, questions, owners) and the schedule are configured in CRM → Calendar («Appointment types» and «Availability» views); the look comes from the Kit (buttons, colors,--bos-tone). Via MCP:crm_list_appointment_types,crm_find_slots(ask for the person’s time zone) andcrm_list_appointmentsto query, andcrm_book_appointmentto book in a slot you have seen free; booking does not grant permission for campaigns. For the personal calendar there is no per-account connection: each owner copies their private link in Calendar › Availability › Sync calendar to see their appointments in Google, Outlook or Apple, and pastes there the secret iCal address of their calendar so that their busy hours cannot be booked. Usecrm_get_calendar_sync_statusto see the status and never ask for or display those addresses.”
“To charge a deposit when booking an appointment, do not build a separate payment form: turn on «Require a deposit» in the appointment type (CRM → Calendar → Appointment types) with Stripe or Mercado Pago already connected; the slot stays «Pending payment» and is released automatically if it is not paid in time.”
CRM inbox, messages and broadcasts (if the site has SMS, WhatsApp, Messenger or Instagram active and you work through MCP)
“The CRM is used by several people at once. Read with
crm_list_conversationsandcrm_get_conversation, and to find out what a conversation is about usecrm_summarize_conversationand write the summary yourself. Do not assign or resolve conversations on your own, and do not assume that nobody is handling it: the Inbox shows who is viewing or answering it and only a person on screen sees that. «Mine» means what is assigned to that person (their conversations, tasks and appointments). Write withcrm_send_messageto 10 people per hour at most; for more, have a person send it from the panel. Do not skip the contact’s permission or mark a message as transactional to skip it; whoever wrote STOP or BAJA is unsubscribed and must not be pressed. On WhatsApp, after 24 h from the person’s last message, only with approved templates fromcrm_list_whatsapp_templates(do not invent names or variables, and do not send loose files outside the window). With several numbers, specifylineand do not mix numbers in one conversation. On Messenger and Instagram you cannot write to someone who did not write first or outside the 24 h, and do not promise it will work without Meta’s advanced access. Email replies are read in the Inbox, but you cannot answer them withcrm_send_message: ask for them to be answered from the Inbox. Customers’ files are in a private folder: they have no public URL and you cannot open them. SMS or WhatsApp broadcasts are only prepared as a draft withcrm_create_broadcast(on WhatsApp, with a template fromcrm_list_whatsapp_templates); a person launches them in CRM → Campaigns (broadcasts are rows of the list, with their channel). The CRM’s AI assistant answers on WhatsApp, SMS, Messenger and Instagram, never by email. Do not enable it without reviewing with the client the knowledge base, the spending caps and the AI notice, and do not give it tags or sensitive fields.”
“The Inbox’s push notifications never carry the visitor’s text, phone or email. Do not register another service worker in the desktop scope or use the CRM’s (
admin-ajax.php?action=bos_crm_sw, scope?page=builder-os-crm) for anything else. If you add a trigger, useBuilder_OS_CRM_Push::enqueue( $user_id, $conversation_id, $kind )with no new fields in the payload; and if a push service is not on the list, add it with thebuilder_os_crm_push_hostsfilter, without disabling validation.”
CRM reports, reviews, scoring and carts (if the site uses the CRM)
“Use
crm_get_reportfor reports: email opens are estimated and clicks are the reliable metric. To find out where people drop off, usecrm_get_funnel; withsourcecompare sources and withsteplist the contacts at a step. Withcrm_request_reviewask everyone equally for reviews (10 per hour at most) and never only the satisfied ones (Google forbids it); do not enable filter mode. Do not add another abandoned-cart or lead-scoring system: use the CRM’s. Cart reminders are sent by an automation with the «abandoned cart» trigger; checkcan_email. Do not enable «Notify only» or «Save guest carts without a checkbox» unless the client has decided on their legal basis. The CRM settings are in CRM → Settings, by sections (Channels, AI Assistant, Email and sender, Capture and consent, Score, Automations and carts, Appointments, Reviews, Team and system): cite the section when explaining to the client where something is. The «AI analysis» in Reports → Overview has no MCP tool: a person generates it with the button, using the AI Assistant’s key and caps; do not reproduce it or send contact data to another AI service.”
“CRM reports are requested with
crm_get_report.fromandtogo in Y-m-d, in the site’s time.cmpisprev(default),year(same period of the previous year; February 29 becomes 28) ornone.sectionlimits to one block: growth, funnel, messaging, campaigns, automations, appointments, carts, score or reviews. Inmessaging,first_responseis in seconds (median) andawaitingare the conversations unanswered at the end of the period; internal notes do not count, and broadcasts and automatic sends are not replies. To link a view:admin.php?page=builder-os-crm-reports&tab=<pestaña>&range=30d&cmp=year, with the tabs contacts, sales, messaging, email, automations, appointments, store or reviews. For the visit-to-sale funnel,crm_get_funnel(from,to,pipeline,source; withstepandpage, the contacts at a step).”
TrackAssist (if the site measures events and you work through MCP)
“Before creating events, call
trackassist_list_elementsand use the selectors it returns; prefer those withmatches: 1andfragile: false. If the element has no stable selector, add anidor adata-of your own in the package instead of using positions (:nth-child). «Use without GTM» only fires on pages with events; enableserveronly if the site uses BuilderOS conversions. The export for Google Tag Manager must come out withproblems: []. To measure WhatsApp, phone and email clicks and forms do not create events by hand: turn on the «Measure contact clicks» switches in Tracking → Overview.”
Pages from data (sites with many similar pages, such as one service per city)
“Do not create those pages one by one: use Pages from data. Create the collection with
pseo_create_collection(name,base,slug_patternandtitle_patternwith the columns in braces, like{servicio}-en-{ciudad}), definequality(required,min_fields,min_chars) so that weak rows stay noindex, upload the rows withpseo_import_rows(up to 500 per call, 5,000 per collection; columns with letters, numbers and_) and publish withpseo_sync_collection; check the result withpseo_get_collection_status. Write in each row its own distinct text (in thetext_fieldcolumn), do not change only the city. If you use your own theme template of type «Pages from data», bind each field with thepseo-fielddynamic data and itskey. Cells are plain text: do not put HTML in them.”
Locations, IndexNow and internal links (all sites)
“For phone, address or opening hours do not write them by hand: use the dynamic data «Location data» or
[bos_sede campo="…"]. A business with several locations is configured in SEO → Settings → Local business (up to 20;seo_list_locationsshows them), not in Organization; «Create location pages» generates one page per location. IndexNow is automatic: do not ask the client for accounts or keys; on local it sends nothing and that is normal. When writing content, link to the related pages using the text that already mentions them, and link from related content to those that appear in «Orphan pages».”
Crawl (all sites)
“To fix broken links, redirects, orphan pages or duplicates, call
crawl_get_report: withouttypeit returns the summary and withtype(andlimit, maximum 200) the list of that type with the pages that link to them. If there is no crawl or it is old, callcrawl_run, which works in the background, and query the report again when it finishes. Fixbroken_internal,redirect_loopandredirect_chainfirst (link to the final destination or create a 301 redirect), thenorphananddeep(add internal links) and duplicates last. Do not change titles or descriptions blindly.”
Delivery (all sites)
“Before delivering, review one by one the items of the “Checklist before delivering the package” in section 25 of the specification, validate the package (BuilderOS → Packages → Upload package → “Validate only”,
wp bos validateor the MCP toolvalidate_package) and fix all errors and warnings before handing it to me.”