[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6KJS4SGCZSK75PHRXVEFYYS":3,"skill-same:01M6KJS4SGCZSK75PHRXVEFYYS":70},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":27,"publishedAt":38,"linkOnly":39,"markdownContent":40,"markdownBody":41,"frontMatter":42,"refName":43,"commitSha":44,"skillDirectory":45,"forksCount":13,"repositoryHtmlUrl":46,"repositoryHomepageUrl":6,"ownerHtmlUrl":47,"ownerBlogUrl":6,"ownerDescription":48,"updatedAt":49,"install":50,"resources":63},"01M6KJS4SGCZSK75PHRXVEFYYS","pptx-shell-verify",null,"Verify PowerPoint presentation contents using python-pptx via shell when standard file readers fail","AG064\u002FOpenSpace","AG064","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F184930299?v=4","01M6KHVFG7TB73NHX3RDYSTMH2","01M6KHVFMM7XA2PZA9Z83PHS3V",0,"MIT","https:\u002F\u002Fgithub.com\u002FAG064\u002FOpenSpace\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],"pptx","verify","shell","pptx shell verify","python","powerpoint","file","python-pptx","via","presentation","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","ff671ef61ed6587c49bd54c81cdc751c0b99e363","gdpval_bench\u002Fskills\u002Fpptx-shell-verify","https:\u002F\u002Fgithub.com\u002FAG064\u002FOpenSpace","https:\u002F\u002Fgithub.com\u002FAG064","AG064, E.Mi.\r\n\r\nA person who thinks all the time, yet all they have to think about is nothing. I want to improve the world and work on open source projects","2026-10-08 06:53:48",{"source":8,"skillName":5,"commands":51,"prompt":61,"zipAvailable":62},[52,55,58],{"tool":53,"command":54},"npx","npx skills add AG064\u002FOpenSpace --skill pptx-shell-verify",{"tool":56,"command":57},"bunx","bunx skills add AG064\u002FOpenSpace --skill pptx-shell-verify",{"tool":59,"command":60},"pnpm","pnpm dlx skills add AG064\u002FOpenSpace --skill pptx-shell-verify","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FAG064\u002FOpenSpace\u002Fblob\u002Fmain\u002Fgdpval_bench\u002Fskills\u002Fpptx-shell-verify\u002FSKILL.md",true,[64],{"path":65,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":68,"sourceHtmlUrl":69},".skill_id","OTHER","其他",31,"https:\u002F\u002Fgithub.com\u002FAG064\u002FOpenSpace\u002Fblob\u002Fmain\u002Fgdpval_bench\u002Fskills\u002Fpptx-shell-verify\u002F.skill_id",[71,93,109,117,145,161],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":38},"01M6KKMPWA0B5SCCH766F8M5EA","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\u002FAG064\u002FOpenSpace\u002Fblob\u002Fmain\u002Fshowcase\u002Fskills\u002Fwrite-special-chars-ts-check\u002FSKILL.md",[],[78,79,80,81,82,83,84,85,86,87,88,89,90,91,34,32,92],"write special chars ts check","check","write","filters","Existing","type-checking","for","errors","script","output","type","files","only","template","typescript",{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":38},"01M6KKMJXVBNVEY3TRK055F4A7","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\u002FAG064\u002FOpenSpace\u002Fblob\u002Fmain\u002Fshowcase\u002Fskills\u002Fwrite-special-chars-readback\u002FSKILL.md",[],[100,101,80,91,102,103,34,32,104,105,36,106,107,84,86,108],"readback","write special chars readback","cleanup","read","scripts","verification","post","helper","with",{"skillNo":110,"name":111,"nameZh":6,"description":112,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":113,"categories":114,"keywords":115,"publishedAt":38},"01M6KKMEGX9M9NC105J0W3Q5B9","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\u002FAG064\u002FOpenSpace\u002Fblob\u002Fmain\u002Fshowcase\u002Fskills\u002Fwrite-special-chars-heredoc\u002FSKILL.md",[],[80,116,32,84,36,91,30,34,86],"write special chars heredoc",{"skillNo":118,"name":119,"nameZh":6,"description":120,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":121,"categories":122,"keywords":126,"publishedAt":38},"01M6KKM8EJ2AATVHZBNB916WT0","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\u002FAG064\u002FOpenSpace\u002Fblob\u002Fmain\u002Fshowcase\u002Fskills\u002Fworldmonitor-reference\u002FSKILL.md",[123],{"categoryNo":124,"categoryName":125,"taxonomyType":25,"taxonomyTypeDesc":26},"01JBSEEDCAT000000000000033","数据分析师",[127,128,129,130,92,131,132,133,134,135,84,136,137,138,139,140,141,142,143,144],"reference","worldmonitor","worldmonitor reference","dashboard","css","architecture","extracting","hierarchy","source","layer","panel","patterns","edge functions","integrations","open","api","data","scheduler",{"skillNo":146,"name":147,"nameZh":6,"description":148,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":149,"categories":150,"keywords":151,"publishedAt":38},"01M6KKM39PHYK627F19GE2B9XN","virtual-list","Implement efficient virtual scrolling for rendering large lists with DOM recycling, chunk-based rendering, and performance optimizations","https:\u002F\u002Fgithub.com\u002FAG064\u002FOpenSpace\u002Fblob\u002Fmain\u002Fshowcase\u002Fskills\u002Fvirtual-list\u002FSKILL.md",[],[152,153,154,155,84,156,108,157,158,159,160],"virtual list","list","virtual","chunk","dom","rendering","recycling","implement","performance",{"skillNo":162,"name":163,"nameZh":6,"description":164,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":165,"categories":166,"keywords":167,"publishedAt":38},"01M6KKKY7T2P61Y0JH54CDEJKQ","verify-directory-structure","Diagnose and resolve file access issues by first verifying the directory structure.","https:\u002F\u002Fgithub.com\u002FAG064\u002FOpenSpace\u002Fblob\u002Fmain\u002Fshowcase\u002Fskills\u002Fverify-directory-structure\u002FSKILL.md",[],[168,29,169,170,171,172,34,173,174,175],"directory","structure","verify directory structure","access","first","issues","diagnose","file access"]