[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6XBWSF3FPYP4MRSA3WXG4SK":3,"skill-same:01M6XBWSF3FPYP4MRSA3WXG4SK":63},{"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":17,"publishedAt":32,"linkOnly":33,"markdownContent":34,"markdownBody":35,"frontMatter":36,"refName":37,"commitSha":38,"skillDirectory":39,"forksCount":13,"repositoryHtmlUrl":40,"repositoryHomepageUrl":6,"ownerHtmlUrl":41,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":42,"install":43,"resources":56},"01M6XBWSF3FPYP4MRSA3WXG4SK","python-spreadsheet-debug",null,"Systematic Python debugging workflow for spreadsheet tasks to isolate environment issues from script logic","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\u002Fpython-spreadsheet-debug\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30,31],"python","debug","spreadsheet","python spreadsheet debug","workflow","debugging","tasks","issues","environment","logic","systematic","script","for","python debugging","2026-11-10 10:12:30",false,"---\nname: python-spreadsheet-debug\ndescription: Systematic Python debugging workflow for spreadsheet tasks to isolate environment issues from script logic\n---\n\n# Python Spreadsheet Debugging Workflow\n\nWhen executing Python scripts for spreadsheet\u002Fdata processing tasks, use this systematic debugging approach to efficiently isolate environment configuration issues from script logic errors, especially when `run_shell` returns opaque errors.\n\n## Step 1: Verify Python Environment\n\nFirst, confirm the Python interpreter path and version to ensure you're working in the expected environment:\n\n```bash\nwhich python python3\npython --version\npython3 --version\n```\n\nThis identifies whether Python is available and which version is being used.\n\n## Step 2: Test Library Imports in Isolation\n\nBefore running your full script, verify that required libraries can be imported successfully. Test each critical import individually:\n\n```bash\npython -c \"import pandas; print('pandas:', pandas.__version__)\"\npython -c \"import openpyxl; print('openpyxl:', openpyxl.__version__)\"\npython -c \"import xlrd; print('xlrd:', xlrd.__version__)\"\n```\n\nReplace library names based on your script's requirements. This identifies missing dependencies or version conflicts early.\n\n## Step 3: Run Minimal Test Script\n\nCreate and execute a minimal script that exercises only the core functionality without full business logic:\n\n```python\n# test_minimal.py\nimport pandas as pd\n\n# Test 1: Can we read a file?\ntry:\n    df = pd.read_excel('sample.xlsx')\n    print(f\"✓ File read successful: {len(df)} rows\")\nexcept Exception as e:\n    print(f\"✗ File read failed: {e}\")\n\n# Test 2: Can we perform basic operations?\ntry:\n    result = df.groupby('category')['amount'].sum()\n    print(f\"✓ GroupBy operation successful\")\nexcept Exception as e:\n    print(f\"✗ Operation failed: {e}\")\n```\n\nRun this with: `python test_minimal.py`\n\n**Purpose:** This isolates whether the issue is with file access, library functionality, or specific script logic.\n\n## Step 4: Execute Full Script\n\nOnce the minimal test passes, run the complete script:\n\n```bash\npython your_script.py\n```\n\nIf errors occur now, you know the environment is correctly configured and can focus on debugging the specific logic.\n\n## Quick Diagnostic Command\n\nFor rapid diagnosis, run all checks in sequence:\n\n```bash\necho \"=== Python Version ===\" && python --version && \\\necho \"=== Key Imports ===\" && python -c \"import pandas, openpyxl; print('OK')\" && \\\necho \"=== Ready for full script ===\"\n```\n\n## Common Issues and Resolutions\n\n| Symptom | Likely Cause | Resolution |\n|---------|--------------|------------|\n| `ModuleNotFoundError` | Missing package | `pip install \u003Cpackage-name>` |\n| `ImportError` with version | Version conflict | Check `pip list`, reinstall specific version |\n| `FileNotFoundError` | Wrong path\u002Fcontext | Verify working directory with `pwd` |\n| `PermissionError` | File access | Check file permissions or path |\n\n## When to Use This Pattern\n\n- `run_shell` returns cryptic or truncated error messages\n- Script worked previously but suddenly fails\n- Deploying to a new environment or container\n- Debugging spreadsheet processing with pandas, openpyxl, xlrd, etc.\n\n## Benefits\n\n- **Fast isolation:** Identifies environment vs. logic issues within seconds\n- **Incremental confidence:** Each passing step narrows the problem space\n- **Reusable pattern:** Apply consistently across all Python spreadsheet tasks","# Python Spreadsheet Debugging Workflow\n\nWhen executing Python scripts for spreadsheet\u002Fdata processing tasks, use this systematic debugging approach to efficiently isolate environment configuration issues from script logic errors, especially when `run_shell` returns opaque errors.\n\n## Step 1: Verify Python Environment\n\nFirst, confirm the Python interpreter path and version to ensure you're working in the expected environment:\n\n```bash\nwhich python python3\npython --version\npython3 --version\n```\n\nThis identifies whether Python is available and which version is being used.\n\n## Step 2: Test Library Imports in Isolation\n\nBefore running your full script, verify that required libraries can be imported successfully. Test each critical import individually:\n\n```bash\npython -c \"import pandas; print('pandas:', pandas.__version__)\"\npython -c \"import openpyxl; print('openpyxl:', openpyxl.__version__)\"\npython -c \"import xlrd; print('xlrd:', xlrd.__version__)\"\n```\n\nReplace library names based on your script's requirements. This identifies missing dependencies or version conflicts early.\n\n## Step 3: Run Minimal Test Script\n\nCreate and execute a minimal script that exercises only the core functionality without full business logic:\n\n```python\n# test_minimal.py\nimport pandas as pd\n\n# Test 1: Can we read a file?\ntry:\n    df = pd.read_excel('sample.xlsx')\n    print(f\"✓ File read successful: {len(df)} rows\")\nexcept Exception as e:\n    print(f\"✗ File read failed: {e}\")\n\n# Test 2: Can we perform basic operations?\ntry:\n    result = df.groupby('category')['amount'].sum()\n    print(f\"✓ GroupBy operation successful\")\nexcept Exception as e:\n    print(f\"✗ Operation failed: {e}\")\n```\n\nRun this with: `python test_minimal.py`\n\n**Purpose:** This isolates whether the issue is with file access, library functionality, or specific script logic.\n\n## Step 4: Execute Full Script\n\nOnce the minimal test passes, run the complete script:\n\n```bash\npython your_script.py\n```\n\nIf errors occur now, you know the environment is correctly configured and can focus on debugging the specific logic.\n\n## Quick Diagnostic Command\n\nFor rapid diagnosis, run all checks in sequence:\n\n```bash\necho \"=== Python Version ===\" && python --version && \\\necho \"=== Key Imports ===\" && python -c \"import pandas, openpyxl; print('OK')\" && \\\necho \"=== Ready for full script ===\"\n```\n\n## Common Issues and Resolutions\n\n| Symptom | Likely Cause | Resolution |\n|---------|--------------|------------|\n| `ModuleNotFoundError` | Missing package | `pip install \u003Cpackage-name>` |\n| `ImportError` with version | Version conflict | Check `pip list`, reinstall specific version |\n| `FileNotFoundError` | Wrong path\u002Fcontext | Verify working directory with `pwd` |\n| `PermissionError` | File access | Check file permissions or path |\n\n## When to Use This Pattern\n\n- `run_shell` returns cryptic or truncated error messages\n- Script worked previously but suddenly fails\n- Deploying to a new environment or container\n- Debugging spreadsheet processing with pandas, openpyxl, xlrd, etc.\n\n## Benefits\n\n- **Fast isolation:** Identifies environment vs. logic issues within seconds\n- **Incremental confidence:** Each passing step narrows the problem space\n- **Reusable pattern:** Apply consistently across all Python spreadsheet tasks",{"name":5,"description":7},"main","0650921d63895de3997bc81f1ff1d0ac67032072","gdpval_bench\u002Fskills\u002Fpython-spreadsheet-debug","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":44,"prompt":54,"zipAvailable":55},[45,48,51],{"tool":46,"command":47},"npx","npx skills add UF-gzj\u002Fopenspace-claude-evolution --skill python-spreadsheet-debug",{"tool":49,"command":50},"bunx","bunx skills add UF-gzj\u002Fopenspace-claude-evolution --skill python-spreadsheet-debug",{"tool":52,"command":53},"pnpm","pnpm dlx skills add UF-gzj\u002Fopenspace-claude-evolution --skill python-spreadsheet-debug","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FUF-gzj\u002Fopenspace-claude-evolution\u002Fblob\u002Fmain\u002Fgdpval_bench\u002Fskills\u002Fpython-spreadsheet-debug\u002FSKILL.md",true,[57],{"path":58,"resourceType":59,"resourceTypeDesc":60,"sizeBytes":61,"sourceHtmlUrl":62},".skill_id","OTHER","其他",38,"https:\u002F\u002Fgithub.com\u002FUF-gzj\u002Fopenspace-claude-evolution\u002Fblob\u002Fmain\u002Fgdpval_bench\u002Fskills\u002Fpython-spreadsheet-debug\u002F.skill_id",[64,86,103,112,137,153],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":32},"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",[],[71,72,73,74,75,76,77,78,30,79,29,80,81,82,83,84,85,18],"check","write","write special chars ts check","typescript","filters","characters","Existing","type-checking","errors","output","type","files","only","template","file",{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":32},"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",[],[93,94,72,85,95,18,96,97,98,99,100,84,101,102,76,30,29],"readback","write special chars readback","helper","post","via","scripts","cleanup","read","verification","with",{"skillNo":104,"name":105,"nameZh":6,"description":106,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":107,"categories":108,"keywords":109,"publishedAt":32},"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",[],[110,72,76,111,29,97,84,85,18,30],"write special chars heredoc","shell",{"skillNo":113,"name":114,"nameZh":6,"description":115,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":116,"categories":117,"keywords":118,"publishedAt":32},"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",[],[119,120,121,122,123,74,124,125,126,127,128,30,129,130,131,132,133,134,135,136],"reference","worldmonitor","worldmonitor reference","architecture","dashboard","css","scheduler","layer","hierarchy","source","extracting","panel","patterns","edge functions","integrations","open","api","data",{"skillNo":138,"name":139,"nameZh":6,"description":140,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":141,"categories":142,"keywords":143,"publishedAt":32},"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",[],[144,145,146,147,30,148,102,149,150,151,152],"virtual list","list","virtual","chunk","dom","rendering","recycling","implement","performance",{"skillNo":154,"name":155,"nameZh":6,"description":156,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":157,"categories":158,"keywords":159,"publishedAt":32},"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",[],[160,161,162,163,164,165,85,25,166,167],"directory","verify directory structure","structure","verify","access","first","diagnose","file access"]