[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6XC0TMK4Y1PHTHV4KQ3P9X8":3,"skill-same:01M6XC0TMK4Y1PHTHV4KQ3P9X8":61},{"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":30,"linkOnly":31,"markdownContent":32,"markdownBody":33,"frontMatter":34,"refName":35,"commitSha":36,"skillDirectory":37,"forksCount":13,"repositoryHtmlUrl":38,"repositoryHomepageUrl":6,"ownerHtmlUrl":39,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":40,"install":41,"resources":54},"01M6XC0TMK4Y1PHTHV4KQ3P9X8","shell-doc-gen-and-locate",null,"Generate documents via shell commands and locate nested outputs using find.","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\u002Fshell-doc-gen-and-locate\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29],"doc","shell","locate","doc gen","shell doc gen and locate","documents","generate","find","nested","commands","via","outputs","2026-11-10 10:12:30",false,"---\nname: shell-doc-gen-and-locate\ndescription: Generate documents via shell commands and locate nested outputs using find.\n---\n\n# Shell Document Generation and Retrieval Workflow\n\n## Objective\nEnable reliable file creation (e.g., PowerPoint, PDFs) when direct API or library-based generation fails, ensuring the final artifact is located and moved to the working directory regardless of nested output paths.\n\n## When to Use\n- Standard document generation tools (e.g., direct Python library calls in-memory) fail or are unavailable.\n- The `shell_agent` capability is available for executing scripts.\n- Generated files may be saved in unpredictable nested directories within the workspace.\n\n## Procedure\n\n### 1. Attempt Shell-Based Generation\nIf direct tool invocation fails, delegate file creation to a shell-executed script.\n\n- Write a script (e.g., `generate_presentation.py` or `make_doc.sh`) that produces the file.\n- Execute the script via the shell agent.\n- Ensure the script prints confirmation upon completion.\n\n### 2. Locate the Output File\nDo not assume the file is in the current directory. Shell scripts often create outputs in nested folders (e.g., `.\u002Fworkspace\u002Foutput\u002F`, `.\u002Fbuild\u002F`).\n\n- Use the `find` command to search the workspace recursively.\n- Example for PowerPoint files:\n\n    find . -type f -name \"*.pptx\"\n\n- Example for PDF files:\n\n    find . -type f -name \"*.pdf\"\n\n- Filter results by modification time if multiple versions exist (e.g., `-mmin -10`).\n\n### 3. Retrieve to Working Directory\nOnce the file path is identified:\n\n- Copy the file to the root working directory or the expected delivery location.\n\n    cp \u002Fpath\u002Fto\u002Fnested\u002Ffile.pptx .\u002F\n\n- Verify the file exists and is non-zero size.\n\n### 4. Verification\n- Confirm the file opens correctly or meets size expectations.\n- If the file is not found after `find`, check stderr of the generation script for path clues.\n\n## Best Practices\n- **Explicit Paths:** Whenever possible, configure generation scripts to output to a known relative path (e.g., `.\u002Foutput\u002Ffilename.pptx`).\n- **Cleanup:** Remove nested temporary copies after retrieving the final version to avoid confusion.\n- **Logging:** Echo the final absolute path of the generated file in the script stdout to simplify locating.","# Shell Document Generation and Retrieval Workflow\n\n## Objective\nEnable reliable file creation (e.g., PowerPoint, PDFs) when direct API or library-based generation fails, ensuring the final artifact is located and moved to the working directory regardless of nested output paths.\n\n## When to Use\n- Standard document generation tools (e.g., direct Python library calls in-memory) fail or are unavailable.\n- The `shell_agent` capability is available for executing scripts.\n- Generated files may be saved in unpredictable nested directories within the workspace.\n\n## Procedure\n\n### 1. Attempt Shell-Based Generation\nIf direct tool invocation fails, delegate file creation to a shell-executed script.\n\n- Write a script (e.g., `generate_presentation.py` or `make_doc.sh`) that produces the file.\n- Execute the script via the shell agent.\n- Ensure the script prints confirmation upon completion.\n\n### 2. Locate the Output File\nDo not assume the file is in the current directory. Shell scripts often create outputs in nested folders (e.g., `.\u002Fworkspace\u002Foutput\u002F`, `.\u002Fbuild\u002F`).\n\n- Use the `find` command to search the workspace recursively.\n- Example for PowerPoint files:\n\n    find . -type f -name \"*.pptx\"\n\n- Example for PDF files:\n\n    find . -type f -name \"*.pdf\"\n\n- Filter results by modification time if multiple versions exist (e.g., `-mmin -10`).\n\n### 3. Retrieve to Working Directory\nOnce the file path is identified:\n\n- Copy the file to the root working directory or the expected delivery location.\n\n    cp \u002Fpath\u002Fto\u002Fnested\u002Ffile.pptx .\u002F\n\n- Verify the file exists and is non-zero size.\n\n### 4. Verification\n- Confirm the file opens correctly or meets size expectations.\n- If the file is not found after `find`, check stderr of the generation script for path clues.\n\n## Best Practices\n- **Explicit Paths:** Whenever possible, configure generation scripts to output to a known relative path (e.g., `.\u002Foutput\u002Ffilename.pptx`).\n- **Cleanup:** Remove nested temporary copies after retrieving the final version to avoid confusion.\n- **Logging:** Echo the final absolute path of the generated file in the script stdout to simplify locating.",{"name":5,"description":7},"main","0650921d63895de3997bc81f1ff1d0ac67032072","gdpval_bench\u002Fskills\u002Fshell-doc-gen-and-locate","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":42,"prompt":52,"zipAvailable":53},[43,46,49],{"tool":44,"command":45},"npx","npx skills add UF-gzj\u002Fopenspace-claude-evolution --skill shell-doc-gen-and-locate",{"tool":47,"command":48},"bunx","bunx skills add UF-gzj\u002Fopenspace-claude-evolution --skill shell-doc-gen-and-locate",{"tool":50,"command":51},"pnpm","pnpm dlx skills add UF-gzj\u002Fopenspace-claude-evolution --skill shell-doc-gen-and-locate","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FUF-gzj\u002Fopenspace-claude-evolution\u002Fblob\u002Fmain\u002Fgdpval_bench\u002Fskills\u002Fshell-doc-gen-and-locate\u002FSKILL.md",true,[55],{"path":56,"resourceType":57,"resourceTypeDesc":58,"sizeBytes":59,"sourceHtmlUrl":60},".skill_id","OTHER","其他",38,"https:\u002F\u002Fgithub.com\u002FUF-gzj\u002Fopenspace-claude-evolution\u002Fblob\u002Fmain\u002Fgdpval_bench\u002Fskills\u002Fshell-doc-gen-and-locate\u002F.skill_id",[62,87,103,111,141,157],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":30},"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",[],[69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86],"check","write","write special chars ts check","typescript","filters","characters","Existing","type-checking","for","errors","script","output","type","files","only","template","file","python",{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":30},"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",[],[94,95,70,85,96,86,97,28,98,99,100,84,101,102,74,77,79],"readback","write special chars readback","helper","post","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":30},"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,70,74,19,79,28,84,85,86,77],"write special chars heredoc",{"skillNo":112,"name":113,"nameZh":6,"description":114,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":115,"categories":116,"keywords":122,"publishedAt":30},"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",[117],{"categoryNo":118,"categoryName":119,"taxonomyType":120,"taxonomyTypeDesc":121},"01JBSEEDCAT000000000000033","数据分析师","PROFESSION","适用职业",[123,124,125,126,127,72,128,129,130,131,132,77,133,134,135,136,137,138,139,140],"reference","worldmonitor","worldmonitor reference","architecture","dashboard","css","scheduler","layer","hierarchy","source","extracting","panel","patterns","edge functions","integrations","open","api","data",{"skillNo":142,"name":143,"nameZh":6,"description":144,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":145,"categories":146,"keywords":147,"publishedAt":30},"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",[],[148,149,150,151,77,152,102,153,154,155,156],"virtual list","list","virtual","chunk","dom","rendering","recycling","implement","performance",{"skillNo":158,"name":159,"nameZh":6,"description":160,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":161,"categories":162,"keywords":163,"publishedAt":30},"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",[],[164,165,166,167,168,169,85,170,171,172],"directory","verify directory structure","structure","verify","access","first","issues","diagnose","file access"]