Creates and edits Bricks navigation including WordPress menus, nested navigation, and mega panels. Guides when to use native Nav Nested + Dropdown vs WordPress Nav Menu.
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.
Preserve the site's navigation model. Ordinary menu edits do not require a mega panel or a new header. Pick the existing-menu or native-element path before writing.
Use list-nav-menus and get-nav-menu to resolve the current menu and item IDs.
Use save-nav-menu for the requested labels, links, hierarchy/order and locations,
preserving unrelated fields and Bricks item metadata. Omitted items are retained,
not deleted; removals need explicit item IDs through delete-nav-menu-items.
Do not create a section template or enable mega-menu settings for an ordinary link
change. Read back the affected tree and check the rendered header when possible.
For a new header without an established menu model, Nav Nested + Dropdown is a useful native option. It is fully Bricks-native: the menu, dropdown panel, layout, styles, and mobile behavior live in the header template element tree, so normal element abilities can create and edit everything.
Use WordPress Nav Menu + Bricks section template only when:
Author this inside the active header template. Load bricks-headers-footers first if you have not already identified the header template and area.
Safe shape:
header template
`-- section
`-- nav-nested
|-- block (tag: ul; _hidden._cssClasses: brx-nav-nested-items)
| |-- text-link
| `-- dropdown (settings.megaMenu = true)
| `-- div/block/container with _hidden._cssClasses: brx-dropdown-content
| `-- rich mega menu content: grids, columns, headings, images, buttons, nav links
`-- toggle / close controls as needed for mobile
Read nestableChildren from bricks/get-element-schema for Nav Nested and
Dropdown on Bricks 2.4.2+. Keep both required wrapper classes and their direct
parent-child relationships; the element write validator rejects a tree without
either wrapper (includes/abilities/element-validator.php). When editing an
existing menu, preserve its authored children instead of replacing them with
the schema defaults.
Important settings:
dropdown element, set megaMenu: true.megaMenuSelector when the panel should match a specific wrapper width and horizontal position, such as a custom header inner wrapper. If omitted, Bricks uses the document body width.megaMenuSelectorVertical only when the vertical offset must be calculated from a specific header node.toggleOn intentional: hover for classic desktop menus, click for touch-friendly or complex panels.<li class="menu-item"> wrappers. Use layout elements freely for columns/cards; add text links where a real menu link is needed.Mobile behavior:
nav-nested parent.Use this when the site already has a WordPress menu or the user asks for dashboard-managed menus.
Discovery:
bricks/list-nav-menus through the dispatcher to see existing menus, locations, and Bricks mega-menu metadata.bricks/get-nav-menu for the exact menu tree before editing.bricks/list-templates filtered to section if you need an existing mega menu template.If a mega menu template is needed:
bricks/create-template, type: "section", and status: "publish".bricks/save-nav-menu using:{
"menuId": 123,
"items": [
{
"menuItemId": 456,
"title": "Services",
"url": "/services/",
"bricksOptions": {
"megaMenuTemplateId": 789
}
}
]
}
Then make sure the header has a nav-menu element with:
menu set to the WordPress menu ID.megaMenu: true.megaMenuSelector if the panel should match a header wrapper instead of the body.megaMenuToggleOn set intentionally.bricks/save-nav-menu can create/rename a menu, assign registered theme locations, create/update/reorder items, and set Bricks item options. It preserves omitted items. WordPress menu edits have no Bricks revisions.
Use explicit destructive abilities for removals:
bricks/delete-nav-menu-items for specific menu item IDs.bricks/delete-nav-menu for a whole menu.Before destructive calls, inspect the current bricks/get-nav-menu snapshot and
ensure the exact removal is authorized. Ask only if scope or targets are unclear. The delete response returns beforeDelete; retain it for
recovery after the operation.
Read back first:
bricks/get-page-elements on the header template: confirm the nav-nested, dropdown, or nav-menu settings persisted.bricks/get-nav-menu: confirm item order, parent IDs, and Bricks megaMenuTemplateId / multilevel options.bricks/list-revisions for header/template element writes that returned revisionId.Browser verification should cover:
nav-menu only because the word "menu" appears in the request. Prefer nav-nested for new work.megaMenuTemplateId to a nested WordPress menu item. Bricks mega menus are for top-level menu items.megaMenu on the header nav-menu element. The menu item meta alone is not enough.What SKILL.md sets; muted values are Claude Code's defaults
/bricks:bricks-mega-menusfrom 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