educlopez/mallard/elementflow-kb

Claude Code and agent skill by educlopez/mallard

Trust tier 3
  • community
  • ext:[{"type":"template","description":"Custom templates for code generation"}]
Source check pending

Checking that the SKILL.md file is still in the repository.

Curated knowledge base for ElementFlow — an Elementor-based page-builder theme/module for PrestaShop (backed by the `stsitebuilder` module: header, footer, home, category, product-page, and CMS-page builders, plus a widget library). Use when answering questions about ElementFlow-specific widgets (Newsletter, Container, Grid, PrestaShop module, Image, Registration/Login/ Sign-in forms, Custom template, Tabs & megamenu, Divider, Product name/ comment/gallery, Search, Text editor, Slider, Accordion), the page builders (product/category miniature, product/category page, shopping cart, header, mobile menu, CMS page), or ElementFlow-specific features (sticky header, wishlist, shortcodes, display conditions, drag & drop editor, sidebar/popup, side cart, SVG icons, checkout/my-account child theme, blog, JS events). Also trigger for install/upgrade/demo-import/dev-to-production questions about ElementFlow, or when the user mentions `stsitebuilder`, `st_site_builder`, or a project using the ElementFlow child theme. Trigger PROACTIVELY — even without an explicit ElementFlow question — whenever the working project is a PrestaShop store using ElementFlow/`stsitebuilder` (e.g. a `themes/*` child theme with `parent: classic` alongside a `modules/stsitebuilder/` directory) and the task touches storefront UI, layout, header/footer/home/category/ product-page structure, or theme CSS — check this KB before guessing at builder behavior or writing CSS that duplicates something the builder already handles natively. For PrestaShop platform-level questions unrelated to the builder (Symfony BO, Twig, Smarty core, hooks, theme.yml mechanics, migration 8→9) use the `prestashop-kb` skill instead. For the Panda theme (`st*` modules, SunnyToo, Easy Builder) use `panda-kb`.

Install

npx vskill@latest install educlopez/mallard/elementflow-kb

Semi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard

SKILL.md

The same SKILL.md was published earlier as educlopez/mallard/elementflow-kb.

ElementFlow Knowledge Base

This skill exposes a curated ElementFlow knowledge base: 50 docs scraped from ElementFlow's own demo/docs site, plus empirically-learned gotchas from working on a real ElementFlow project (ps9-gaudibarcelonashop) that aren't documented anywhere official.

When this skill is relevant

Load and read from this KB when the user mentions:

  • ElementFlow as a theme/builder, or the `stsitebuilder` PrestaShop module (its Elementor-based engine — vendored under modules/stsitebuilder/libs/elementor/ in a project that uses it).
  • Any of its widgets by name (Newsletter, Container/Flex, Grid, PrestaShop module, Image, Registration form, Login form, Sign in, Custom template, Tabs & megamenu, Divider, Product name/comment/gallery, Search, Text editor, Slider, Accordion).
  • Its page builders (product/category miniature, product page, category page, shopping cart page, header, mobile menu, CMS page).
  • Its features (sticky header, wishlist, shortcodes {SSBC id=X}, display conditions, drag & drop editor behavior, sidebar/popup, side cart, SVG handling, checkout/my-account child theme, built-in blog, JS events).
  • Install/upgrade/demo-import/dev-to-production questions about a project running ElementFlow.

Do NOT load for: PrestaShop core mechanics unrelated to the builder (use prestashop-kb), the Panda theme (use panda-kb), or non-PrestaShop e-commerce.

KB layout

references/
├── README.md # conventions + index
└── docs/
├── _index.md # table of all 50 files by section, with source URLs
├── welcome.md, faqs.md, system-requirements.md, installation.md,
│ upgrade.md, import-demo-data.md, setup-service.md,
│ dev-to-production.md, changelog.md # Getting started (9)
├── product-miniature.md, category-miniature.md,
│ product-page-builder.md, category-page-builder.md,
│ shopping-cart-page.md, header-builder.md,
│ mobile-menu-builder.md, cms-page-builder.md # Page builders (8)
├── widget-*.md # Widgets (18)
└── feature-*.md, howto-*.md # Features (15)

