Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

bricks

БесплатноБез исполняемых скриптовНе проверен

Author Bricks Builder (WordPress) layouts, templates, and full designs as paste-ready JSON. Use for any Bricks task — sections, pages, headers/footers, query…

wpgauravот wpgaurav★ 24 звезды на GitHub

Об этом скилле

Bricks Builder JSON Authoring

Generate complete Bricks designs as JSON that pastes or imports cleanly on the first try.

Default Deliverable

Produce an actual .json file in the workspace (not inline JSON) unless the user asks otherwise. Use the project's folder convention if one exists; otherwise bricks-json/{type}-{slug}.json. In the final response state: the file path, which JSON format you used, and the validation checks performed.

Workflow

  1. Pick the format — clipboard paste vs template import vs programmatic insert → references/json-formats.md
  2. Plan structure — semantic section → container → blocks tree; pick elements from the catalog → references/elements.md
  3. Style with settings — every _ style key and its exact value shape → references/style-settings.md
  4. Wire data — dynamic tags, query loops, filters as needed (see routing table)
  5. Validate — checklist below, then deliver

Format Quick Reference

Clipboard (paste into builder) — the default for sections and page content:

{
  "content": [ /* flat array of element nodes */ ],
  "source": "bricksCopiedElements",
  "sourceUrl": "https://example.com",
  "version": "2.3.6",
  "globalClasses": [ /* full class objects referenced by _cssGlobalClasses */ ],
  "globalElements": []
}

Element node (every entry in content):

{
  "id": "abc123",
  "name": "heading",
  "parent": "xyz789",
  "children": [],
  "settings": {},
  "label": "Optional structure-panel label"
}
  • id: unique 6-char alphanumeric. parent: parent's id, or 0 for root elements.
  • The array is flat — hierarchy lives entirely in parent + children (ids must cross-reference exactly).
  • Root elements are usually section; never nest a section inside anything.

Task Routing

Task Reference
Format selection, clipboard/template/meta storage, programmatic insert references/json-formats.md
Element catalog, per-element settings, nestables references/elements.md
Style keys, value shapes (color/typography/border/shadow/gradient/transform), responsive + hover grammar references/style-settings.md
Section/grid/flex recipes, cards, overlays, sticky, full designs references/layout-recipes.md
Dynamic data tags {post_title}, args, {echo:} references/dynamic-data.md
ACF (incl. repeaters, groups, flexible content), Meta Box, JetEngine, Pods, CMB2 references/acf-providers.md
Query loops (hasLoop + query), post/term/user queries references/query-loops.md
Faceted filters, AJAX pagination, load more, infinite scroll, live search references/query-filters.md
Show/hide conditions (_conditions) references/conditions.md
Interactions, animations, scroll triggers (_interactions) references/interactions.md
Popups (templates, triggers, limits, AJAX) references/popups.md
Template types, conditions, import/export, header/footer/archive/404 references/templates.md
Components, global classes, global variables, color palette references/components-classes.md
Theme styles, breakpoints, CSS generation order references/theme-styles.md
Form element, actions, validation references/forms.md
WooCommerce templates and elements references/woocommerce.md
PHP: custom elements with controls references/custom-elements.md
PHP: filters and actions references/hooks.md
Asset loading, builder permissions references/assets-permissions.md

Ready-to-paste examples (hero, grids, ACF loops, filtered archive, header/footer, popup…): patterns/ — see patterns/INDEX.md.

Non-Negotiable Rules

  1. Flat tree integrity — every children id exists as a node whose parent points back. No orphans, no duplicates.
  2. Verified value shapes only — colors are objects ({"hex": "#222"} or {"raw": "var(--x)"}), typography keys are CSS property names ("font-size", not fontSize), box-shadow offsets nest under values, gradients use colors: [{color, stop}]. When unsure, check style-settings.md — do not guess shapes.
  3. Responsive grammar — setting:breakpoint:pseudo with colons: _padding:tablet_portrait, _background:hover, _margin:mobile_portrait:hover. Default breakpoint keys: tablet_portrait (991), mobile_landscape (76
Полный SKILL.md на GitHub

Установить bricks в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

bricks-assets.mdbricks-builder-permissions.mdbricks-conditions.mdbricks-dynamic-data.mdbricks-elements.mdbricks-elements/SKILL.mdbricks-forms.mdbricks-hooks.mdbricks-hooks/SKILL.mdbricks-interactions.mdbricks-layouts.mdbricks-layouts/SKILL.mdbricks-popups.mdbricks-query-filters.mdbricks-query.mdbricks-templates.mdbricks-templates/SKILL.mdbricks-woocommerce.mdcore-framework-classes.mdpatterns/INDEX.mdpatterns/bem-card-grid.jsonpatterns/bem-hero.jsonpatterns/bem-pricing.jsonpatterns/blog-archive-filters.jsonpatterns/contact-section.jsonpatterns/cta-section.jsonpatterns/faq-accordion.jsonpatterns/feature-grid.jsonpatterns/footer-template.jsonpatterns/header-template.jsonpatterns/hero-centered.jsonpatterns/hero-split-image.jsonpatterns/logo-strip.jsonpatterns/popup-newsletter.jsonpatterns/pricing-table.jsonpatterns/team-grid-acf.jsonpatterns/testimonials-slider.json

FAQ

Что делает скилл bricks?

Author Bricks Builder (WordPress) layouts, templates, and full designs as paste-ready JSON. Use for any Bricks task — sections, pages, headers/footers, query loops, ACF/dynamic data, faceted filters, conditions, interactions/animations, popups, WooCommerce templates, custom elements, or hooks. Verified against Bricks 2.3.6 source.

Как установить скилл bricks?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл bricks запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить bricks с