[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6XBVHEYA8JMN1VYPJY7NMB6":3,"skill-same:01M6XBVHEYA8JMN1VYPJY7NMB6":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},"01M6XBVHEYA8JMN1VYPJY7NMB6","pptx-validation-fallback",null,"Validate PowerPoint files using python-pptx when read_file fails","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-validation-fallback\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","validation","fallback","pptx validation fallback","python","validate","powerpoint","file","read","files","python-pptx","when","2026-11-10 10:12:30",false,"---\nname: pptx-validation-fallback\ndescription: Validate PowerPoint files using python-pptx when read_file fails\n---\n\n# PowerPoint Validation Fallback\n\n## When to Use\n\nUse this skill when `read_file` fails to properly read or validate PowerPoint (.pptx) files. This provides a reliable alternative for verifying presentation contents including slide count, titles, and structure.\n\n## Procedure\n\n### Step 1: Check if read_file Failed\n\nIf `read_file` with filetype `pptx` returns errors, incomplete content, or cannot extract slide information, proceed to the fallback method.\n\n### Step 2: Use run_shell with python-pptx\n\nExecute Python code via `run_shell` using the `python-pptx` library to inspect the presentation:\n\n```python\nfrom pptx import Presentation\n\n# Load the presentation\nprs = Presentation('path\u002Fto\u002Ffile.pptx')\n\n# Get basic info\nslide_count = len(prs.slides)\nprint(f\"Total slides: {slide_count}\")\n\n# Extract slide titles\nfor i, slide in enumerate(prs.slides):\n    if slide.shapes.title:\n        title = slide.shapes.title.text\n        print(f\"Slide {i+1}: {title}\")\n    else:\n        print(f\"Slide {i+1}: [No title]\")\n```\n\n### Step 3: Validate Structure\n\nCheck that the presentation meets expected requirements:\n\n```python\nfrom pptx import Presentation\n\nprs = Presentation('path\u002Fto\u002Ffile.pptx')\n\n# Validation checks\nexpected_slides = 10  # Adjust based on requirements\nactual_slides = len(prs.slides)\n\nif actual_slides >= expected_slides:\n    print(f\"✓ Slide count OK: {actual_slides} slides\")\nelse:\n    print(f\"✗ Insufficient slides: {actual_slides}\u002F{expected_slides}\")\n\n# Check for content on each slide\nfor i, slide in enumerate(prs.slides):\n    has_title = slide.shapes.title is not None\n    has_content = len(slide.shapes) > 1\n    print(f\"Slide {i+1}: title={has_title}, content={has_content}\")\n```\n\n### Step 4: Extract Detailed Content (Optional)\n\nFor deeper validation, extract text content from all shapes:\n\n```python\nfrom pptx import Presentation\n\nprs = Presentation('path\u002Fto\u002Ffile.pptx')\n\nfor i, slide in enumerate(prs.slides):\n    print(f\"\\n=== Slide {i+1} ===\")\n    for shape in slide.shapes:\n        if hasattr(shape, \"text\") and shape.text.strip():\n            print(shape.text)\n```\n\n## Expected Output\n\nSuccessful validation should provide:\n- Confirmed slide count\n- List of slide titles\n- Verification that each slide has expected content structure\n\n## Common Use Cases\n\n- Verifying generated presentations have correct number of slides\n- Confirming slide titles match required topics\n- Validating presentation structure before delivery\n- Debugging why read_file cannot parse a .pptx file\n\n## Dependencies\n\nThe `python-pptx` library must be available in the execution environment. Most Python environments support it via pip:\n\n```bash\npip install python-pptx\n```","# PowerPoint Validation Fallback\n\n## When to Use\n\nUse this skill when `read_file` fails to properly read or validate PowerPoint (.pptx) files. This provides a reliable alternative for verifying presentation contents including slide count, titles, and structure.\n\n## Procedure\n\n### Step 1: Check if read_file Failed\n\nIf `read_file` with filetype `pptx` returns errors, incomplete content, or cannot extract slide information, proceed to the fallback method.\n\n### Step 2: Use run_shell with python-pptx\n\nExecute Python code via `run_shell` using the `python-pptx` library to inspect the presentation:\n\n```python\nfrom pptx import Presentation\n\n# Load the presentation\nprs = Presentation('path\u002Fto\u002Ffile.pptx')\n\n# Get basic info\nslide_count = len(prs.slides)\nprint(f\"Total slides: {slide_count}\")\n\n# Extract slide titles\nfor i, slide in enumerate(prs.slides):\n    if slide.shapes.title:\n        title = slide.shapes.title.text\n        print(f\"Slide {i+1}: {title}\")\n    else:\n        print(f\"Slide {i+1}: [No title]\")\n```\n\n### Step 3: Validate Structure\n\nCheck that the presentation meets expected requirements:\n\n```python\nfrom pptx import Presentation\n\nprs = Presentation('path\u002Fto\u002Ffile.pptx')\n\n# Validation checks\nexpected_slides = 10  # Adjust based on requirements\nactual_slides = len(prs.slides)\n\nif actual_slides >= expected_slides:\n    print(f\"✓ Slide count OK: {actual_slides} slides\")\nelse:\n    print(f\"✗ Insufficient slides: {actual_slides}\u002F{expected_slides}\")\n\n# Check for content on each slide\nfor i, slide in enumerate(prs.slides):\n    has_title = slide.shapes.title is not None\n    has_content = len(slide.shapes) > 1\n    print(f\"Slide {i+1}: title={has_title}, content={has_content}\")\n```\n\n### Step 4: Extract Detailed Content (Optional)\n\nFor deeper validation, extract text content from all shapes:\n\n```python\nfrom pptx import Presentation\n\nprs = Presentation('path\u002Fto\u002Ffile.pptx')\n\nfor i, slide in enumerate(prs.slides):\n    print(f\"\\n=== Slide {i+1} ===\")\n    for shape in slide.shapes:\n        if hasattr(shape, \"text\") and shape.text.strip():\n            print(shape.text)\n```\n\n## Expected Output\n\nSuccessful validation should provide:\n- Confirmed slide count\n- List of slide titles\n- Verification that each slide has expected content structure\n\n## Common Use Cases\n\n- Verifying generated presentations have correct number of slides\n- Confirming slide titles match required topics\n- Validating presentation structure before delivery\n- Debugging why read_file cannot parse a .pptx file\n\n## Dependencies\n\nThe `python-pptx` library must be available in the execution environment. Most Python environments support it via pip:\n\n```bash\npip install python-pptx\n```",{"name":5,"description":7},"main","0650921d63895de3997bc81f1ff1d0ac67032072","gdpval_bench\u002Fskills\u002Fpptx-validation-fallback","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-validation-fallback",{"tool":57,"command":58},"bunx","bunx skills add UF-gzj\u002Fopenspace-claude-evolution --skill pptx-validation-fallback",{"tool":60,"command":61},"pnpm","pnpm dlx skills add UF-gzj\u002Fopenspace-claude-evolution --skill pptx-validation-fallback","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FUF-gzj\u002Fopenspace-claude-evolution\u002Fblob\u002Fmain\u002Fgdpval_bench\u002Fskills\u002Fpptx-validation-fallback\u002FSKILL.md",true,[65],{"path":66,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":69,"sourceHtmlUrl":70},".skill_id","OTHER","其他",38,"https:\u002F\u002Fgithub.com\u002FUF-gzj\u002Fopenspace-claude-evolution\u002Fblob\u002Fmain\u002Fgdpval_bench\u002Fskills\u002Fpptx-validation-fallback\u002F.skill_id",[72,94,110,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,37,92,93,35,32],"check","write","write special chars ts check","typescript","filters","characters","Existing","type-checking","for","errors","script","output","type","only","template",{"skillNo":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":100,"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",[],[101,102,80,35,103,32,104,105,106,107,36,93,108,109,84,87,89],"readback","write special chars readback","helper","post","via","scripts","cleanup","verification","with",{"skillNo":111,"name":112,"nameZh":6,"description":113,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":114,"categories":115,"keywords":116,"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",[],[117,80,84,118,89,105,93,35,32,87],"write special chars heredoc","shell",{"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,109,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,173,174,175,35,176,177,178],"directory","verify directory structure","structure","verify","access","first","issues","diagnose","file access"]