How to use the KB

  1. Start with the index: docs/_index.md for the full table, grouped by section, with the original source URL for each.
  2. Open the specific file for the widget/builder/feature in question.
  3. "How do I get ElementFlow running?" → docs/system-requirements.md, docs/installation.md, docs/import-demo-data.md, docs/dev-to-production.md in that order.
  4. Changelog / "what changed in vX" → docs/changelog.md.

Key facts to surface to agents

  • Server requirements: 512M+ memory_limit, 16MB post_max_size and upload_max_filesize.
  • Install: via Back Office → Modules → Upload a module (sitebuilder.zip), not composer/FTP-only. If widgets don't render after upload, clear cache via FTP as a fallback.
  • Upgrade: either the "Live Upgrade" one-click path or a manual package swap — either way, clear cache afterward.
  • Demo import: 4 distinct ways (Import feature, template Library, copy-from-live-frontend, copy-from-editor) — not just one.
  • Dev → production: domain change, full server transfer, and data-only transfer are three different documented workflows; moving from a subfolder install to root needs an explicit path fix.
  • Shortcodes: {SSBC id=X} reuses a saved widget/section across pages/templates — this is ElementFlow's answer to "reusable blocks."
  • Display conditions: widgets can be conditionally shown by customer group, cart state, product/category state, and conditions can nest.
  • Side cart: two different implementation paths exist (a single "Sidebar Cart" widget, vs. composing it from separate product/summary/button/voucher widgets) — check which one a given project actually uses before assuming.
  • PrestaShop module integration: ElementFlow ships specific compatibility patches for a number of popular third-party modules (SEO Audit, Gift card, Amazzing/Easy filter, WebP, PrestaShop Checkout, loyalty rewards, min/max quantity, product comparison, notify-me) — docs/feature-ps-module-integration.md lists exactly which and what the patch does.

Gotchas learned empirically (not in the official docs)

