[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6KJS4SGCZSK75PHRXVEFYYS":3,"skill-same:01M6KJS4SGCZSK75PHRXVEFYYS":60},{"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":17,"publishedAt":28,"linkOnly":29,"markdownContent":30,"markdownBody":31,"frontMatter":32,"refName":33,"commitSha":34,"skillDirectory":35,"forksCount":13,"repositoryHtmlUrl":36,"repositoryHomepageUrl":6,"ownerHtmlUrl":37,"ownerBlogUrl":6,"ownerDescription":38,"updatedAt":39,"install":40,"resources":53},"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",[],[18,19,20,21,22,23,24,25,26,27],"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":41,"prompt":51,"zipAvailable":52},[42,45,48],{"tool":43,"command":44},"npx","npx skills add AG064\u002FOpenSpace --skill pptx-shell-verify",{"tool":46,"command":47},"bunx","bunx skills add AG064\u002FOpenSpace --skill pptx-shell-verify",{"tool":49,"command":50},"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,[54],{"path":55,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":58,"sourceHtmlUrl":59},".skill_id","OTHER","其他",31,"https:\u002F\u002Fgithub.com\u002FAG064\u002FOpenSpace\u002Fblob\u002Fmain\u002Fgdpval_bench\u002Fskills\u002Fpptx-shell-verify\u002F.skill_id",[61,83,99,107,132,148],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":28},"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",[],[68,69,70,71,72,73,74,75,76,77,78,79,80,81,24,22,82],"write special chars ts check","check","write","filters","Existing","type-checking","for","errors","script","output","type","files","only","template","typescript",{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":28},"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",[],[90,91,70,81,92,93,24,22,94,95,26,96,97,74,76,98],"readback","write special chars readback","cleanup","read","scripts","verification","post","helper","with",{"skillNo":100,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":103,"categories":104,"keywords":105,"publishedAt":28},"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",[],[70,106,22,74,26,81,20,24,76],"write special chars heredoc",{"skillNo":108,"name":109,"nameZh":6,"description":110,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":111,"categories":112,"keywords":113,"publishedAt":28},"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",[],[114,115,116,117,82,118,119,120,121,122,74,123,124,125,126,127,128,129,130,131],"reference","worldmonitor","worldmonitor reference","dashboard","css","architecture","extracting","hierarchy","source","layer","panel","patterns","edge functions","integrations","open","api","data","scheduler",{"skillNo":133,"name":134,"nameZh":6,"description":135,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":136,"categories":137,"keywords":138,"publishedAt":28},"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",[],[139,140,141,142,74,143,98,144,145,146,147],"virtual list","list","virtual","chunk","dom","rendering","recycling","implement","performance",{"skillNo":149,"name":150,"nameZh":6,"description":151,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":152,"categories":153,"keywords":154,"publishedAt":28},"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",[],[155,19,156,157,158,159,24,160,161,162],"directory","structure","verify directory structure","access","first","issues","diagnose","file access"]