[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6XBVECQCS6MZ9XJQ5SFZKET":3,"skill-same:01M6XBVECQCS6MZ9XJQ5SFZKET":71},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":27,"publishedAt":40,"linkOnly":41,"markdownContent":42,"markdownBody":43,"frontMatter":44,"refName":45,"commitSha":46,"skillDirectory":47,"forksCount":13,"repositoryHtmlUrl":48,"repositoryHomepageUrl":6,"ownerHtmlUrl":49,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":50,"install":51,"resources":64},"01M6XBVECQCS6MZ9XJQ5SFZKET","pptx-shell-verify",null,"Verify PowerPoint presentation contents using python-pptx via shell when standard file readers fail","UF-gzj\u002Fopenspace-claude-evolution","UF-gzj","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F272393507?v=4","01M6XBCZB755P01VVYGQWPYZY3","01M6XBCZFJA5AREA17WGETA3FW",0,"MIT","https:\u002F\u002Fgithub.com\u002FUF-gzj\u002Fopenspace-claude-evolution\u002Fblob\u002Fmain\u002Fgdpval_bench\u002Fskills\u002Fpptx-shell-verify\u002FSKILL.md",[17,22],{"categoryNo":18,"categoryName":19,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000003","演示文稿","SCENARIO","使用场景",{"categoryNo":23,"categoryName":24,"taxonomyType":25,"taxonomyTypeDesc":26},"01JBSEEDCAT000000000000034","行政与办公人员","PROFESSION","适用职业",[28,29,30,31,32,33,34,35,36,37,38,39],"pptx","verify","shell","pptx shell verify","python","powerpoint","file","python-pptx","via","presentation","standard","when","2026-11-10 10:12:30",false,"---\nname: pptx-shell-verify\ndescription: Verify PowerPoint presentation contents using python-pptx via shell when standard file readers fail\n---\n\n# PowerPoint Shell Verification\n\n## When to Use This Skill\n\nUse this skill when:\n- `read_file` or other built-in tools fail to read PowerPoint (.pptx) files\n- You need to verify presentation structure (slide count, titles, content)\n- Standard file inspection methods return errors or incomplete data\n\n## Prerequisites\n\n- Python 3.x installed in the execution environment\n- `python-pptx` library available (install if needed)\n\n## Step-by-Step Instructions\n\n### Step 1: Attempt Standard File Read\n\nFirst, try to read the file using standard methods:\n\n```\nread_file: path\u002Fto\u002Fpresentation.pptx\n```\n\nIf this fails or returns unusable data, proceed to Step 2.\n\n### Step 2: Verify python-pptx Availability\n\nCheck if the library is installed:\n\n```\nrun_shell: python -c \"import pptx; print('pptx available')\"\n```\n\nIf not available, install it:\n\n```\nrun_shell: pip install python-pptx\n```\n\n### Step 3: Create Verification Script\n\nCreate a Python script to extract presentation metadata:\n\n```python\n# verify_pptx.py\nfrom pptx import Presentation\nimport sys\nimport json\n\ndef verify_presentation(filepath):\n    try:\n        prs = Presentation(filepath)\n        data = {\n            \"slide_count\": len(prs.slides),\n            \"slides\": []\n        }\n        \n        for i, slide in enumerate(prs.slides):\n            slide_data = {\n                \"slide_number\": i + 1,\n                \"title\": None,\n                \"shapes_count\": len(slide.shapes)\n            }\n            \n            # Extract title if present\n            if slide.shapes.title:\n                slide_data[\"title\"] = slide.shapes.title.text\n            \n            data[\"slides\"].append(slide_data)\n        \n        print(json.dumps(data, indent=2))\n        return True\n    except Exception as e:\n        print(f\"ERROR: {str(e)}\", file=sys.stderr)\n        return False\n\nif __name__ == \"__main__\":\n    if len(sys.argv) \u003C 2:\n        print(\"Usage: python verify_pptx.py \u003Cfile.pptx>\", file=sys.stderr)\n        sys.exit(1)\n    \n    success = verify_presentation(sys.argv[1])\n    sys.exit(0 if success else 1)\n```\n\n### Step 4: Execute Verification\n\nRun the verification script:\n\n```\nrun_shell: python verify_pptx.py path\u002Fto\u002Fpresentation.pptx\n```\n\n### Step 5: Interpret Results\n\nExpected output format:\n\n```json\n{\n  \"slide_count\": 10,\n  \"slides\": [\n    {\n      \"slide_number\": 1,\n      \"title\": \"Introduction\",\n      \"shapes_count\": 3\n    },\n    ...\n  ]\n}\n```\n\nUse this data to:\n- Confirm expected slide count matches\n- Verify slide titles are present\n- Validate presentation structure before delivery\n\n## Example Validation Checks\n\n```python\n# Check slide count matches requirement\nassert data[\"slide_count\"] >= expected_min_slides\n\n# Check all slides have titles\nfor slide in data[\"slides\"]:\n    assert slide[\"title\"] is not None, f\"Slide {slide['slide_number']} missing title\"\n```\n\n## Troubleshooting\n\n| Issue | Solution |\n|-------|----------|\n| Corrupted file | Verify file was created successfully, check file size |\n| Permission denied | Ensure file path is accessible, check read permissions |\n| Library not found | Install with `pip install python-pptx` |\n| Empty presentation | File may be 0 bytes or incomplete write |\n\n## Best Practices\n\n1. **Always verify after creation**: Run verification immediately after generating a PowerPoint file\n2. **Keep verification script reusable**: Store the script for future presentations\n3. **Validate before delivery**: Never deliver a presentation without confirming structure\n4. **Log verification results**: Keep verification output for audit trails","# PowerPoint Shell Verification\n\n## When to Use This Skill\n\nUse this skill when:\n- `read_file` or other built-in tools fail to read PowerPoint (.pptx) files\n- You need to verify presentation structure (slide count, titles, content)\n- Standard file inspection methods return errors or incomplete data\n\n## Prerequisites\n\n- Python 3.x installed in the execution environment\n- `python-pptx` library available (install if needed)\n\n## Step-by-Step Instructions\n\n### Step 1: Attempt Standard File Read\n\nFirst, try to read the file using standard methods:\n\n```\nread_file: path\u002Fto\u002Fpresentation.pptx\n```\n\nIf this fails or returns unusable data, proceed to Step 2.\n\n### Step 2: Verify python-pptx Availability\n\nCheck if the library is installed:\n\n```\nrun_shell: python -c \"import pptx; print('pptx available')\"\n```\n\nIf not available, install it:\n\n```\nrun_shell: pip install python-pptx\n```\n\n### Step 3: Create Verification Script\n\nCreate a Python script to extract presentation metadata:\n\n```python\n# verify_pptx.py\nfrom pptx import Presentation\nimport sys\nimport json\n\ndef verify_presentation(filepath):\n    try:\n        prs = Presentation(filepath)\n        data = {\n            \"slide_count\": len(prs.slides),\n            \"slides\": []\n        }\n        \n        for i, slide in enumerate(prs.slides):\n            slide_data = {\n                \"slide_number\": i + 1,\n                \"title\": None,\n                \"shapes_count\": len(slide.shapes)\n            }\n            \n            # Extract title if present\n            if slide.shapes.title:\n                slide_data[\"title\"] = slide.shapes.title.text\n            \n            data[\"slides\"].append(slide_data)\n        \n        print(json.dumps(data, indent=2))\n        return True\n    except Exception as e:\n        print(f\"ERROR: {str(e)}\", file=sys.stderr)\n        return False\n\nif __name__ == \"__main__\":\n    if len(sys.argv) \u003C 2:\n        print(\"Usage: python verify_pptx.py \u003Cfile.pptx>\", file=sys.stderr)\n        sys.exit(1)\n    \n    success = verify_presentation(sys.argv[1])\n    sys.exit(0 if success else 1)\n```\n\n### Step 4: Execute Verification\n\nRun the verification script:\n\n```\nrun_shell: python verify_pptx.py path\u002Fto\u002Fpresentation.pptx\n```\n\n### Step 5: Interpret Results\n\nExpected output format:\n\n```json\n{\n  \"slide_count\": 10,\n  \"slides\": [\n    {\n      \"slide_number\": 1,\n      \"title\": \"Introduction\",\n      \"shapes_count\": 3\n    },\n    ...\n  ]\n}\n```\n\nUse this data to:\n- Confirm expected slide count matches\n- Verify slide titles are present\n- Validate presentation structure before delivery\n\n## Example Validation Checks\n\n```python\n# Check slide count matches requirement\nassert data[\"slide_count\"] >= expected_min_slides\n\n# Check all slides have titles\nfor slide in data[\"slides\"]:\n    assert slide[\"title\"] is not None, f\"Slide {slide['slide_number']} missing title\"\n```\n\n## Troubleshooting\n\n| Issue | Solution |\n|-------|----------|\n| Corrupted file | Verify file was created successfully, check file size |\n| Permission denied | Ensure file path is accessible, check read permissions |\n| Library not found | Install with `pip install python-pptx` |\n| Empty presentation | File may be 0 bytes or incomplete write |\n\n## Best Practices\n\n1. **Always verify after creation**: Run verification immediately after generating a PowerPoint file\n2. **Keep verification script reusable**: Store the script for future presentations\n3. **Validate before delivery**: Never deliver a presentation without confirming structure\n4. **Log verification results**: Keep verification output for audit trails",{"name":5,"description":7},"main","0650921d63895de3997bc81f1ff1d0ac67032072","gdpval_bench\u002Fskills\u002Fpptx-shell-verify","https:\u002F\u002Fgithub.com\u002FUF-gzj\u002Fopenspace-claude-evolution","https:\u002F\u002Fgithub.com\u002FUF-gzj","2026-04-16 09:31:03",{"source":8,"skillName":5,"commands":52,"prompt":62,"zipAvailable":63},[53,56,59],{"tool":54,"command":55},"npx","npx skills add UF-gzj\u002Fopenspace-claude-evolution --skill pptx-shell-verify",{"tool":57,"command":58},"bunx","bunx skills add UF-gzj\u002Fopenspace-claude-evolution --skill pptx-shell-verify",{"tool":60,"command":61},"pnpm","pnpm dlx skills add UF-gzj\u002Fopenspace-claude-evolution --skill pptx-shell-verify","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FUF-gzj\u002Fopenspace-claude-evolution\u002Fblob\u002Fmain\u002Fgdpval_bench\u002Fskills\u002Fpptx-shell-verify\u002FSKILL.md",true,[65],{"path":66,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":69,"sourceHtmlUrl":70},".skill_id","OTHER","其他",31,"https:\u002F\u002Fgithub.com\u002FUF-gzj\u002Fopenspace-claude-evolution\u002Fblob\u002Fmain\u002Fgdpval_bench\u002Fskills\u002Fpptx-shell-verify\u002F.skill_id",[72,95,111,119,147,163],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":40},"01M6XCCXD3NCM2YKR3WNGBASPC","write-special-chars-ts-check","Workaround for write_file failures caused by special characters (apostrophes, backticks, template literals) using a Python heredoc script, plus a reliable TypeScript type-checking step that filters output to only the newly-written files to avoid being misled by pre-existing errors.","https:\u002F\u002Fgithub.com\u002FUF-gzj\u002Fopenspace-claude-evolution\u002Fblob\u002Fmain\u002Fshowcase\u002Fskills\u002Fwrite-special-chars-ts-check\u002FSKILL.md",[],[79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,34,32],"check","write","write special chars ts check","typescript","filters","characters","Existing","type-checking","for","errors","script","output","type","files","only","template",{"skillNo":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":40},"01M6XCCT7E3J922Q345PBGSHPN","write-special-chars-readback","Workaround for write_file failures caused by special characters (apostrophes, backticks, template literals) using a Python heredoc script, with mandatory post-write verification via read_file and cleanup of \u002Ftmp helper scripts.","https:\u002F\u002Fgithub.com\u002FUF-gzj\u002Fopenspace-claude-evolution\u002Fblob\u002Fmain\u002Fshowcase\u002Fskills\u002Fwrite-special-chars-readback\u002FSKILL.md",[],[102,103,80,34,104,32,105,36,106,107,108,94,109,110,84,87,89],"readback","write special chars readback","helper","post","scripts","cleanup","read","verification","with",{"skillNo":112,"name":113,"nameZh":6,"description":114,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":115,"categories":116,"keywords":117,"publishedAt":40},"01M6XCCMQX1R8B6FECWB3P63T7","write-special-chars-heredoc","Workaround for write_file failures caused by special characters (apostrophes, backticks, template literals) by using a Python heredoc script executed via shell.","https:\u002F\u002Fgithub.com\u002FUF-gzj\u002Fopenspace-claude-evolution\u002Fblob\u002Fmain\u002Fshowcase\u002Fskills\u002Fwrite-special-chars-heredoc\u002FSKILL.md",[],[118,80,84,30,89,36,94,34,32,87],"write special chars heredoc",{"skillNo":120,"name":121,"nameZh":6,"description":122,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":123,"categories":124,"keywords":128,"publishedAt":40},"01M6XCCG41M994JJEX6VN52PEP","worldmonitor-reference","Curated architecture index of the WorldMonitor open-source dashboard. Reference for extracting patterns — vanilla TypeScript, Panel class hierarchy, service layer, CSS grid, API edge functions, refresh scheduler, and 60+ data source integrations.","https:\u002F\u002Fgithub.com\u002FUF-gzj\u002Fopenspace-claude-evolution\u002Fblob\u002Fmain\u002Fshowcase\u002Fskills\u002Fworldmonitor-reference\u002FSKILL.md",[125],{"categoryNo":126,"categoryName":127,"taxonomyType":25,"taxonomyTypeDesc":26},"01JBSEEDCAT000000000000033","数据分析师",[129,130,131,132,133,82,134,135,136,137,138,87,139,140,141,142,143,144,145,146],"reference","worldmonitor","worldmonitor reference","architecture","dashboard","css","scheduler","layer","hierarchy","source","extracting","panel","patterns","edge functions","integrations","open","api","data",{"skillNo":148,"name":149,"nameZh":6,"description":150,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":151,"categories":152,"keywords":153,"publishedAt":40},"01M6XCCCHWNKG2W4VH9E6A10HF","virtual-list","Implement efficient virtual scrolling for rendering large lists with DOM recycling, chunk-based rendering, and performance optimizations","https:\u002F\u002Fgithub.com\u002FUF-gzj\u002Fopenspace-claude-evolution\u002Fblob\u002Fmain\u002Fshowcase\u002Fskills\u002Fvirtual-list\u002FSKILL.md",[],[154,155,156,157,87,158,110,159,160,161,162],"virtual list","list","virtual","chunk","dom","rendering","recycling","implement","performance",{"skillNo":164,"name":165,"nameZh":6,"description":166,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":167,"categories":168,"keywords":169,"publishedAt":40},"01M6XCC7X8PKMR2DEW91XGHYSV","verify-directory-structure","Diagnose and resolve file access issues by first verifying the directory structure.","https:\u002F\u002Fgithub.com\u002FUF-gzj\u002Fopenspace-claude-evolution\u002Fblob\u002Fmain\u002Fshowcase\u002Fskills\u002Fverify-directory-structure\u002FSKILL.md",[],[170,171,172,29,173,174,34,175,176,177],"directory","verify directory structure","structure","access","first","issues","diagnose","file access"]