These came from working on a real ElementFlow project, not from the scraped docs — trust these over guessing from the docs alone when they conflict:

  • PrestaShop's CCC (combine/compress/cache) will happily bundle a stale copy of a theme's custom.css if PS_CSS_THEME_CACHE=1 and the cache wasn't cleared after a CSS rebuild. If a CSS fix "isn't showing up" after a rebuild, check themes/<theme>/assets/cache/theme-*.css for stale bundles before assuming the fix didn't apply.
  • Per-widget/global colors: ElementFlow's stsitebuilder DOES support real Elementor-style Global Colors (__globals__.text_color: "globals/colors?id=..." in a widget's stored settings), resolved via a separately auto-generated stylesheet (libs/elementor/js/elementor/css/elementor/css/post-global-setting-css-{shop_id}.css, regenerated automatically if missing) — NOT via a full "Kit" document/post the way vanilla Elementor works. Don't assume a __globals__ color reference is broken just because there's no dedicated kit post in the DB; check whether that global-setting stylesheet actually defines the referenced --e-global-color-* variable before concluding it's orphaned.
  • `html,body{overflow-x:hidden}` (a common "kill the mobile horizontal scroll" fix) combined with a height:100% reset on html/body (which Classic/child themes often carry for sticky-footer layouts) triggers a legacy CSS spec quirk: when one axis is non-visible and the other isn't set, the browser forces the other axis to auto — turning <body> into its own internally-scrolling box and silently breaking anything that listens to window/document scroll events (sticky headers, scroll-triggered JS). Use overflow-x: clip instead of hidden to sidestep this.
  • A widget's `_css_classes` / `css_classes` field (set via the builder's Advanced tab — _css_classes on widgets, css_classes on containers) is the correct way to give theme CSS a stable hook — prefer it over Elementor's auto-generated per-element IDs/classes (.elementor-element-xxxxxxx), which are long, unstable across re-saves, and hard to read. Set it from the very first CSS rule you write for an element, not "later once things settle" — a real project (llobetonline-style header+footer rebuild) wrote ~28 .elementor-element-{hash} selectors across header and footer before anyone flagged it, and untangling that afterward meant re-opening every widget in the editor to retrofit a class, then rewriting every selector in the theme CSS — a full-file refactor that a few seconds of Advanced-tab typing per widget, done up front, would have avoided entirely. When setting this via $e.run('document/elements/settings', ...) instead of clicking the panel, double-check which key the widget actually reads — passing css_classes to a widget (vs. a container) silently no-ops (the setting is accepted into the model and saves fine, but the class never lands in the rendered HTML) because widgets read _css_classes, not css_classes; verify by re-querying the live DOM (document.querySelector('.your-class')) after publish, not just by trusting that the $e.run call returned without error.
  • Header/footer/home content is genuinely split between builder-native config (colors, typography, per-widget custom CSS — set via the admin UI, stored in DB, wiped on a DB refresh from server) and theme CSS (structural/responsive/JS-driven behavior the builder UI can't express). When deciding where a fix belongs, ask which category it falls into — see the gitlab-project-bootstrap skill's sibling notes on this for the DB-refresh risk of builder-native settings.
  • A container's `content_width` setting (`boxed` vs `full`) changes the actual DOM shape, not just the visual width: with full, widgets render as direct children of the container; with the default/boxed setting, Elementor auto-wraps them in an extra .e-con-inner div first. A CSS selector written against one shape (e.g. .my-col > .elementor-widget) can silently match nothing on a sibling page/container that uses the other setting, even though both were built with "the same" container. Cover both shapes (.my-col .e-con-inner, .my-col > .elementor-widget { ... }) rather than assuming one.
  • Elementor's own auto-generated per-widget CSS (`post-{id}.css`) loads AFTER theme `custom.css` in <head>, and can carry the exact same selector specificity as a theme override (e.g. both are two classes deep). At equal specificity, source order wins — so the widget's own generated rule (commonly max-width:100% from a width/size setting) silently beats a theme CSS override that "should" apply. If a CSS property you set on a widget isn't taking effect despite the selector clearly matching, suspect this cascade order first and add !important rather than hunting for a specificity bug that isn't there.
  • A Grid-type container (`container_type: grid`) does not default its column-gap to zero — Elementor's own grid gap default leaves a visible strip of page background between columns even when both columns' own padding is zeroed. Set gap: 0 explicitly on the grid container if you want the columns to touch.
  • `Uncaught TypeError: Cannot access offset of type string on string` in `libs/elementor/core/page-assets/data-managers/*/base.php:266` (font-icon-svg or any other page-assets data manager) is caused by a CORRUPTED on-disk cache file, not a widget-settings problem — don't reach for per-widget icon workarounds first. The file modules/stsitebuilder/libs/elementor/js/elementor/css/cache/_elementor_assets_data gets written by st_json_decode()/file_put_contents() with no file locking, so two concurrent PHP requests (e.g. a front-office page render racing an admin editor tab) can interleave their writes and leave valid JSON immediately followed by raw garbage text — st_json_decode() on that then hands back something get_saved_assets_data() can't array-index, and it throws on EVERY subsequent request that renders any font icon anywhere on the site. Symptoms: front-office pages 500 with an empty <head> (no CSS loads because the crash happens mid-render, before assets are printed), or the Element Flow editor hangs forever on its "LOADING" screen (check lando logs -s appserver for this exact fatal repeating many times in a row — that repetition is retries, not several different bugs). Fix: delete the file (gitignored, self-regenerating) — rm modules/stsitebuilder/libs/elementor/js/elementor/css/cache/_elementor_assets_data — then clear PrestaShop's own cache too (var/cache/prod) and reload; don't bother trying to hand-repair the JSON, a fresh render regenerates it cleanly.
  • `content:url(...)` on a CSS pseudo-element (`::before`/`::after`) is not a real replaced element for sizing purposes: it paints the image at its native pixel resolution regardless of any width/height set on the pseudo-element, and does NOT auto-preserve the image's intrinsic aspect ratio the way a real <img> does. This bites specifically when faking a builder-style layout on a page ElementFlow has no document for (e.g. PrestaShop-core password-recovery/forgot-password, which isn't a page you can open in the builder) and you reach for a pseudo-element to inject a logo or hero image via CSS alone. Use background-image + background-size: contain (or cover) on an empty (content:"") pseudo-element instead — that correctly rescales, same as object-fit does for a real <img>.
  • Faking a builder-style split/grid layout on a non-builder PrestaShop-core page (no ElementFlow document exists for it) means you're fighting Bootstrap, not Elementor: Bootstrap's .container sets a

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

Popularity

Repository stars
3
7-day trend score
7

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Extension points

  • templateCustom templates for code generation

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/educlopez/mallard/elementflow-kb/badge)](https://verified-skill.com/skills/educlopez/mallard/elementflow-kb)

Something wrong with this skill or its page? Tell us.