Verifies Bricks CMS writes by reading back persisted state and runtime evidence. Use after broad, destructive, or uncertain mutations to catch silent failures in routing, references, or settings.
Ships in bricks. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Some Bricks writes can succeed at the storage layer and still leave the page broken: wrong routing, a lost reference, a silently rejected setting, or a mistyped dynamic tag. Verify in proportion to the write and use authoritative mutation readback instead of repeating it.
If a
bricks/*ability is not available as a direct tool: first check whether it is outside the fast path and call it throughmcp-adapter-execute-abilitywithability_name: "bricks/<name>". If the dispatcher also rejects it, callbricks-list-ability-statusto check whether a site admin disabled it under Bricks > AI.
Inspect every mutation response for target identity, persisted changed values (or an equivalent authoritative result), normalization/omissions and completion state. When it establishes those facts for a focused change, do not repeat the same read. A revision ID alone proves neither the requested values nor the final tree; versions and digests are guards, not semantic readback. Read the affected resource when those facts are absent, a write is broad/destructive, or the response reports uncertainty. Use render/browser evidence for the behavior the change affects. Stop dependent writes when checks disagree and investigate the actual persisted state.
| Wrote | Explicit verification when mutation readback is insufficient |
|---|---|
update-element, batch-update-elements, add-element, remove-element | get-page-elements (post id): confirm the changed element ids in the returned tree |
update-element-conditions | get-element-conditions: confirm _conditions round-tripped and group/item counts match intent |
update-element-interactions | get-element-interactions: confirm interactions round-tripped and check effectiveInteractions for inherited class rows |
set-page-elements | get-page-elements: diff vs what you sent |
set-template-conditions | get-template (id): confirm templateConditions round-tripped |
create-template, set-template-settings | get-template / get-template-settings: confirm type, title, settings |
set-global-variables | list-global-variables: confirm count and shape |
create-color, update-color, delete-color | list-color-palettes (paletteId): diff colors array |
create-color-palette, update-color-palette, delete-color-palette | list-color-palettes: confirm presence/absence |
create-theme-style, update-theme-style | get-theme-styles (id): confirm settings + conditions |
create-global-class, update-global-class | list-global-classes: confirm class settings |
create-component, update-component, extract-component-from-elements | get-component (id): confirm tree, properties, variants, _version, propertyGroups, slot elements, slotChildren, nested component properties, and returned designSystemVersion |
delete-component | get-design-context (includeUsage: true): confirm the component is absent and no unexpected references remain |
regenerate-css-files | spot-check a frontend page in the bricks-browser-verify skill |
reindex-filters | list-query-filters: confirm filters still resolve their target queries |
Global design writes use resource-specific ownership and digest preconditions.
Copy the complete ownership values from one latest matching read; never reconstruct
them from designSystemVersion or mix values from different reads:
expectedCategoryOwnership when categorized. Batch create uses
list-global-classes.ownership; update/delete use the target itemOwnership as
expectedOwnership plus lockOwnership. Categorized batch/update writes also use
categoryOwnership.variableOwnership + categoryOwnership; item delete uses
the exact variable itemOwnership and literal allowOrphans: true.ownership for creates, target itemOwnership for
updates/deletes, and preview saveOwnership for saved shade generation.itemOwnership from a complete current
theme-style read. Do not derive it from summarized visible settings. Deleting a
non-empty style additionally requires reviewed acknowledgeStyleRemoval: true.expectedDesignSystemVersion plus full
expectedComponentDigest; slot/deletion acknowledgements are additional, not
substitutes for either precondition.customEnabled also require current global-settings ownership.On an ownership/digest conflict, re-read and rebase the intended edit. Do not retry the stale payload.
For unfamiliar dynamic tags, discover the current tag/controls and preview against a representative post when that context can represent the intended use:
preview-dynamic-tag (tag: "{your_tag:modifier}", postId: <representative post>, context: "text")
Inspect rendered, isEmpty and unknownTags. Resolve unknown tags before using
them. Empty output can be valid missing data or the wrong preview context; it is not
by itself a broken field. This ability does not accept an arbitrary term/user/ACF
loop row. Verify those expressions in their actual loop context and report missing
runtime evidence instead of rejecting a valid tag from an unrelated post preview.
For broad same-post element setting edits, validate first when the write ability offers a dry run. If normalization changes settings you did not intend, stop before saving.
When writing to a bricks_template post:
get-page-elements (postId): the response should include the new/updated element._bricks_template_type = header, the tree must come from _bricks_page_header_2 automatically: get-page-elements handles routing; if the response is empty after a successful write, the area inference is wrong (file a bug, don't keep writing).The Bricks MCP write layer rejects:
query: null and queries missing objectType -> set-page-elements, add-element, update-element.link settings (external without url, internal without postId) -> element link controls.{ / } in non-code settings -> dynamic-data sanity check.set-global-variables (use complete rows returned by the current
contract; response-only itemDigest / itemOwnership are stripped safely).conditions[i].main (must be one of any, frontpage, postType, archiveType, search, error, terms, ids, hook)._conditions groups, missing key, invalid compare, or incomplete dynamic_data rows._interactions trigger/action/target values, missing required action fields, inline JavaScript payloads, or JavaScript callback args without valid row data.taxonomy::id form.If you got back a bricks_* error code from one of these, do not retry the same payload. Read the message, fix the shape, then write.
Some writes can orphan references that no validator catches:
set-global-variables doesn't update existing element settings that reference var(--old-name). After the rename, search the design system for stale references:
list-global-classes -> grep settings for var(--old-name).checkout-site-repository, following cursors, then inspect their complete element settings. Also inspect component definitions, including nested instances.get-theme-styles -> grep for var(--old-name).delete-color) silently breaks every var(--name) reference. Same search before deleting._cssGlobalClasses. Search elements before deleting; on Bricks 2.5+, start with get-global-class-usage.cid, including nested instances inside other component definitions. Before deleting, read get-component for the full componentDigest and get-design-context with includeUsage: true; pass expectedDesignSystemVersion, expectedComponentDigest, the reviewed expectedUsageCount, and literal allowOrphans: true. Show affected posts/templates/components before the delete. The acknowledgement is mandatory even at zero discovered usages.list-global-revisions before relying on restore-global-revision as the undo path.disableGlobalDataHistory on, global-data writes are not revision-backed. Before a destructive change, use bricks/list-transfer-items and bricks/export-transfer-package to save the affected supported items. Restore only after bricks/inspect-transfer-package, passing its returned zipHash as expectedZipHash plus explicit item IDs. Any replacement requires clear user intent and allowOverwrite: true. Load bricks-import-export for the full flow.For component writes, check these specifically:
update-component used both the latest designSystemVersion and complete
componentDigest from current reads. On either conflict, re-read and merge instead
of retrying the stale payload.get-component returns _version. Missing _version makes the builder treat the component as an old beta component and highlight it in red.connections key exists as an element id inside the component tree.parent:cid_<componentId>:prop_<propertyId> and points at the current outer component id after create/update remapping.slotChildren key is a real slot element id on the referenced component, and every slotted child id exists in the same tree.elements were replaced on update-component, unchanged properties must still point at surviving element ids.allowSlotOrphans: true was an explicit reviewed
acknowledgement; bounded usage evidence is not proof that no instance content exists.For UI-affecting changes (layout, typography, color), the meta-write succeeded does not mean the rendered page is correct. Use the bricks-browser-verify skill to:
Report any render checks that could not be completed.
list-* abilities are paginated. hasMore: true in the response means you only saw a subset. For verify-after-write, scope the read to the resource you wrote (filter by id, paletteId, type, etc.): never rely on page-1 results to confirm something you wrote that might be on page 5.
get-* shows the old state -> save was vetoed by a hook (look for bricks/save_* filters in the project's custom code).conditions array (silently inert) or condition doesn't match the page you tested.set-template-conditions succeeded but template still doesn't render -> another template of the same type has a higher score (see templates-conditions scoring).update-element-conditions succeeded but the element still renders -> another OR group matches, or the page/template you tested is not the same context used by the condition.update-element-interactions succeeded but the old behavior still fires -> the interaction may be inherited from a global class. Check effectiveInteractions.content: '\2197' in _cssCustom or Windows paths in text. Read back settings containing \. In 2.4.5 and later, send the literal value once; do not pre-escape it.list-global-variables shows the new name but elements still emit the old var() -> element settings reference the old name; do the reference-integrity sweep.For independent same-post element setting edits, prefer one batch write plus one readback over several update/read cycles. Keep destructive, uncertain, or user-sensitive changes isolated.
Use this when checking whether a site's Bricks abilities are installed, enabled, and returning safe results. Skip this for normal site-building work:
bricks-get-mcp-version, bricks-list-ability-status, mcp-adapter-discover-abilities, and mcp-adapter-get-ability-info for every bricks/* ability.list-remote-templates default summary mode and a small perPage to choose a template. Use bricks/insert-remote-template for insertion. Use mode: "full" only when intentionally inspecting the complete remote payload for debugging.bricks-browser-verify: render-verification on the frontend.bricks-dynamic-data: preview-dynamic-tag pre-write check + unknownTags interpretation.bricks-templates-conditions: scoring rules for "which template won" investigations.bricks-element-conditions: OR/AND grouping and element render rules.bricks-interactions: inherited class rows, required action fields, and frontend interaction debugging.bricks-headers-footers: area-routing context for element-write verifies.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
/bricks:bricks-quality-gatefrom bricks
npx claudepluginhub codeerhq/bricks-skills --plugin bricks46 skills in this plugin
/bricks-agent-repositoryHandle complex existing-site Bricks edits through advertised repository/workspace workflows when focused abilities cannot express the change./bricks-ai-tabDiagnose Bricks AI connection setup, ability toggles, dispatcher availability and disabled actions. Use for connection/availability problems./bricks-audit-design-systemAudit Bricks classes, variables, palettes and components, or carry out requested cleanup. Report-only audits do not authorize fixes.Other plugins' skills for the same job