[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6ACPEK973EZPRPVTXYC23YP":3,"skill-same:01M6ACPEK973EZPRPVTXYC23YP":52},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":25,"forksCount":26,"repositoryHtmlUrl":27,"repositoryHomepageUrl":28,"ownerHtmlUrl":29,"ownerBlogUrl":30,"ownerDescription":6,"updatedAt":31,"install":32,"resources":45},"01M6ACPEK973EZPRPVTXYC23YP","manage-menus",null,"apache\u002Fofbiz-plugins","apache","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F47359?v=4","01M6AC83E6K4FDKK7HZ8WNMQKE","The Apache Software Foundation","01M6ACMJJ1Q4WYATY4GXZ2FAVD",178,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fapache\u002Fofbiz-plugins\u002Fblob\u002Ftrunk\u002Fai-agent-skills\u002Fmanage-menus\u002FSKILL.md",[],[18],"manage menus","2026-11-10 10:12:30",false,"\u003C!--\nLicensed to the Apache Software Foundation (ASF) under one\nor more contributor license agreements.  See the NOTICE file\ndistributed with this work for additional information\nregarding copyright ownership.  The ASF licenses this file\nto you under the Apache License, Version 2.0 (the\n\"License\"); you may not use this file except in compliance\nwith the License.  You may obtain a copy of the License at\n\nhttp:\u002F\u002Fwww.apache.org\u002Flicenses\u002FLICENSE-2.0\n\nUnless required by applicable law or agreed to in writing,\nsoftware distributed under the License is distributed on an\n\"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, either express or implied.  See the License for the\nspecific language governing permissions and limitations\nunder the License.\n-->\n\n---\nname: manage-menus\ndescription: Define and maintain navigation menus using the OFBiz Menu Widget XML.\n---\n\n# Skill: manage-menus\n## Goal\nDefine and maintain application navigation bars and sub-menus using the OFBiz Menu Widget XML.\n\n## Triggers\n**ALWAYS** read this skill when:\n- Creating or modifying XML files in `widget\u002F` directory (e.g., `*Menus.xml`).\n- Adding new navigation items or modifying menu hierarchies.\n\n## Use when\n- Designing the main application header menu.\n- Creating contextual sub-menus (e.g., tab bars for specific entities).\n- Implementing conditional visibility for menu items based on permissions or data state.\n\n## Procedure\n1. **Menu Structure**:\n    - Use `\u003Cmenu>` as the root element with a unique name.\n    - Set `default-menu-item-name` to highlight the active tab by default.\n2. **Menu Items**:\n    - Use `\u003Cmenu-item>` for each link.\n    - Add a `\u003Clink>` child element to define the `target` (request URI) and `text` (label).\n3. **Conditional Visibility**:\n    - Use `\u003Ccondition>` blocks within `\u003Cmenu-item>`.\n    - Check permissions using `\u003Cif-has-permission>` or attribute states using `\u003Cif-compare>`.\n4. **Integration**:\n    - Include menus in screens using `\u003Cinclude-menu name=\"...\" location=\"...\"\u002F>` within a decorator or screen.\n\n## Guardrails\n- **Naming**: Menu names should be PascalCase, and item names should be camelCase.\n- **Labels**: Reference all menu item text via `${uiLabelMap.LabelName}`.\n- **Paths**: Use standard `component:\u002F\u002F` paths for included menu locations.\n- **Styling**: Use `selected-style` to visually distinguish the active menu item.\n\n## Examples\n**Example: Menu with Permission-based Items**\n```xml\n\u003Cmenu name=\"ExampleTabBar\" extends=\"CommonTabBarMenu\" extends-resource=\"component:\u002F\u002Fcommon\u002Fwidget\u002FCommonMenus.xml\">\n    \u003Cmenu-item name=\"EditExample\" title=\"${uiLabelMap.ExampleExample}\">\n        \u003Clink target=\"EditExample\">\n            \u003Cparameter param-name=\"exampleId\"\u002F>\n        \u003C\u002Flink>\n    \u003C\u002Fmenu-item>\n    \u003Cmenu-item name=\"EditExampleItems\" title=\"${uiLabelMap.ExampleExampleItems}\">\n        \u003Ccondition>\n            \u003Cif-has-permission permission=\"EXAMPLE\" action=\"_VIEW\"\u002F>\n        \u003C\u002Fcondition>\n        \u003Clink target=\"EditExampleItems\">\n            \u003Cparameter param-name=\"exampleId\"\u002F>\n        \u003C\u002Flink>\n    \u003C\u002Fmenu-item>\n\u003C\u002Fmenu>\n```\n",{},"trunk","6c6c27710443de03e9247605d33a2e2f5bc3d1e2","ai-agent-skills\u002Fmanage-menus",221,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fofbiz-plugins","https:\u002F\u002Fofbiz.apache.org\u002F","https:\u002F\u002Fgithub.com\u002Fapache","https:\u002F\u002Fwww.apache.org\u002F","2026-11-12 22:04:06",{"source":7,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add apache\u002Fofbiz-plugins --skill manage-menus",{"tool":38,"command":39},"bunx","bunx skills add apache\u002Fofbiz-plugins --skill manage-menus",{"tool":41,"command":42},"pnpm","pnpm dlx skills add apache\u002Fofbiz-plugins --skill manage-menus","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fapache\u002Fofbiz-plugins\u002Fblob\u002Ftrunk\u002Fai-agent-skills\u002Fmanage-menus\u002FSKILL.md",true,[46],{"path":47,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":50,"sourceHtmlUrl":51},"OWNERSHIP","OTHER","其他",16,"https:\u002F\u002Fgithub.com\u002FJetBrains\u002Fintellij-community\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Fui-accessibility\u002FOWNERSHIP",[53,60,67,74,81,88],{"skillNo":54,"name":55,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":56,"categories":57,"keywords":58,"publishedAt":19},"01M6ACQSN90YKJZ92MQ52D9R8H","prepush-readiness","https:\u002F\u002Fgithub.com\u002Fapache\u002Fofbiz-plugins\u002Fblob\u002Ftrunk\u002Fai-agent-skills\u002Fprepush-readiness\u002FSKILL.md",[],[59],"prepush readiness",{"skillNo":61,"name":62,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":19},"01M6ACQPR1WRA751V4DXVC3AHF","manage-webapps","https:\u002F\u002Fgithub.com\u002Fapache\u002Fofbiz-plugins\u002Fblob\u002Ftrunk\u002Fai-agent-skills\u002Fmanage-webapps\u002FSKILL.md",[],[66],"manage webapps",{"skillNo":68,"name":69,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":19},"01M6ACQMCX8Z7NY2CE08NCV6ND","manage-themes","https:\u002F\u002Fgithub.com\u002Fapache\u002Fofbiz-plugins\u002Fblob\u002Ftrunk\u002Fai-agent-skills\u002Fmanage-themes\u002FSKILL.md",[],[73],"manage themes",{"skillNo":75,"name":76,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M6ACQHYN20AFWF6TKK4RGQ8A","manage-tests","https:\u002F\u002Fgithub.com\u002Fapache\u002Fofbiz-plugins\u002Fblob\u002Ftrunk\u002Fai-agent-skills\u002Fmanage-tests\u002FSKILL.md",[],[80],"manage tests",{"skillNo":82,"name":83,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":19},"01M6ACQFRMW7R45YD3HRAXPGWF","manage-templates","https:\u002F\u002Fgithub.com\u002Fapache\u002Fofbiz-plugins\u002Fblob\u002Ftrunk\u002Fai-agent-skills\u002Fmanage-templates\u002FSKILL.md",[],[87],"manage templates",{"skillNo":89,"name":90,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":19},"01M6ACQCSSDZQMD8VX2K3WRR93","manage-strategies","https:\u002F\u002Fgithub.com\u002Fapache\u002Fofbiz-plugins\u002Fblob\u002Ftrunk\u002Fai-agent-skills\u002Fmanage-strategies\u002FSKILL.md",[],[94],"manage strategies"]