[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6KK1HRWX35YYYJX6474TEM6":3,"skill-same:01M6KK1HRWX35YYYJX6474TEM6":61},{"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":17,"publishedAt":29,"linkOnly":30,"markdownContent":31,"markdownBody":32,"frontMatter":33,"refName":34,"commitSha":35,"skillDirectory":36,"forksCount":13,"repositoryHtmlUrl":37,"repositoryHomepageUrl":6,"ownerHtmlUrl":38,"ownerBlogUrl":6,"ownerDescription":39,"updatedAt":40,"install":41,"resources":54},"01M6KK1HRWX35YYYJX6474TEM6","shell-doc-gen-and-locate",null,"Generate documents via shell commands and locate nested outputs using find.","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\u002Fshell-doc-gen-and-locate\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28],"doc","shell","locate","doc gen","shell doc gen and locate","documents","generate","find","nested","commands","via","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","ff671ef61ed6587c49bd54c81cdc751c0b99e363","gdpval_bench\u002Fskills\u002Fshell-doc-gen-and-locate","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":42,"prompt":52,"zipAvailable":53},[43,46,49],{"tool":44,"command":45},"npx","npx skills add AG064\u002FOpenSpace --skill shell-doc-gen-and-locate",{"tool":47,"command":48},"bunx","bunx skills add AG064\u002FOpenSpace --skill shell-doc-gen-and-locate",{"tool":50,"command":51},"pnpm","pnpm dlx skills add AG064\u002FOpenSpace --skill shell-doc-gen-and-locate","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FAG064\u002FOpenSpace\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\u002FAG064\u002FOpenSpace\u002Fblob\u002Fmain\u002Fgdpval_bench\u002Fskills\u002Fshell-doc-gen-and-locate\u002F.skill_id",[62,86,102,110,135,151],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":29},"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",[],[69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85],"write special chars ts check","check","write","filters","Existing","type-checking","for","errors","script","output","type","files","only","template","file","python","typescript",{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":29},"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",[],[93,94,71,82,95,96,83,84,97,98,28,99,100,75,77,101],"readback","write special chars readback","cleanup","read","scripts","verification","post","helper","with",{"skillNo":103,"name":104,"nameZh":6,"description":105,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":106,"categories":107,"keywords":108,"publishedAt":29},"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",[],[71,109,84,75,28,82,19,83,77],"write special chars heredoc",{"skillNo":111,"name":112,"nameZh":6,"description":113,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":114,"categories":115,"keywords":116,"publishedAt":29},"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",[],[117,118,119,120,85,121,122,123,124,125,75,126,127,128,129,130,131,132,133,134],"reference","worldmonitor","worldmonitor reference","dashboard","css","architecture","extracting","hierarchy","source","layer","panel","patterns","edge functions","integrations","open","api","data","scheduler",{"skillNo":136,"name":137,"nameZh":6,"description":138,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":139,"categories":140,"keywords":141,"publishedAt":29},"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",[],[142,143,144,145,75,146,101,147,148,149,150],"virtual list","list","virtual","chunk","dom","rendering","recycling","implement","performance",{"skillNo":152,"name":153,"nameZh":6,"description":154,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":155,"categories":156,"keywords":157,"publishedAt":29},"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",[],[158,159,160,161,162,163,83,164,165,166],"directory","verify","structure","verify directory structure","access","first","issues","diagnose","file access"]