[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6XC49WASY85BG600ZNEX3AY":3,"skill-same:01M6XC49WASY85BG600ZNEX3AY":65},{"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":34,"linkOnly":35,"markdownContent":36,"markdownBody":37,"frontMatter":38,"refName":39,"commitSha":40,"skillDirectory":41,"forksCount":13,"repositoryHtmlUrl":42,"repositoryHomepageUrl":6,"ownerHtmlUrl":43,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":44,"install":45,"resources":58},"01M6XC49WASY85BG600ZNEX3AY","verify-success-after-unknown-error",null,"Verify task completion by checking filesystem state when execute_code_sandbox or run_shell return misleading unknown errors","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\u002Fverify-success-after-unknown-error\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33],"verify","error","unknown","verify success after unknown error","sandbox","run","code","state","shell","filesystem","execute","task","verify task","errors","task completion","when","2026-11-10 10:12:30",false,"---\nname: verify-success-after-unknown-error\ndescription: Verify task completion by checking filesystem state when execute_code_sandbox or run_shell return misleading unknown errors\n---\n\n# Verify Success After Unknown Error\n\n## Purpose\n\nWhen `execute_code_sandbox` or `run_shell` return \"unknown error\" messages, the underlying task may have actually succeeded. This skill provides a systematic approach to verify actual completion before assuming failure and retrying unnecessarily.\n\n## When to Apply\n\nUse this pattern when:\n- `execute_code_sandbox` returns \"unknown error\" but your code may have completed\n- `run_shell` fails with unclear error messages\n- File creation, modification, or transformation tasks report errors\n- The error message is generic\u002Funspecified rather than a clear failure reason\n\n## Verification Steps\n\n### Step 1: Check Expected Output Files\n\nAfter receiving an unknown error, immediately verify if expected files were created:\n\n```python\n# Example: Verify file creation after execute_code_sandbox\nfrom tools import list_dir, read_file\n\n# List directory to check if files exist\nfiles = list_dir(path=\"\u002Fworkspace\u002Foutput\")\nprint(files)\n\n# Check specific file existence\nexpected_files = [\"report.pdf\", \"data.xlsx\"]\nfor f in expected_files:\n    try:\n        content = read_file(filetype=\"pdf\", file_path=f\"\u002Fworkspace\u002Foutput\u002F{f}\")\n        print(f\"✓ {f} exists and is readable\")\n    except:\n        print(f\"✗ {f} not found or unreadable\")\n```\n\n### Step 2: Validate File Content\u002FState\n\nDon't just check existence — verify the files have expected content:\n\n```python\n# For spreadsheets\nfile_content = read_file(filetype=\"xlsx\", file_path=\"\u002Fworkspace\u002Foutput\u002Fschedule.xlsx\")\n# Verify expected sheets, columns, or data exist\n\n# For text\u002Fjson files\nfile_content = read_file(filetype=\"txt\", file_path=\"\u002Fworkspace\u002Foutput\u002Fresult.json\")\n# Parse and validate structure\n\n# For directories\ndir_contents = list_dir(path=\"\u002Fworkspace\u002Foutput\")\n# Verify expected number of files or specific files exist\n```\n\n### Step 3: Decision Logic\n\n```\nIF expected files exist AND content is valid:\n    → Task succeeded despite error message\n    → Proceed to next step without retry\n    \nELIF files exist but content is incomplete:\n    → Partial success, may need targeted fix\n    \nELSE (files missing or corrupted):\n    → True failure, retry or debug required\n```\n\n## Code Example: Complete Pattern\n\n```python\ndef execute_with_verification(code, expected_files):\n    \"\"\"Execute code and verify success even if error returned.\"\"\"\n    \n    # Attempt execution\n    result = execute_code_sandbox(code=code)\n    \n    # Check for unknown\u002Fgeneric errors\n    if \"unknown error\" in result.get(\"output\", \"\").lower() or result.get(\"error\"):\n        print(\"Received error, verifying actual outcome...\")\n        \n        # Verify filesystem state\n        all_present = True\n        for f in expected_files:\n            try:\n                list_dir(path=f\"\u002Fworkspace\u002F{f}\")  # or appropriate path\n                print(f\"✓ {f} verified\")\n            except:\n                print(f\"✗ {f} missing\")\n                all_present = False\n        \n        if all_present:\n            print(\"Task completed successfully despite error message\")\n            return {\"status\": \"success_verified\", \"files\": expected_files}\n        else:\n            print(\"True failure - files not created\")\n            return {\"status\": \"failed\", \"error\": result.get(\"error\")}\n    \n    return {\"status\": \"success\", \"output\": result.get(\"output\")}\n```\n\n## Shell Command Example\n\n```bash\n# After run_shell returns error, verify with:\nls -la \u002Fworkspace\u002Foutput\u002F\ntest -f \u002Fworkspace\u002Foutput\u002Fresult.pdf && echo \"File exists\" || echo \"File missing\"\nfile \u002Fworkspace\u002Foutput\u002Fresult.pdf  # Verify file type is correct\n```\n\n## Benefits\n\n- **Saves iterations**: Avoids unnecessary retries when task already succeeded\n- **Handles tool bugs**: Works around sandbox\u002Fshell tool reporting issues\n- **Faster completion**: Move forward immediately when verification passes\n- **Clearer debugging**: Distinguishes true failures from false positives\n\n## Anti-Patterns to Avoid\n\n- ✗ Immediately retrying on any error without verification\n- ✗ Assuming \"unknown error\" means complete failure\n- ✗ Only checking file existence without validating content\n- ✗ Skipping verification for \"minor\" tasks (any file output should be verified)\n\n## Related Tools\n\n- `list_dir` — Check directory contents\n- `read_file` — Validate file content and accessibility\n- `execute_code_sandbox` — Primary execution tool this pattern supports\n- `run_shell` — Shell execution tool this pattern supports","# Verify Success After Unknown Error\n\n## Purpose\n\nWhen `execute_code_sandbox` or `run_shell` return \"unknown error\" messages, the underlying task may have actually succeeded. This skill provides a systematic approach to verify actual completion before assuming failure and retrying unnecessarily.\n\n## When to Apply\n\nUse this pattern when:\n- `execute_code_sandbox` returns \"unknown error\" but your code may have completed\n- `run_shell` fails with unclear error messages\n- File creation, modification, or transformation tasks report errors\n- The error message is generic\u002Funspecified rather than a clear failure reason\n\n## Verification Steps\n\n### Step 1: Check Expected Output Files\n\nAfter receiving an unknown error, immediately verify if expected files were created:\n\n```python\n# Example: Verify file creation after execute_code_sandbox\nfrom tools import list_dir, read_file\n\n# List directory to check if files exist\nfiles = list_dir(path=\"\u002Fworkspace\u002Foutput\")\nprint(files)\n\n# Check specific file existence\nexpected_files = [\"report.pdf\", \"data.xlsx\"]\nfor f in expected_files:\n    try:\n        content = read_file(filetype=\"pdf\", file_path=f\"\u002Fworkspace\u002Foutput\u002F{f}\")\n        print(f\"✓ {f} exists and is readable\")\n    except:\n        print(f\"✗ {f} not found or unreadable\")\n```\n\n### Step 2: Validate File Content\u002FState\n\nDon't just check existence — verify the files have expected content:\n\n```python\n# For spreadsheets\nfile_content = read_file(filetype=\"xlsx\", file_path=\"\u002Fworkspace\u002Foutput\u002Fschedule.xlsx\")\n# Verify expected sheets, columns, or data exist\n\n# For text\u002Fjson files\nfile_content = read_file(filetype=\"txt\", file_path=\"\u002Fworkspace\u002Foutput\u002Fresult.json\")\n# Parse and validate structure\n\n# For directories\ndir_contents = list_dir(path=\"\u002Fworkspace\u002Foutput\")\n# Verify expected number of files or specific files exist\n```\n\n### Step 3: Decision Logic\n\n```\nIF expected files exist AND content is valid:\n    → Task succeeded despite error message\n    → Proceed to next step without retry\n    \nELIF files exist but content is incomplete:\n    → Partial success, may need targeted fix\n    \nELSE (files missing or corrupted):\n    → True failure, retry or debug required\n```\n\n## Code Example: Complete Pattern\n\n```python\ndef execute_with_verification(code, expected_files):\n    \"\"\"Execute code and verify success even if error returned.\"\"\"\n    \n    # Attempt execution\n    result = execute_code_sandbox(code=code)\n    \n    # Check for unknown\u002Fgeneric errors\n    if \"unknown error\" in result.get(\"output\", \"\").lower() or result.get(\"error\"):\n        print(\"Received error, verifying actual outcome...\")\n        \n        # Verify filesystem state\n        all_present = True\n        for f in expected_files:\n            try:\n                list_dir(path=f\"\u002Fworkspace\u002F{f}\")  # or appropriate path\n                print(f\"✓ {f} verified\")\n            except:\n                print(f\"✗ {f} missing\")\n                all_present = False\n        \n        if all_present:\n            print(\"Task completed successfully despite error message\")\n            return {\"status\": \"success_verified\", \"files\": expected_files}\n        else:\n            print(\"True failure - files not created\")\n            return {\"status\": \"failed\", \"error\": result.get(\"error\")}\n    \n    return {\"status\": \"success\", \"output\": result.get(\"output\")}\n```\n\n## Shell Command Example\n\n```bash\n# After run_shell returns error, verify with:\nls -la \u002Fworkspace\u002Foutput\u002F\ntest -f \u002Fworkspace\u002Foutput\u002Fresult.pdf && echo \"File exists\" || echo \"File missing\"\nfile \u002Fworkspace\u002Foutput\u002Fresult.pdf  # Verify file type is correct\n```\n\n## Benefits\n\n- **Saves iterations**: Avoids unnecessary retries when task already succeeded\n- **Handles tool bugs**: Works around sandbox\u002Fshell tool reporting issues\n- **Faster completion**: Move forward immediately when verification passes\n- **Clearer debugging**: Distinguishes true failures from false positives\n\n## Anti-Patterns to Avoid\n\n- ✗ Immediately retrying on any error without verification\n- ✗ Assuming \"unknown error\" means complete failure\n- ✗ Only checking file existence without validating content\n- ✗ Skipping verification for \"minor\" tasks (any file output should be verified)\n\n## Related Tools\n\n- `list_dir` — Check directory contents\n- `read_file` — Validate file content and accessibility\n- `execute_code_sandbox` — Primary execution tool this pattern supports\n- `run_shell` — Shell execution tool this pattern supports",{"name":5,"description":7},"main","0650921d63895de3997bc81f1ff1d0ac67032072","gdpval_bench\u002Fskills\u002Fverify-success-after-unknown-error","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":46,"prompt":56,"zipAvailable":57},[47,50,53],{"tool":48,"command":49},"npx","npx skills add UF-gzj\u002Fopenspace-claude-evolution --skill verify-success-after-unknown-error",{"tool":51,"command":52},"bunx","bunx skills add UF-gzj\u002Fopenspace-claude-evolution --skill verify-success-after-unknown-error",{"tool":54,"command":55},"pnpm","pnpm dlx skills add UF-gzj\u002Fopenspace-claude-evolution --skill verify-success-after-unknown-error","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FUF-gzj\u002Fopenspace-claude-evolution\u002Fblob\u002Fmain\u002Fgdpval_bench\u002Fskills\u002Fverify-success-after-unknown-error\u002FSKILL.md",true,[59],{"path":60,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":63,"sourceHtmlUrl":64},".skill_id","OTHER","其他",48,"https:\u002F\u002Fgithub.com\u002FUF-gzj\u002Fopenspace-claude-evolution\u002Fblob\u002Fmain\u002Fgdpval_bench\u002Fskills\u002Fverify-success-after-unknown-error\u002F.skill_id",[66,90,107,115,145,161],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":34},"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",[],[73,74,75,76,77,78,79,80,81,31,82,83,84,85,86,87,88,89],"check","write","write special chars ts check","typescript","filters","characters","Existing","type-checking","for","script","output","type","files","only","template","file","python",{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":34},"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",[],[97,98,74,88,99,89,100,101,102,103,104,87,105,106,78,81,82],"readback","write special chars readback","helper","post","via","scripts","cleanup","read","verification","with",{"skillNo":108,"name":109,"nameZh":6,"description":110,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":111,"categories":112,"keywords":113,"publishedAt":34},"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",[],[114,74,78,26,82,101,87,88,89,81],"write special chars heredoc",{"skillNo":116,"name":117,"nameZh":6,"description":118,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":119,"categories":120,"keywords":126,"publishedAt":34},"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",[121],{"categoryNo":122,"categoryName":123,"taxonomyType":124,"taxonomyTypeDesc":125},"01JBSEEDCAT000000000000033","数据分析师","PROFESSION","适用职业",[127,128,129,130,131,76,132,133,134,135,136,81,137,138,139,140,141,142,143,144],"reference","worldmonitor","worldmonitor reference","architecture","dashboard","css","scheduler","layer","hierarchy","source","extracting","panel","patterns","edge functions","integrations","open","api","data",{"skillNo":146,"name":147,"nameZh":6,"description":148,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":149,"categories":150,"keywords":151,"publishedAt":34},"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",[],[152,153,154,155,81,156,106,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":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":165,"categories":166,"keywords":167,"publishedAt":34},"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",[],[168,169,170,18,171,172,88,173,174,175],"directory","verify directory structure","structure","access","first","issues","diagnose","file access"]