[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6ACQMCX8Z7NY2CE08NCV6ND":3,"skill-same:01M6ACQMCX8Z7NY2CE08NCV6ND":80},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":7,"sourceHtmlUrl":17,"categories":18,"keywords":29,"publishedAt":31,"linkOnly":32,"markdownContent":33,"markdownBody":33,"frontMatter":34,"refName":35,"commitSha":36,"skillDirectory":37,"forksCount":38,"repositoryHtmlUrl":39,"repositoryHomepageUrl":40,"ownerHtmlUrl":41,"ownerBlogUrl":42,"ownerDescription":7,"updatedAt":43,"install":44,"resources":57},"01M6ACQMCX8Z7NY2CE08NCV6ND","manage-themes","主题管理",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-themes\u002FSKILL.md",[19,24],{"categoryNo":20,"categoryName":21,"taxonomyType":22,"taxonomyTypeDesc":23},"01M8BQ6TQMKHSMFVQHR2KYAEVN","界面设计师","PROFESSION","适用职业",{"categoryNo":25,"categoryName":26,"taxonomyType":27,"taxonomyTypeDesc":28},"01M8BRASNPVNJVQQJ4KZX8XM5D","前端开发与界面实现","SCENARIO","使用场景",[30],"manage themes","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-themes\ndescription: Manage OFBiz Visual Themes. Use when defining theme resources (CSS\u002FJS), creating theme variations, or managing LESS files.\n---\n\n# Skill: manage-themes\n## Goal\nConfigure and customize the visual appearance of OFBiz applications using the Visual Theme system.\n\n## Triggers\n**ALWAYS** read this skill when:\n- Creating a new theme component.\n- Modifying CSS, JS, or LESS resources for a specific theme.\n- Adding theme variations (e.g., color schemes).\n\n## Use when\n- Defining `VisualTheme` and `VisualThemeResource` entities.\n- Registering theme data in `ofbiz-component.xml`.\n- Managing template locations and styling assets.\n\n## Procedure\n1. **Define VisualTheme**:\n    - The root record for a theme.\n    - Fields: `visualThemeId`, `visualThemeSetId` (e.g., `BACKOFFICE`, `ECOMMERCE`), `displayName`.\n2. **Define Theme Resources**:\n    - Use `VisualThemeResource` to attach assets (CSS, JS, Favicons) to the theme.\n    - Fields: `visualThemeId`, `resourceTypeEnumId` (e.g., `VT_STYLESHEET`, `VT_SCRIPT`), `sequenceId`, `resourceValue`.\n3. **LESS Compilation (if applicable)**:\n    - OFBiz themes often use LESS. Link the compiled CSS or the variable files in the resource records.\n4. **Register in Component Context**:\n    - Ensure the theme data file is registered in `ofbiz-component.xml` via `\u003Centity-resource type=\"data\" ...\u002F>`.\n\n## Guardrails\n- **Resource Ordering**: Use `sequenceId` in `VisualThemeResource` to ensure correct loading order of CSS\u002FJS.\n- **Paths**: Use standard webapp paths or component-relative paths for assets.\n\n## Examples\n**Example: Defining a Theme and CSS Resource**\n```xml\n\u003Centity-engine-xml>\n    \u003CVisualTheme visualThemeId=\"MY_MODERN_THEME\" visualThemeSetId=\"BACKOFFICE\" displayName=\"My Modern Theme\"\u002F>\n    \n    \u003C!-- Link Global Stylesheet -->\n    \u003CVisualThemeResource visualThemeId=\"MY_MODERN_THEME\" resourceTypeEnumId=\"VT_STYLESHEET\" \n                         sequenceId=\"01\" resourceValue=\"\u002Fmy-assets\u002Fcss\u002Fmain-style.css\"\u002F>\n                         \n    \u003C!-- Link Theme-specific JS -->\n    \u003CVisualThemeResource visualThemeId=\"MY_MODERN_THEME\" resourceTypeEnumId=\"VT_SCRIPT\" \n                         sequenceId=\"01\" resourceValue=\"\u002Fmy-assets\u002Fjs\u002Ftheme-init.js\"\u002F>\n\u003C\u002Fentity-engine-xml>\n```\n\n**Example: Theme Variation (Sub-Theme)**\n```xml\n\u003Centity-engine-xml>\n    \u003CVisualTheme visualThemeId=\"MY_MODERN_DARK\" visualThemeSetId=\"BACKOFFICE\" displayName=\"Modern Dark\"\u002F>\n    \u003CVisualThemeResource visualThemeId=\"MY_MODERN_DARK\" resourceTypeEnumId=\"VT_SCREEN_SHOT\" \n                         resourceValue=\"\u002Fmy-assets\u002Fimages\u002Fdark-preview.png\"\u002F>\n\u003C\u002Fentity-engine-xml>\n```\n",{},"trunk","6c6c27710443de03e9247605d33a2e2f5bc3d1e2","ai-agent-skills\u002Fmanage-themes",222,"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":9,"skillName":5,"commands":45,"prompt":55,"zipAvailable":56},[46,49,52],{"tool":47,"command":48},"npx","npx skills add apache\u002Fofbiz-plugins --skill manage-themes",{"tool":50,"command":51},"bunx","bunx skills add apache\u002Fofbiz-plugins --skill manage-themes",{"tool":53,"command":54},"pnpm","pnpm dlx skills add apache\u002Fofbiz-plugins --skill manage-themes","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fapache\u002Fofbiz-plugins\u002Fblob\u002Ftrunk\u002Fai-agent-skills\u002Fmanage-themes\u002FSKILL.md",true,[58,64,68,72,76],{"path":59,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":62,"sourceHtmlUrl":63},"references\u002FASCII.md","REFERENCE","参考文档",4434,"https:\u002F\u002Fgithub.com\u002Fl-lin\u002Fdotfiles\u002Fblob\u002Fmain\u002Fhome-manager\u002Fmodules\u002Fshare\u002Fai\u002F.config\u002Fai\u002Fskills\u002Fexplain-visually\u002Freferences\u002FASCII.md",{"path":65,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":66,"sourceHtmlUrl":67},"references\u002FBLOG.md",20662,"https:\u002F\u002Fgithub.com\u002Fl-lin\u002Fdotfiles\u002Fblob\u002Fmain\u002Fhome-manager\u002Fmodules\u002Fshare\u002Fai\u002F.config\u002Fai\u002Fskills\u002Fexplain-visually\u002Freferences\u002FBLOG.md",{"path":69,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":70,"sourceHtmlUrl":71},"references\u002FHTML.md",7755,"https:\u002F\u002Fgithub.com\u002Fl-lin\u002Fdotfiles\u002Fblob\u002Fmain\u002Fhome-manager\u002Fmodules\u002Fshare\u002Fai\u002F.config\u002Fai\u002Fskills\u002Fexplain-visually\u002Freferences\u002FHTML.md",{"path":73,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":74,"sourceHtmlUrl":75},"references\u002FPR-BLOG.md",17986,"https:\u002F\u002Fgithub.com\u002Fl-lin\u002Fdotfiles\u002Fblob\u002Fmain\u002Fhome-manager\u002Fmodules\u002Fshare\u002Fai\u002F.config\u002Fai\u002Fskills\u002Fexplain-visually\u002Freferences\u002FPR-BLOG.md",{"path":77,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":78,"sourceHtmlUrl":79},"references\u002FZINE.md",22429,"https:\u002F\u002Fgithub.com\u002Fl-lin\u002Fdotfiles\u002Fblob\u002Fmain\u002Fhome-manager\u002Fmodules\u002Fshare\u002Fai\u002F.config\u002Fai\u002Fskills\u002Fexplain-visually\u002Freferences\u002FZINE.md",[81,95,107,121,135,149],{"skillNo":82,"name":83,"nameZh":84,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":7,"sourceHtmlUrl":85,"categories":86,"keywords":93,"publishedAt":31},"01M6ACQSN90YKJZ92MQ52D9R8H","prepush-readiness","推送前就绪检查","https:\u002F\u002Fgithub.com\u002Fapache\u002Fofbiz-plugins\u002Fblob\u002Ftrunk\u002Fai-agent-skills\u002Fprepush-readiness\u002FSKILL.md",[87,90],{"categoryNo":88,"categoryName":89,"taxonomyType":22,"taxonomyTypeDesc":23},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师",{"categoryNo":91,"categoryName":92,"taxonomyType":27,"taxonomyTypeDesc":28},"01M8BR5V701HCN066VEP7H4812","代码仓库协作管理",[94],"prepush readiness",{"skillNo":96,"name":97,"nameZh":98,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":7,"sourceHtmlUrl":99,"categories":100,"keywords":105,"publishedAt":31},"01M6ACQPR1WRA751V4DXVC3AHF","manage-webapps","Web 应用管理","https:\u002F\u002Fgithub.com\u002Fapache\u002Fofbiz-plugins\u002Fblob\u002Ftrunk\u002Fai-agent-skills\u002Fmanage-webapps\u002FSKILL.md",[101,102],{"categoryNo":88,"categoryName":89,"taxonomyType":22,"taxonomyTypeDesc":23},{"categoryNo":103,"categoryName":104,"taxonomyType":27,"taxonomyTypeDesc":28},"01M8BWKS60NTYJHFE9FQSXGDKS","低代码应用开发",[106],"manage webapps",{"skillNo":108,"name":109,"nameZh":110,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":7,"sourceHtmlUrl":111,"categories":112,"keywords":119,"publishedAt":31},"01M6ACQHYN20AFWF6TKK4RGQ8A","manage-tests","测试管理","https:\u002F\u002Fgithub.com\u002Fapache\u002Fofbiz-plugins\u002Fblob\u002Ftrunk\u002Fai-agent-skills\u002Fmanage-tests\u002FSKILL.md",[113,116],{"categoryNo":114,"categoryName":115,"taxonomyType":22,"taxonomyTypeDesc":23},"01M8BQGD5WG86P4AQ5GPSSKBFR","测试工程师",{"categoryNo":117,"categoryName":118,"taxonomyType":27,"taxonomyTypeDesc":28},"01M8BQJH394GT47X57A9Q8G7HX","测试与质量保障",[120],"manage tests",{"skillNo":122,"name":123,"nameZh":124,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":7,"sourceHtmlUrl":125,"categories":126,"keywords":133,"publishedAt":31},"01M6ACQFRMW7R45YD3HRAXPGWF","manage-templates","模板管理","https:\u002F\u002Fgithub.com\u002Fapache\u002Fofbiz-plugins\u002Fblob\u002Ftrunk\u002Fai-agent-skills\u002Fmanage-templates\u002FSKILL.md",[127,130],{"categoryNo":128,"categoryName":129,"taxonomyType":27,"taxonomyTypeDesc":28},"01M8BQ6TK1MPB82068236GSXDE","文档处理",{"categoryNo":131,"categoryName":132,"taxonomyType":22,"taxonomyTypeDesc":23},"01M8BQ6TPH3VQWKQZXV7EPF8VZ","办公行政人员",[134],"manage templates",{"skillNo":136,"name":137,"nameZh":138,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":7,"sourceHtmlUrl":139,"categories":140,"keywords":147,"publishedAt":31},"01M6ACQCSSDZQMD8VX2K3WRR93","manage-strategies","策略管理","https:\u002F\u002Fgithub.com\u002Fapache\u002Fofbiz-plugins\u002Fblob\u002Ftrunk\u002Fai-agent-skills\u002Fmanage-strategies\u002FSKILL.md",[141,144],{"categoryNo":142,"categoryName":143,"taxonomyType":27,"taxonomyTypeDesc":28},"01M8BTXF8K9DFQC4T4TXVH0NMZ","策略与托管设置管理",{"categoryNo":145,"categoryName":146,"taxonomyType":22,"taxonomyTypeDesc":23},"01M8C6RQ852C9AEJFCBGG1YA7S","IT 管理员",[148],"manage strategies",{"skillNo":150,"name":151,"nameZh":152,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":7,"sourceHtmlUrl":153,"categories":154,"keywords":159,"publishedAt":31},"01M6ACQA1CZ2QW6GAM6HPFR21V","manage-services","服务管理","https:\u002F\u002Fgithub.com\u002Fapache\u002Fofbiz-plugins\u002Fblob\u002Ftrunk\u002Fai-agent-skills\u002Fmanage-services\u002FSKILL.md",[155,156],{"categoryNo":88,"categoryName":89,"taxonomyType":22,"taxonomyTypeDesc":23},{"categoryNo":157,"categoryName":158,"taxonomyType":27,"taxonomyTypeDesc":28},"01M8C36CP2J9CRK1B6PYRXVHPN","应用配置管理",[160],"manage services"]