[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6KJMPBD46CGZG9YWJQ72KB7":3,"skill-same:01M6KJMPBD46CGZG9YWJQ72KB7":73},{"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":25,"publishedAt":41,"linkOnly":42,"markdownContent":43,"markdownBody":44,"frontMatter":45,"refName":46,"commitSha":47,"skillDirectory":48,"forksCount":13,"repositoryHtmlUrl":49,"repositoryHomepageUrl":6,"ownerHtmlUrl":50,"ownerBlogUrl":6,"ownerDescription":51,"updatedAt":52,"install":53,"resources":66},"01M6KJMPBD46CGZG9YWJQ72KB7","ppt-reliable-creation",null,"Robust PowerPoint generation with shell_agent primary and python-pptx fallback, including directory verification and error debugging","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\u002Fppt-workflow-location-enhanced-72b4a5\u002FSKILL.md",[17,22],{"categoryNo":18,"categoryName":19,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000003","演示文稿","SCENARIO","使用场景",{"categoryNo":23,"categoryName":24,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000023","Skill与智能体开发",[26,27,28,29,30,31,32,33,34,35,36,37,38,39,40],"pptx","creation","ppt reliable creation","directory","python","powerpoint","debugging","verification","shell","error debugging","fallback","python-pptx","generation","error","with","2026-11-10 10:12:30",false,"---\nname: ppt-reliable-creation\ndescription: Robust PowerPoint generation with shell_agent primary and python-pptx fallback, including directory verification and error debugging\n---\n\n# Reliable PowerPoint Creation Workflow\n\n## When to Use This Skill\n\nUse this workflow when:\n- You need to create PowerPoint presentations with specific slide content and structure\n- shell_agent may fail or produce opaque error messages\n- Output files may be created in unexpected nested directories\n- You need a reliable fallback when primary generation methods fail\n\n## Overview: Dual-Path Strategy\n\nThis skill provides two paths:\n1. **Primary Path**: shell_agent delegation (simpler, but may fail)\n2. **Fallback Path**: Direct Python execution with python-pptx (more reliable, more control)\n\n## Step 0: Pre-Check Working Directory\n\nBefore any generation, verify your current working directory:\n\n```bash\n# Check and record current directory\npwd\n# Output should be saved for later reference\n\n# List current contents to establish baseline\nls -la\n```\n\n**Important:** Save the pwd output. You'll need this to verify where files are created.\n\n## Step 1: Primary Path - shell_agent Generation\n\nAttempt PowerPoint creation via shell_agent first (quickest if successful):\n\n```\nUse shell_agent to create a PowerPoint presentation with:\n- Specify the exact number of slides needed\n- Define the content\u002Ftopic for each slide\n- Request the file be saved with a clear filename (e.g., presentation.pptx)\n- Ask the agent to confirm the full file path after creation\n```\n\n**Example task description:**\n```\nCreate a PowerPoint presentation with 10 slides covering [topic]. Each slide should have a title and bullet points. Save it as presentation.pptx and tell me the full file path where you saved it.\n```\n\n### shell_agent Error Handling\n\nIf shell_agent returns \"unknown error\" or fails:\n\n```bash\n# Capture actual error by adding stderr redirect\n# Re-run the task or check previous error output\n# Add 2>&1 to any shell commands to see real errors\n```\n\n**After 2 failures or opaque errors, switch to Fallback Path (Step 2).**\n\n## Step 2: Fallback Path - Direct Python with python-pptx\n\nWhen shell_agent fails, use direct Python execution. **Always write script to file first, then execute.**\n\n### 2a: Create the Python Script\n\nWrite a complete Python script using python-pptx:\n\n```python\nfrom pptx import Presentation\nfrom pptx.util import Inches, Pt\n\n# Create presentation\nprs = Presentation()\n\n# Slide 1: Title slide\nslide_layout = prs.slide_layouts[0]\nslide = prs.slides.add_slide(slide_layout)\ntitle = slide.shapes.title\nsubtitle = slide.placeholders[1]\ntitle.text = \"Title Here\"\nsubtitle.text = \"Subtitle Here\"\n\n# Slide 2+: Content slides\nfor i in range(2, 11):\n    slide_layout = prs.slide_layouts[1]\n    slide = prs.slides.add_slide(slide_layout)\n    title = slide.shapes.title\n    title.text = f\"Slide {i} Title\"\n    \n    # Add content\n    content = slide.placeholders[1]\n    content.text = f\"Content for slide {i}\"\n\n# Save to current working directory\nprs.save('presentation.pptx')\nprint(\"File saved to:\", os.path.abspath('presentation.pptx'))\n```\n\n**Save this script as: create_presentation.py**\n\n### 2b: Execute with Error Capture\n\n```bash\n# Write script to file first, then execute with stderr capture\npython create_presentation.py 2>&1 | tee execution_log.txt\n\n# Check for success\nif [ -f \"presentation.pptx\" ]; then\n    echo \"SUCCESS: File created in current directory\"\n    ls -la presentation.pptx\nelse\n    echo \"FAILED: Check execution_log.txt for errors\"\n    cat execution_log.txt\nfi\n```\n\n### 2c: Verify Working Directory Match\n\n```bash\n# Confirm file is where expected\nCURRENT_PWD=$(pwd)\nFILE_PATH=$(realpath presentation.pptx 2>\u002Fdev\u002Fnull)\n\nif [[ \"$FILE_PATH\" == \"$CURRENT_PWD\"* ]]; then\n    echo \"✓ File is in expected directory\"\nelse\n    echo \"⚠ File created elsewhere: $FILE_PATH\"\n    echo \"Current directory: $CURRENT_PWD\"\nfi\n```\n\n## Step 3: Locate the Output File\n\nPowerPoint files may be created in nested directories. Always search before assuming location:\n\n```bash\n# Search for all .pptx files in workspace\nfind . -name \"*.pptx\" -type f 2>\u002Fdev\u002Fnull\n\n# Search for specific filename\nfind . -name \"presentation.pptx\" -type f 2>\u002Fdev\u002Fnull\n\n# If not found, broaden search\nfind . -name \"*.pptx\" -type f -mmin -5 2>\u002Fdev\u002Fnull\n```\n\n## Step 4: Copy to Working Directory\n\nOnce located, bring the file to your known working directory:\n\n```bash\n# Found path example: .\u002Fworkspace\u002Ftask_123\u002Foutput\u002Fpresentation.pptx\nFOUND_PATH=$(find . -name \"presentation.pptx\" -type f | head -1)\n\nif [ -n \"$FOUND_PATH\" ]; then\n    cp \"$FOUND_PATH\" .\n    echo \"Copied from: $FOUND_PATH\"\nelse\n    echo \"ERROR: File not found - check Python script execution\"\nfi\n```\n\n## Step 5: Verify the File\n\nConfirm the file exists and is valid:\n\n```bash\n# Check file exists and size\nls -la presentation.pptx\n\n# Verify not empty (PowerPoint files should be >1KB minimum)\nFILE_SIZE=$(stat -f%z presentation.pptx 2>\u002Fdev\u002Fnull || stat -c%s presentation.pptx 2>\u002Fdev\u002Fnull)\nif [ \"$FILE_SIZE\" -gt 1000 ]; then\n    echo \"✓ File size OK: $FILE_SIZE bytes\"\nelse\n    echo \"⚠ WARNING: File may be empty or corrupted ($FILE_SIZE bytes)\"\nfi\n\n# Check file type\nfile presentation.pptx\n```\n\n## Debugging Commands\n\nUse these when errors occur:\n\n```bash\n# Capture full error output from any command\npython script.py 2>&1 | tee error_log.txt\n\n# Check Python is available and python-pptx installed\npython -c \"from pptx import Presentation; print('python-pptx OK')\" 2>&1\n\n# List all .pptx files with details\nfind . -name \"*.pptx\" -type f -exec ls -la {} \\; 2>\u002Fdev\u002Fnull\n\n# Check write permissions in current directory\ntouch test_write.txt && rm test_write.txt && echo \"Write OK\" || echo \"Write FAILED\"\n\n# Show full path context\npwd\nls -la\n```\n\n## Common Pitfalls\n\n| Pitfall | Solution |\n|---------|----------|\n| shell_agent returns opaque errors | Switch to Fallback Path after 2 failures; add 2>&1 for real errors |\n| Assuming file is in current directory | Always run find command before proceeding |\n| Script runs but file not found | Check python script's save path; verify working directory |\n| File is 0 bytes | Re-run Python script; check for exceptions in error log |\n| Multiple .pptx files found | Use specific search: `find . -name \"*presentation*.pptx\" -mmin -5` |\n| No module named pptx | Install: `pip install python-pptx` or use execute_code_sandbox |\n\n## Decision Tree\n\n```\nStart\n  │\n  ├─> Try shell_agent (Step 1)\n  │     │\n  │     ├─> Success with path confirmed → Go to Step 4\n  │     │\n  │     └─> Failure or opaque error (2×) → Switch to Fallback\n  │           │\n  │           └─> Direct Python (Step 2)\n  │                 │\n  │                 ├─> Success → Go to Step 4\n  │                 │\n  │                 └─> Failure → Debug with commands above\n  │\n  └─> Always: locate with find, copy, verify (Steps 3-5)\n```\n\n## Example Complete Workflow\n\n```bash\n# Pre-check\npwd  # Save output: \u002Fworkspace\u002Fcurrent_task\n\n# Try shell_agent (via task delegation)\n# If fails after 2 attempts:\n\n# Create Python script\ncat > create_presentation.py \u003C\u003C 'EOF'\nfrom pptx import Presentation\nprs = Presentation()\n# ... add slides ...\nprs.save('presentation.pptx')\nprint(\"Saved to:\", __import__('os').path.abspath('presentation.pptx'))\nEOF\n\n# Execute with error capture\npython create_presentation.py 2>&1 | tee exec.log\n\n# Locate (may be in subdirectory)\nfind . -name \"presentation.pptx\" -type f\n# Output: .\u002Fgenerated\u002Fpresentation.pptx\n\n# Copy to working directory\ncp .\u002Fgenerated\u002Fpresentation.pptx .\n\n# Verify\nls -la presentation.pptx\nfile presentation.pptx\n```\n\n## Troubleshooting Table\n\n| Problem | Command | Expected Output | Action |\n|---------|---------|-----------------|--------|\n| python-pptx not installed | `python -c \"from pptx import Presentation\"` | ImportError | Install: `pip install python-pptx` |\n| Permission denied | `touch test.txt && rm test.txt` | Success | Check directory permissions with `ls -la` |\n| File not found | `find . -name \"*.pptx\" -type f` | Path or empty | Re-run script; check error log |\n| Opaque error | `python script.py 2>&1` | Real exception | Fix Python code based on error message |\n| Multiple files | `find . -name \"*.pptx\" -type f` | Multiple paths | Use `-mmin -5` to find recent files |\n\n## Best Practices\n\n1. **Always verify working directory** before and after generation\n2. **Add 2>&1** to all Python\u002Fshell commands to capture real errors\n3. **Write scripts to .py files first**, then execute (don't use inline execution for complex tasks)\n4. **Search with find** before assuming file location\n5. **Check file size** to ensure content was actually written\n6. **Keep error logs** (tee to file) for debugging complex failures\n7. **Fallback after 2 shell_agent failures** - don't waste iterations\n\n## When to Skip shell_agent Entirely\n\nUse direct Python (Step 2) immediately when:\n- Presentation requires complex tables, charts, or custom layouts\n- Previous shell_agent attempts failed on similar tasks\n- You need precise control over slide structure\n- You're creating presentations with data from spreadsheets\u002FCSVs\n- Task requires multiple iterations and you want faster feedback\n","# Reliable PowerPoint Creation Workflow\n\n## When to Use This Skill\n\nUse this workflow when:\n- You need to create PowerPoint presentations with specific slide content and structure\n- shell_agent may fail or produce opaque error messages\n- Output files may be created in unexpected nested directories\n- You need a reliable fallback when primary generation methods fail\n\n## Overview: Dual-Path Strategy\n\nThis skill provides two paths:\n1. **Primary Path**: shell_agent delegation (simpler, but may fail)\n2. **Fallback Path**: Direct Python execution with python-pptx (more reliable, more control)\n\n## Step 0: Pre-Check Working Directory\n\nBefore any generation, verify your current working directory:\n\n```bash\n# Check and record current directory\npwd\n# Output should be saved for later reference\n\n# List current contents to establish baseline\nls -la\n```\n\n**Important:** Save the pwd output. You'll need this to verify where files are created.\n\n## Step 1: Primary Path - shell_agent Generation\n\nAttempt PowerPoint creation via shell_agent first (quickest if successful):\n\n```\nUse shell_agent to create a PowerPoint presentation with:\n- Specify the exact number of slides needed\n- Define the content\u002Ftopic for each slide\n- Request the file be saved with a clear filename (e.g., presentation.pptx)\n- Ask the agent to confirm the full file path after creation\n```\n\n**Example task description:**\n```\nCreate a PowerPoint presentation with 10 slides covering [topic]. Each slide should have a title and bullet points. Save it as presentation.pptx and tell me the full file path where you saved it.\n```\n\n### shell_agent Error Handling\n\nIf shell_agent returns \"unknown error\" or fails:\n\n```bash\n# Capture actual error by adding stderr redirect\n# Re-run the task or check previous error output\n# Add 2>&1 to any shell commands to see real errors\n```\n\n**After 2 failures or opaque errors, switch to Fallback Path (Step 2).**\n\n## Step 2: Fallback Path - Direct Python with python-pptx\n\nWhen shell_agent fails, use direct Python execution. **Always write script to file first, then execute.**\n\n### 2a: Create the Python Script\n\nWrite a complete Python script using python-pptx:\n\n```python\nfrom pptx import Presentation\nfrom pptx.util import Inches, Pt\n\n# Create presentation\nprs = Presentation()\n\n# Slide 1: Title slide\nslide_layout = prs.slide_layouts[0]\nslide = prs.slides.add_slide(slide_layout)\ntitle = slide.shapes.title\nsubtitle = slide.placeholders[1]\ntitle.text = \"Title Here\"\nsubtitle.text = \"Subtitle Here\"\n\n# Slide 2+: Content slides\nfor i in range(2, 11):\n    slide_layout = prs.slide_layouts[1]\n    slide = prs.slides.add_slide(slide_layout)\n    title = slide.shapes.title\n    title.text = f\"Slide {i} Title\"\n    \n    # Add content\n    content = slide.placeholders[1]\n    content.text = f\"Content for slide {i}\"\n\n# Save to current working directory\nprs.save('presentation.pptx')\nprint(\"File saved to:\", os.path.abspath('presentation.pptx'))\n```\n\n**Save this script as: create_presentation.py**\n\n### 2b: Execute with Error Capture\n\n```bash\n# Write script to file first, then execute with stderr capture\npython create_presentation.py 2>&1 | tee execution_log.txt\n\n# Check for success\nif [ -f \"presentation.pptx\" ]; then\n    echo \"SUCCESS: File created in current directory\"\n    ls -la presentation.pptx\nelse\n    echo \"FAILED: Check execution_log.txt for errors\"\n    cat execution_log.txt\nfi\n```\n\n### 2c: Verify Working Directory Match\n\n```bash\n# Confirm file is where expected\nCURRENT_PWD=$(pwd)\nFILE_PATH=$(realpath presentation.pptx 2>\u002Fdev\u002Fnull)\n\nif [[ \"$FILE_PATH\" == \"$CURRENT_PWD\"* ]]; then\n    echo \"✓ File is in expected directory\"\nelse\n    echo \"⚠ File created elsewhere: $FILE_PATH\"\n    echo \"Current directory: $CURRENT_PWD\"\nfi\n```\n\n## Step 3: Locate the Output File\n\nPowerPoint files may be created in nested directories. Always search before assuming location:\n\n```bash\n# Search for all .pptx files in workspace\nfind . -name \"*.pptx\" -type f 2>\u002Fdev\u002Fnull\n\n# Search for specific filename\nfind . -name \"presentation.pptx\" -type f 2>\u002Fdev\u002Fnull\n\n# If not found, broaden search\nfind . -name \"*.pptx\" -type f -mmin -5 2>\u002Fdev\u002Fnull\n```\n\n## Step 4: Copy to Working Directory\n\nOnce located, bring the file to your known working directory:\n\n```bash\n# Found path example: .\u002Fworkspace\u002Ftask_123\u002Foutput\u002Fpresentation.pptx\nFOUND_PATH=$(find . -name \"presentation.pptx\" -type f | head -1)\n\nif [ -n \"$FOUND_PATH\" ]; then\n    cp \"$FOUND_PATH\" .\n    echo \"Copied from: $FOUND_PATH\"\nelse\n    echo \"ERROR: File not found - check Python script execution\"\nfi\n```\n\n## Step 5: Verify the File\n\nConfirm the file exists and is valid:\n\n```bash\n# Check file exists and size\nls -la presentation.pptx\n\n# Verify not empty (PowerPoint files should be >1KB minimum)\nFILE_SIZE=$(stat -f%z presentation.pptx 2>\u002Fdev\u002Fnull || stat -c%s presentation.pptx 2>\u002Fdev\u002Fnull)\nif [ \"$FILE_SIZE\" -gt 1000 ]; then\n    echo \"✓ File size OK: $FILE_SIZE bytes\"\nelse\n    echo \"⚠ WARNING: File may be empty or corrupted ($FILE_SIZE bytes)\"\nfi\n\n# Check file type\nfile presentation.pptx\n```\n\n## Debugging Commands\n\nUse these when errors occur:\n\n```bash\n# Capture full error output from any command\npython script.py 2>&1 | tee error_log.txt\n\n# Check Python is available and python-pptx installed\npython -c \"from pptx import Presentation; print('python-pptx OK')\" 2>&1\n\n# List all .pptx files with details\nfind . -name \"*.pptx\" -type f -exec ls -la {} \\; 2>\u002Fdev\u002Fnull\n\n# Check write permissions in current directory\ntouch test_write.txt && rm test_write.txt && echo \"Write OK\" || echo \"Write FAILED\"\n\n# Show full path context\npwd\nls -la\n```\n\n## Common Pitfalls\n\n| Pitfall | Solution |\n|---------|----------|\n| shell_agent returns opaque errors | Switch to Fallback Path after 2 failures; add 2>&1 for real errors |\n| Assuming file is in current directory | Always run find command before proceeding |\n| Script runs but file not found | Check python script's save path; verify working directory |\n| File is 0 bytes | Re-run Python script; check for exceptions in error log |\n| Multiple .pptx files found | Use specific search: `find . -name \"*presentation*.pptx\" -mmin -5` |\n| No module named pptx | Install: `pip install python-pptx` or use execute_code_sandbox |\n\n## Decision Tree\n\n```\nStart\n  │\n  ├─> Try shell_agent (Step 1)\n  │     │\n  │     ├─> Success with path confirmed → Go to Step 4\n  │     │\n  │     └─> Failure or opaque error (2×) → Switch to Fallback\n  │           │\n  │           └─> Direct Python (Step 2)\n  │                 │\n  │                 ├─> Success → Go to Step 4\n  │                 │\n  │                 └─> Failure → Debug with commands above\n  │\n  └─> Always: locate with find, copy, verify (Steps 3-5)\n```\n\n## Example Complete Workflow\n\n```bash\n# Pre-check\npwd  # Save output: \u002Fworkspace\u002Fcurrent_task\n\n# Try shell_agent (via task delegation)\n# If fails after 2 attempts:\n\n# Create Python script\ncat > create_presentation.py \u003C\u003C 'EOF'\nfrom pptx import Presentation\nprs = Presentation()\n# ... add slides ...\nprs.save('presentation.pptx')\nprint(\"Saved to:\", __import__('os').path.abspath('presentation.pptx'))\nEOF\n\n# Execute with error capture\npython create_presentation.py 2>&1 | tee exec.log\n\n# Locate (may be in subdirectory)\nfind . -name \"presentation.pptx\" -type f\n# Output: .\u002Fgenerated\u002Fpresentation.pptx\n\n# Copy to working directory\ncp .\u002Fgenerated\u002Fpresentation.pptx .\n\n# Verify\nls -la presentation.pptx\nfile presentation.pptx\n```\n\n## Troubleshooting Table\n\n| Problem | Command | Expected Output | Action |\n|---------|---------|-----------------|--------|\n| python-pptx not installed | `python -c \"from pptx import Presentation\"` | ImportError | Install: `pip install python-pptx` |\n| Permission denied | `touch test.txt && rm test.txt` | Success | Check directory permissions with `ls -la` |\n| File not found | `find . -name \"*.pptx\" -type f` | Path or empty | Re-run script; check error log |\n| Opaque error | `python script.py 2>&1` | Real exception | Fix Python code based on error message |\n| Multiple files | `find . -name \"*.pptx\" -type f` | Multiple paths | Use `-mmin -5` to find recent files |\n\n## Best Practices\n\n1. **Always verify working directory** before and after generation\n2. **Add 2>&1** to all Python\u002Fshell commands to capture real errors\n3. **Write scripts to .py files first**, then execute (don't use inline execution for complex tasks)\n4. **Search with find** before assuming file location\n5. **Check file size** to ensure content was actually written\n6. **Keep error logs** (tee to file) for debugging complex failures\n7. **Fallback after 2 shell_agent failures** - don't waste iterations\n\n## When to Skip shell_agent Entirely\n\nUse direct Python (Step 2) immediately when:\n- Presentation requires complex tables, charts, or custom layouts\n- Previous shell_agent attempts failed on similar tasks\n- You need precise control over slide structure\n- You're creating presentations with data from spreadsheets\u002FCSVs\n- Task requires multiple iterations and you want faster feedback\n",{"name":5,"description":7},"main","ff671ef61ed6587c49bd54c81cdc751c0b99e363","gdpval_bench\u002Fskills\u002Fppt-workflow-location-enhanced-72b4a5","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":54,"prompt":64,"zipAvailable":65},[55,58,61],{"tool":56,"command":57},"npx","npx skills add AG064\u002FOpenSpace --skill ppt-reliable-creation",{"tool":59,"command":60},"bunx","bunx skills add AG064\u002FOpenSpace --skill ppt-reliable-creation",{"tool":62,"command":63},"pnpm","pnpm dlx skills add AG064\u002FOpenSpace --skill ppt-reliable-creation","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FAG064\u002FOpenSpace\u002Fblob\u002Fmain\u002Fgdpval_bench\u002Fskills\u002Fppt-workflow-location-enhanced-72b4a5\u002FSKILL.md",true,[67],{"path":68,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":71,"sourceHtmlUrl":72},".skill_id","OTHER","其他",51,"https:\u002F\u002Fgithub.com\u002FAG064\u002FOpenSpace\u002Fblob\u002Fmain\u002Fgdpval_bench\u002Fskills\u002Fppt-workflow-location-enhanced-72b4a5\u002F.skill_id",[74,97,112,120,150,166],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":41},"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",[],[81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,30,96],"write special chars ts check","check","write","filters","Existing","type-checking","for","errors","script","output","type","files","only","template","file","typescript",{"skillNo":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":41},"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",[],[104,105,83,94,106,107,95,30,108,33,109,110,111,87,89,40],"readback","write special chars readback","cleanup","read","scripts","via","post","helper",{"skillNo":113,"name":114,"nameZh":6,"description":115,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":116,"categories":117,"keywords":118,"publishedAt":41},"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",[],[83,119,30,87,109,94,34,95,89],"write special chars heredoc",{"skillNo":121,"name":122,"nameZh":6,"description":123,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":124,"categories":125,"keywords":131,"publishedAt":41},"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",[126],{"categoryNo":127,"categoryName":128,"taxonomyType":129,"taxonomyTypeDesc":130},"01JBSEEDCAT000000000000033","数据分析师","PROFESSION","适用职业",[132,133,134,135,96,136,137,138,139,140,87,141,142,143,144,145,146,147,148,149],"reference","worldmonitor","worldmonitor reference","dashboard","css","architecture","extracting","hierarchy","source","layer","panel","patterns","edge functions","integrations","open","api","data","scheduler",{"skillNo":151,"name":152,"nameZh":6,"description":153,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":154,"categories":155,"keywords":156,"publishedAt":41},"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",[],[157,158,159,160,87,161,40,162,163,164,165],"virtual list","list","virtual","chunk","dom","rendering","recycling","implement","performance",{"skillNo":167,"name":168,"nameZh":6,"description":169,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":170,"categories":171,"keywords":172,"publishedAt":41},"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",[],[29,173,174,175,176,177,95,178,179,180],"verify","structure","verify directory structure","access","first","issues","diagnose","file access"]