[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6ACN7GWSE7G5P2XFYCMSTXE":3,"skill-same:01M6ACN7GWSE7G5P2XFYCMSTXE":59},{"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":32,"linkOnly":33,"markdownContent":34,"markdownBody":34,"frontMatter":35,"refName":36,"commitSha":37,"skillDirectory":38,"forksCount":39,"repositoryHtmlUrl":40,"repositoryHomepageUrl":41,"ownerHtmlUrl":42,"ownerBlogUrl":43,"ownerDescription":7,"updatedAt":44,"install":45,"resources":58},"01M6ACN7GWSE7G5P2XFYCMSTXE","manage-content","内容管理",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-content\u002FSKILL.md",[19,24],{"categoryNo":20,"categoryName":21,"taxonomyType":22,"taxonomyTypeDesc":23},"01M8BRFRAYBCBW9WKDY9TCSHY3","知识管理与沉淀","SCENARIO","使用场景",{"categoryNo":25,"categoryName":26,"taxonomyType":27,"taxonomyTypeDesc":28},"01M8C55A3R2M9C8CAKG3W16HTA","内容创作者","PROFESSION","适用职业",[30,31],"content","manage content","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-content\ndescription: Create and manage OFBiz content data. Use when defining Content, DataResource, or linking content to products\u002Fcategories.\n---\n\n# Skill: manage-content\n## Goal\nManage the OFBiz Content Management System (CMS) data, including data resources and their associations.\n\n## Triggers\n**ALWAYS** read this skill when:\n- Creating content-related data files.\n- Linking images, documents, or text to products or orders.\n- Troubleshooting content visibility or retrieval issues.\n\n## Use when\n- Creating `DataResource` for files or electronic text.\n- Defining `Content` metadata.\n- Setting up `ProductContent`, `CategoryContent`, or `OrderContent` associations.\n\n## Procedure\n1. **Define DataResource**:\n    - The foundational record for actual content (text, URL, or reference to file).\n    - Fields: `dataResourceId`, `dataResourceTypeId` (e.g., `ELECTRONIC_TEXT`, `LOCAL_FILE`), `dataTemplateTypeId`.\n2. **Define Content**:\n    - The metadata layer over the data resource.\n    - Fields: `contentId`, `dataResourceId`, `contentTypeId`, `statusId`, `contentName`, `description`.\n3. **Link Content (Associations)**:\n    - Use association entities to link content to business objects.\n    - Examples: `ProductContent` (links to Product), `ContentAssoc` (links content together).\n4. **Electronic Text**:\n    - For text stored in the database, use `ElectronicText` entity linked to the `DataResource`.\n\n## Guardrails\n- **Naming**: Use clear, descriptive names for `contentId`.\n- **Status**: Always set `statusId` (e.g., `CTNT_PUBLISHED`) to ensure visibility if logic filters by status.\n- **Paths**: For `LOCAL_FILE`, ensure paths are relative or managed via system properties.\n\n## Examples\n**Example: Product Image Content**\n```xml\n\u003Centity-engine-xml>\n    \u003C!-- Data Resource pointing to the image file -->\n    \u003CDataResource dataResourceId=\"MY_PROD_IMAGE\" dataResourceTypeId=\"LOCAL_FILE\" \n                  objectInfo=\"\u002Fimages\u002Fproducts\u002Fmyproduct-large.jpg\" statusId=\"DR_AVAILABLE\"\u002F>\n    \n    \u003C!-- Content metadata linking to the resource -->\n    \u003CContent contentId=\"MY_PROD_IMAGE_CNT\" contentTypeId=\"DOCUMENT\" \n             dataResourceId=\"MY_PROD_IMAGE\" statusId=\"CTNT_PUBLISHED\" contentName=\"Large Image\"\u002F>\n    \n    \u003C!-- Linking to a specific product -->\n    \u003CProductContent productId=\"PROD_1001\" contentId=\"MY_PROD_IMAGE_CNT\" \n                    productContentTypeId=\"LARGE_IMAGE\" fromDate=\"2026-01-01 00:00:00.000\"\u002F>\n\u003C\u002Fentity-engine-xml>\n```\n\n**Example: Electronic Text Content**\n```xml\n\u003Centity-engine-xml>\n    \u003CDataResource dataResourceId=\"MY_PROD_DESC\" dataResourceTypeId=\"ELECTRONIC_TEXT\"\u002F>\n    \u003CElectronicText dataResourceId=\"MY_PROD_DESC\" textData=\"Detailed product description here...\"\u002F>\n    \u003CContent contentId=\"MY_PROD_DESC_CNT\" contentTypeId=\"DOCUMENT\" \n             dataResourceId=\"MY_PROD_DESC\" statusId=\"CTNT_PUBLISHED\"\u002F>\n\u003C\u002Fentity-engine-xml>\n```\n",{},"trunk","6c6c27710443de03e9247605d33a2e2f5bc3d1e2","ai-agent-skills\u002Fmanage-content",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":46,"prompt":56,"zipAvailable":57},[47,50,53],{"tool":48,"command":49},"npx","npx skills add apache\u002Fofbiz-plugins --skill manage-content",{"tool":51,"command":52},"bunx","bunx skills add apache\u002Fofbiz-plugins --skill manage-content",{"tool":54,"command":55},"pnpm","pnpm dlx skills add apache\u002Fofbiz-plugins --skill manage-content","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fapache\u002Fofbiz-plugins\u002Fblob\u002Ftrunk\u002Fai-agent-skills\u002Fmanage-content\u002FSKILL.md",true,[],[60,74,86,100,114,128],{"skillNo":61,"name":62,"nameZh":63,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":7,"sourceHtmlUrl":64,"categories":65,"keywords":72,"publishedAt":32},"01M6ACQSN90YKJZ92MQ52D9R8H","prepush-readiness","推送前就绪检查","https:\u002F\u002Fgithub.com\u002Fapache\u002Fofbiz-plugins\u002Fblob\u002Ftrunk\u002Fai-agent-skills\u002Fprepush-readiness\u002FSKILL.md",[66,69],{"categoryNo":67,"categoryName":68,"taxonomyType":27,"taxonomyTypeDesc":28},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师",{"categoryNo":70,"categoryName":71,"taxonomyType":22,"taxonomyTypeDesc":23},"01M8BR5V701HCN066VEP7H4812","代码仓库协作管理",[73],"prepush readiness",{"skillNo":75,"name":76,"nameZh":77,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":7,"sourceHtmlUrl":78,"categories":79,"keywords":84,"publishedAt":32},"01M6ACQPR1WRA751V4DXVC3AHF","manage-webapps","Web 应用管理","https:\u002F\u002Fgithub.com\u002Fapache\u002Fofbiz-plugins\u002Fblob\u002Ftrunk\u002Fai-agent-skills\u002Fmanage-webapps\u002FSKILL.md",[80,81],{"categoryNo":67,"categoryName":68,"taxonomyType":27,"taxonomyTypeDesc":28},{"categoryNo":82,"categoryName":83,"taxonomyType":22,"taxonomyTypeDesc":23},"01M8BWKS60NTYJHFE9FQSXGDKS","低代码应用开发",[85],"manage webapps",{"skillNo":87,"name":88,"nameZh":89,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":7,"sourceHtmlUrl":90,"categories":91,"keywords":98,"publishedAt":32},"01M6ACQMCX8Z7NY2CE08NCV6ND","manage-themes","主题管理","https:\u002F\u002Fgithub.com\u002Fapache\u002Fofbiz-plugins\u002Fblob\u002Ftrunk\u002Fai-agent-skills\u002Fmanage-themes\u002FSKILL.md",[92,95],{"categoryNo":93,"categoryName":94,"taxonomyType":27,"taxonomyTypeDesc":28},"01M8BQ6TQMKHSMFVQHR2KYAEVN","界面设计师",{"categoryNo":96,"categoryName":97,"taxonomyType":22,"taxonomyTypeDesc":23},"01M8BRASNPVNJVQQJ4KZX8XM5D","前端开发与界面实现",[99],"manage themes",{"skillNo":101,"name":102,"nameZh":103,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":7,"sourceHtmlUrl":104,"categories":105,"keywords":112,"publishedAt":32},"01M6ACQHYN20AFWF6TKK4RGQ8A","manage-tests","测试管理","https:\u002F\u002Fgithub.com\u002Fapache\u002Fofbiz-plugins\u002Fblob\u002Ftrunk\u002Fai-agent-skills\u002Fmanage-tests\u002FSKILL.md",[106,109],{"categoryNo":107,"categoryName":108,"taxonomyType":27,"taxonomyTypeDesc":28},"01M8BQGD5WG86P4AQ5GPSSKBFR","测试工程师",{"categoryNo":110,"categoryName":111,"taxonomyType":22,"taxonomyTypeDesc":23},"01M8BQJH394GT47X57A9Q8G7HX","测试与质量保障",[113],"manage tests",{"skillNo":115,"name":116,"nameZh":117,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":7,"sourceHtmlUrl":118,"categories":119,"keywords":126,"publishedAt":32},"01M6ACQFRMW7R45YD3HRAXPGWF","manage-templates","模板管理","https:\u002F\u002Fgithub.com\u002Fapache\u002Fofbiz-plugins\u002Fblob\u002Ftrunk\u002Fai-agent-skills\u002Fmanage-templates\u002FSKILL.md",[120,123],{"categoryNo":121,"categoryName":122,"taxonomyType":22,"taxonomyTypeDesc":23},"01M8BQ6TK1MPB82068236GSXDE","文档处理",{"categoryNo":124,"categoryName":125,"taxonomyType":27,"taxonomyTypeDesc":28},"01M8BQ6TPH3VQWKQZXV7EPF8VZ","办公行政人员",[127],"manage templates",{"skillNo":129,"name":130,"nameZh":131,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":7,"sourceHtmlUrl":132,"categories":133,"keywords":140,"publishedAt":32},"01M6ACQCSSDZQMD8VX2K3WRR93","manage-strategies","策略管理","https:\u002F\u002Fgithub.com\u002Fapache\u002Fofbiz-plugins\u002Fblob\u002Ftrunk\u002Fai-agent-skills\u002Fmanage-strategies\u002FSKILL.md",[134,137],{"categoryNo":135,"categoryName":136,"taxonomyType":22,"taxonomyTypeDesc":23},"01M8BTXF8K9DFQC4T4TXVH0NMZ","策略与托管设置管理",{"categoryNo":138,"categoryName":139,"taxonomyType":27,"taxonomyTypeDesc":28},"01M8C6RQ852C9AEJFCBGG1YA7S","IT 管理员",[141],"manage strategies"]