[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7BXPWTJX1D0PKBPC7P7D8RN":3,"skill-same:01M7BXPWTJX1D0PKBPC7P7D8RN":45},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":30,"install":31,"resources":44},"01M7BXPWTJX1D0PKBPC7P7D8RN","obj-exporter",null,"Three.js OBJExporter utility for exporting 3D geometry to Wavefront OBJ format. Use when converting Three.js scenes, meshes, or geometries to OBJ files for use in other 3D software like Blender, Maya, or MeshLab.","linyouxue\u002Fskill-repair-benchmark","linyouxue","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F216151464?v=4","01M7BJEVCXKD74KH6FG9CBVSQB","林宥学","01M7BJEVE02NP217V93BKZFC0J",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Flinyouxue\u002Fskill-repair-benchmark\u002Fblob\u002Fmain\u002Fevaluation\u002Fresults\u002FOpus47-OriginalSkill-79Tasks-20260920\u002Fruns\u002Fopus47-original-skill\u002Fthreejs-structure-parser-opus47-original-skill-r003-infra-recovery\u002Finputs\u002Fskills\u002Fobj-exporter\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: obj-exporter\ndescription: Three.js OBJExporter utility for exporting 3D geometry to Wavefront OBJ format. Use when converting Three.js scenes, meshes, or geometries to OBJ files for use in other 3D software like Blender, Maya, or MeshLab.\n---\n\n# OBJExporter Guide\n\n## Basic Structure\n\nOBJ is a text-based 3D geometry format:\n\n```\n# Comment\nv x y z        # Vertex position\nvn x y z       # Vertex normal\nf v1 v2 v3     # Face (triangle)\nf v1\u002Fvt1\u002Fvn1 v2\u002Fvt2\u002Fvn2 v3\u002Fvt3\u002Fvn3  # Face with texture\u002Fnormal indices\n```\n\nExample:\n```\n# Cube\nv 0 0 0\nv 1 0 0\nv 1 1 0\nv 0 1 0\nf 1 2 3\nf 1 3 4\n```\n\n## Three.js OBJExporter\n\nThree.js provides `OBJExporter` in examples:\n\n```javascript\nimport { OBJExporter } from 'three\u002Fexamples\u002Fjsm\u002Fexporters\u002FOBJExporter.js';\n\nconst exporter = new OBJExporter();\nconst objString = exporter.parse(object3D);\n\n\u002F\u002F Write to file (Node.js)\nimport fs from 'fs';\nfs.writeFileSync('output.obj', objString);\n```\n\n## Exporting with World Transforms\n\nTo export geometry in world coordinates:\n\n```javascript\n\u002F\u002F Update world matrices first\nroot.updateMatrixWorld(true);\n\n\u002F\u002F Clone and transform geometry\nconst worldGeometry = mesh.geometry.clone();\nworldGeometry.applyMatrix4(mesh.matrixWorld);\n\n\u002F\u002F Create new mesh for export\nconst exportMesh = new THREE.Mesh(worldGeometry);\nconst objData = exporter.parse(exportMesh);\n```\n\n## Merging Multiple Geometries\n\n```javascript\nimport { mergeGeometries } from 'three\u002Fexamples\u002Fjsm\u002Futils\u002FBufferGeometryUtils.js';\n\nconst geometries = [];\nroot.traverse((obj) => {\n  if (obj instanceof THREE.Mesh) {\n    const geom = obj.geometry.clone();\n    geom.applyMatrix4(obj.matrixWorld);\n    geometries.push(geom);\n  }\n});\n\nconst merged = mergeGeometries(geometries);\nconst mergedMesh = new THREE.Mesh(merged);\nconst objData = exporter.parse(mergedMesh);\n```\n\n## Node.js ES Module Setup\n\nFor running Three.js in Node.js:\n\n```json\n\u002F\u002F package.json\n{ \"type\": \"module\" }\n```\n\n```javascript\n\u002F\u002F script.js\nimport * as THREE from 'three';\nimport { OBJExporter } from 'three\u002Fexamples\u002Fjsm\u002Fexporters\u002FOBJExporter.js';\n```\n\n# OBJ Export for Scene Components\n\n## Component Definition (Hierarchy-Aware)\n\nTreat each **named `THREE.Group`** as a component\u002Fpart. Preserve hierarchy by using the **nearest named parent group** in the ancestor chain as the owning component for each mesh. Call `root.updateMatrixWorld(true)` before exporting so `matrixWorld` is correct.\n\n```javascript\nfunction collectComponentMeshes(root) {\n    const componentMap = {};\n    root.traverse(obj => {\n        if (obj instanceof THREE.Group && obj.name) {\n            componentMap[obj.name] = { group: obj, meshes: [] };\n        }\n    });\n\n    root.traverse(obj => {\n        if (obj instanceof THREE.Mesh) {\n            let parent = obj.parent;\n            while (parent && !(parent instanceof THREE.Group && parent.name)) {\n                parent = parent.parent;\n            }\n            if (parent && componentMap[parent.name]) {\n                componentMap[parent.name].meshes.push(obj);\n            }\n        }\n    });\n\n    return Object.fromEntries(\n        Object.entries(componentMap).filter(([_, data]) => data.meshes.length > 0)\n    );\n}\n```\n\n## Export Individual Meshes (World Transforms)\n\n```javascript\nimport { OBJExporter } from 'three\u002Fexamples\u002Fjsm\u002Fexporters\u002FOBJExporter.js';\n\nconst exporter = new OBJExporter();\n\nfunction exportMesh(mesh, filepath) {\n    let geom = mesh.geometry.clone();\n    geom.applyMatrix4(mesh.matrixWorld);\n    if (geom.index) {\n        geom = geom.toNonIndexed();\n    }\n    if (!geom.attributes.normal) {\n        geom.computeVertexNormals();\n    }\n    const tempMesh = new THREE.Mesh(geom);\n    tempMesh.name = mesh.name;\n    const objData = exporter.parse(tempMesh);\n    fs.writeFileSync(filepath, objData);\n}\n```\n\n## Export Merged Component Meshes (Optional)\n\n```javascript\nimport { mergeGeometries } from 'three\u002Fexamples\u002Fjsm\u002Futils\u002FBufferGeometryUtils.js';\n\nfunction mergeMeshes(meshes) {\n    const geometries = [];\n    for (const mesh of meshes) {\n        let geom = mesh.geometry.clone();\n        geom.applyMatrix4(mesh.matrixWorld);\n        if (geom.index) {\n            geom = geom.toNonIndexed();\n        }\n        if (!geom.attributes.normal) {\n            geom.computeVertexNormals();\n        }\n        geometries.push(geom);\n    }\n    if (geometries.length === 0) return null;\n    return new THREE.Mesh(mergeGeometries(geometries, false));\n}\n```\n\n## Output Paths\n\nWrite OBJ files to the paths specified by the task instructions or a provided output root variable. Avoid hardcoding fixed directories in the skill itself.\n","# OBJExporter Guide\n\n## Basic Structure\n\nOBJ is a text-based 3D geometry format:\n\n```\n# Comment\nv x y z        # Vertex position\nvn x y z       # Vertex normal\nf v1 v2 v3     # Face (triangle)\nf v1\u002Fvt1\u002Fvn1 v2\u002Fvt2\u002Fvn2 v3\u002Fvt3\u002Fvn3  # Face with texture\u002Fnormal indices\n```\n\nExample:\n```\n# Cube\nv 0 0 0\nv 1 0 0\nv 1 1 0\nv 0 1 0\nf 1 2 3\nf 1 3 4\n```\n\n## Three.js OBJExporter\n\nThree.js provides `OBJExporter` in examples:\n\n```javascript\nimport { OBJExporter } from 'three\u002Fexamples\u002Fjsm\u002Fexporters\u002FOBJExporter.js';\n\nconst exporter = new OBJExporter();\nconst objString = exporter.parse(object3D);\n\n\u002F\u002F Write to file (Node.js)\nimport fs from 'fs';\nfs.writeFileSync('output.obj', objString);\n```\n\n## Exporting with World Transforms\n\nTo export geometry in world coordinates:\n\n```javascript\n\u002F\u002F Update world matrices first\nroot.updateMatrixWorld(true);\n\n\u002F\u002F Clone and transform geometry\nconst worldGeometry = mesh.geometry.clone();\nworldGeometry.applyMatrix4(mesh.matrixWorld);\n\n\u002F\u002F Create new mesh for export\nconst exportMesh = new THREE.Mesh(worldGeometry);\nconst objData = exporter.parse(exportMesh);\n```\n\n## Merging Multiple Geometries\n\n```javascript\nimport { mergeGeometries } from 'three\u002Fexamples\u002Fjsm\u002Futils\u002FBufferGeometryUtils.js';\n\nconst geometries = [];\nroot.traverse((obj) => {\n  if (obj instanceof THREE.Mesh) {\n    const geom = obj.geometry.clone();\n    geom.applyMatrix4(obj.matrixWorld);\n    geometries.push(geom);\n  }\n});\n\nconst merged = mergeGeometries(geometries);\nconst mergedMesh = new THREE.Mesh(merged);\nconst objData = exporter.parse(mergedMesh);\n```\n\n## Node.js ES Module Setup\n\nFor running Three.js in Node.js:\n\n```json\n\u002F\u002F package.json\n{ \"type\": \"module\" }\n```\n\n```javascript\n\u002F\u002F script.js\nimport * as THREE from 'three';\nimport { OBJExporter } from 'three\u002Fexamples\u002Fjsm\u002Fexporters\u002FOBJExporter.js';\n```\n\n# OBJ Export for Scene Components\n\n## Component Definition (Hierarchy-Aware)\n\nTreat each **named `THREE.Group`** as a component\u002Fpart. Preserve hierarchy by using the **nearest named parent group** in the ancestor chain as the owning component for each mesh. Call `root.updateMatrixWorld(true)` before exporting so `matrixWorld` is correct.\n\n```javascript\nfunction collectComponentMeshes(root) {\n    const componentMap = {};\n    root.traverse(obj => {\n        if (obj instanceof THREE.Group && obj.name) {\n            componentMap[obj.name] = { group: obj, meshes: [] };\n        }\n    });\n\n    root.traverse(obj => {\n        if (obj instanceof THREE.Mesh) {\n            let parent = obj.parent;\n            while (parent && !(parent instanceof THREE.Group && parent.name)) {\n                parent = parent.parent;\n            }\n            if (parent && componentMap[parent.name]) {\n                componentMap[parent.name].meshes.push(obj);\n            }\n        }\n    });\n\n    return Object.fromEntries(\n        Object.entries(componentMap).filter(([_, data]) => data.meshes.length > 0)\n    );\n}\n```\n\n## Export Individual Meshes (World Transforms)\n\n```javascript\nimport { OBJExporter } from 'three\u002Fexamples\u002Fjsm\u002Fexporters\u002FOBJExporter.js';\n\nconst exporter = new OBJExporter();\n\nfunction exportMesh(mesh, filepath) {\n    let geom = mesh.geometry.clone();\n    geom.applyMatrix4(mesh.matrixWorld);\n    if (geom.index) {\n        geom = geom.toNonIndexed();\n    }\n    if (!geom.attributes.normal) {\n        geom.computeVertexNormals();\n    }\n    const tempMesh = new THREE.Mesh(geom);\n    tempMesh.name = mesh.name;\n    const objData = exporter.parse(tempMesh);\n    fs.writeFileSync(filepath, objData);\n}\n```\n\n## Export Merged Component Meshes (Optional)\n\n```javascript\nimport { mergeGeometries } from 'three\u002Fexamples\u002Fjsm\u002Futils\u002FBufferGeometryUtils.js';\n\nfunction mergeMeshes(meshes) {\n    const geometries = [];\n    for (const mesh of meshes) {\n        let geom = mesh.geometry.clone();\n        geom.applyMatrix4(mesh.matrixWorld);\n        if (geom.index) {\n            geom = geom.toNonIndexed();\n        }\n        if (!geom.attributes.normal) {\n            geom.computeVertexNormals();\n        }\n        geometries.push(geom);\n    }\n    if (geometries.length === 0) return null;\n    return new THREE.Mesh(mergeGeometries(geometries, false));\n}\n```\n\n## Output Paths\n\nWrite OBJ files to the paths specified by the task instructions or a provided output root variable. Avoid hardcoding fixed directories in the skill itself.\n",{"name":5,"description":7},"main","cdcb6d230f3b15c3c33f8a2bdd16439f43602cbe","evaluation\u002Fresults\u002FOpus47-OriginalSkill-79Tasks-20260920\u002Fruns\u002Fopus47-original-skill\u002Fthreejs-structure-parser-opus47-original-skill-r003-infra-recovery\u002Finputs\u002Fskills\u002Fobj-exporter",1,"https:\u002F\u002Fgithub.com\u002Flinyouxue\u002Fskill-repair-benchmark","https:\u002F\u002Fgithub.com\u002Flinyouxue","2026-11-14 20:28:35",{"source":8,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add linyouxue\u002Fskill-repair-benchmark --skill obj-exporter",{"tool":37,"command":38},"bunx","bunx skills add linyouxue\u002Fskill-repair-benchmark --skill obj-exporter",{"tool":40,"command":41},"pnpm","pnpm dlx skills add linyouxue\u002Fskill-repair-benchmark --skill obj-exporter","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flinyouxue\u002Fskill-repair-benchmark\u002Fblob\u002Fmain\u002Fevaluation\u002Fresults\u002FOpus47-OriginalSkill-79Tasks-20260920\u002Fruns\u002Fopus47-original-skill\u002Fthreejs-structure-parser-opus47-original-skill-r003-infra-recovery\u002Finputs\u002Fskills\u002Fobj-exporter\u002FSKILL.md",true,[],[46,53,60,67,72,77],{"skillNo":47,"name":48,"nameZh":6,"description":49,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":50,"categories":51,"keywords":52,"publishedAt":19},"01M7E1HGVRY73NBJ022CJG13X6","video-frame-extraction","Extract frames from video files and save them as images using OpenCV","https:\u002F\u002Fgithub.com\u002Flinyouxue\u002Fskill-repair-benchmark\u002Fblob\u002Fmain\u002Fjpg-ocr-stat\u002Fresult\u002Fskilltta-claude4.7\u002Fgroup_03\u002Frun_03\u002Finputs\u002Fskills\u002Fvideo-frame-extraction\u002FSKILL.md",[],[],{"skillNo":54,"name":55,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":57,"categories":58,"keywords":59,"publishedAt":19},"01M7E1HAG5R7CJ9C8NYJS771MB","openai-vision","Analyze images and multi-frame sequences using OpenAI GPT vision models","https:\u002F\u002Fgithub.com\u002Flinyouxue\u002Fskill-repair-benchmark\u002Fblob\u002Fmain\u002Fjpg-ocr-stat\u002Fresult\u002Fskilltta-claude4.7\u002Fgroup_03\u002Frun_03\u002Finputs\u002Fskills\u002Fopenai-vision\u002FSKILL.md",[],[],{"skillNo":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":19},"01M7E1H7DADKB6QBWKC2KQ63SZ","image-ocr","Extract text content from images using Tesseract OCR via Python, including structured field extraction from receipts and forms","https:\u002F\u002Fgithub.com\u002Flinyouxue\u002Fskill-repair-benchmark\u002Fblob\u002Fmain\u002Fjpg-ocr-stat\u002Fresult\u002Fskilltta-claude4.7\u002Fgroup_03\u002Frun_03\u002Finputs\u002Fskills\u002Fimage-ocr\u002FSKILL.md",[],[],{"skillNo":68,"name":48,"nameZh":6,"description":49,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":19},"01M7E1H0WBNT43TENGQY7AVZHD","https:\u002F\u002Fgithub.com\u002Flinyouxue\u002Fskill-repair-benchmark\u002Fblob\u002Fmain\u002Fjpg-ocr-stat\u002Fresult\u002Fskilltta-claude4.7\u002Fgroup_03\u002Frun_02\u002Finputs\u002Fskills\u002Fvideo-frame-extraction\u002FSKILL.md",[],[],{"skillNo":73,"name":55,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":19},"01M7E1GTC7D4N4Q2EF03875J9E","https:\u002F\u002Fgithub.com\u002Flinyouxue\u002Fskill-repair-benchmark\u002Fblob\u002Fmain\u002Fjpg-ocr-stat\u002Fresult\u002Fskilltta-claude4.7\u002Fgroup_03\u002Frun_02\u002Finputs\u002Fskills\u002Fopenai-vision\u002FSKILL.md",[],[],{"skillNo":78,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":19},"01M7E1GQ92CWFMGH53KSSE4WER","https:\u002F\u002Fgithub.com\u002Flinyouxue\u002Fskill-repair-benchmark\u002Fblob\u002Fmain\u002Fjpg-ocr-stat\u002Fresult\u002Fskilltta-claude4.7\u002Fgroup_03\u002Frun_02\u002Finputs\u002Fskills\u002Fimage-ocr\u002FSKILL.md",[],[]]