[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M78G08W0M2YY1FYNACR7Z5PW":3,"skill-same:01M78G08W0M2YY1FYNACR7Z5PW":48},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":27,"commitSha":28,"skillDirectory":29,"forksCount":14,"repositoryHtmlUrl":30,"repositoryHomepageUrl":31,"ownerHtmlUrl":32,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":33,"install":34,"resources":47},"01M78G08W0M2YY1FYNACR7Z5PW","windows-shell-reliability",null,"Reliable command execution on Windows: paths, encoding, and common binary pitfalls.","princepatel04477-web\u002Ftrivoxa-group","princepatel04477-web","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F227740714?v=4","01M788ZAJ2KECD5KXVP55PZXKS","Prince Patel","01M788ZAJTCN8YSD737MRSKC5Q",0,"MIT","https:\u002F\u002Fgithub.com\u002Fprincepatel04477-web\u002Ftrivoxa-group\u002Fblob\u002Fmaster\u002F.github\u002Fskills\u002Fwindows-shell-reliability\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: windows-shell-reliability\ndescription: \"Reliable command execution on Windows: paths, encoding, and common binary pitfalls.\"\nrisk: safe\nsource: community\ndate_added: \"2026-03-19\"\n---\n\n# Windows Shell Reliability Patterns\n\n> Best practices for running commands on Windows via PowerShell and CMD.\n\n## When to Use\nUse this skill when developing or debugging scripts and automation that run on Windows systems, especially when involving file paths, character encoding, or standard CLI tools.\n\n---\n\n## 1. Encoding & Redirection\n\n### CRITICAL: Redirection Differences Across PowerShell Versions\nOlder Windows PowerShell releases can rewrite native-command output in ways that break\nlater processing. PowerShell 7.4+ preserves the byte stream when redirecting stdout,\nso only apply the UTF-8 conversion workaround when you are dealing with older shell\nbehavior or a log file that is already unreadable.\n\n| Problem | Symptom | Solution |\n|---------|---------|----------|\n| `dotnet > log.txt` | `view_file` fails in older Windows PowerShell | `Get-Content log.txt | Set-Content -Encoding utf8 log_utf8.txt` |\n| `npm run > log.txt` | Need a UTF-8 text log with errors included | `npm run ... 2>&1 | Out-File -Encoding UTF8 log.txt` |\n\n**Rule:** Prefer native redirection as-is on PowerShell 7.4+, and use explicit UTF-8\nconversion only when older Windows PowerShell redirection produces an unreadable log.\n\n---\n\n## 2. Handling Paths & Spaces\n\n### CRITICAL: Quoting\nWindows paths often contain spaces.\n\n| ❌ Wrong | ✅ Correct |\n|----------|-----------|\n| `dotnet build src\u002Fmy project\u002Ffile.fsproj` | `dotnet build \"src\u002Fmy project\u002Ffile.fsproj\"` |\n| `& C:\\Path With Spaces\\bin.exe` | `& \"C:\\Path With Spaces\\bin.exe\"` |\n\n**Rule:** Always quote absolute and relative paths that may contain spaces.\n\n### The Call Operator (&)\nIn PowerShell, if an executable path starts with a quote, you MUST use the `&` operator.\n\n**Pattern:**\n```powershell\n& \"C:\\Program Files\\dotnet\\dotnet.exe\" build ...\n```\n\n---\n\n## 3. Common Binary & Cmdlet Pitfalls\n\n| Action | ❌ CMD Style | ✅ PowerShell Choice |\n|--------|-------------|---------------------|\n| Delete | `del \u002Ff \u002Fq file` | `Remove-Item -Force file` |\n| Copy | `copy a b` | `Copy-Item a b` |\n| Move | `move a b` | `Move-Item a b` |\n| Make Dir | `mkdir folder` | `New-Item -ItemType Directory -Path folder` |\n\n**Tip:** Using CLI aliases like `ls`, `cat`, and `cp` in PowerShell is usually fine, but using full cmdlets in scripts is more robust.\n\n---\n\n## 4. Dotnet CLI Reliability\n\n### Build Speed & Consistency\n| Context | Command | Why |\n|---------|---------|-----|\n| Fast Iteration | `dotnet build --no-restore` | Skips redundant nuget restore. |\n| Clean Build | `dotnet build --no-incremental` | Ensures no stale artifacts. |\n| Background | `Start-Process dotnet -ArgumentList 'run' -RedirectStandardOutput output.txt -RedirectStandardError error.txt` | Launches the app without blocking the shell and keeps logs. |\n\n---\n\n## 5. Environment Variables\n\n| Shell | Syntax |\n|-------|--------|\n| PowerShell | `$env:VARIABLE_NAME` |\n| CMD | `%VARIABLE_NAME%` |\n\n---\n\n## 6. Long Paths\nWindows has a 260-character path limit by default.\n\n**Fix:** If you hit long path errors, use the extended path prefix:\n`\\\\?\\C:\\Very\\Long\\Path\\...`\n\n---\n\n## 7. Troubleshooting Shell Errors\n\n| Error | Likely Cause | Fix |\n|-------|-------------|-----|\n| `The term 'xxx' is not recognized` | Path not in $env:PATH | Use absolute path or fix PATH. |\n| `Access to the path is denied` | File in use or permissions | Stop process or run as Admin. |\n| `Encoding mismatch` | Older shell redirection rewrote the output | Re-export the file as UTF-8 or capture with `2>&1 | Out-File -Encoding UTF8`. |\n\n---\n\n## Limitations\n- Use this skill only when the task clearly matches the scope described above.\n- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.\n- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.\n","# Windows Shell Reliability Patterns\n\n> Best practices for running commands on Windows via PowerShell and CMD.\n\n## When to Use\nUse this skill when developing or debugging scripts and automation that run on Windows systems, especially when involving file paths, character encoding, or standard CLI tools.\n\n---\n\n## 1. Encoding & Redirection\n\n### CRITICAL: Redirection Differences Across PowerShell Versions\nOlder Windows PowerShell releases can rewrite native-command output in ways that break\nlater processing. PowerShell 7.4+ preserves the byte stream when redirecting stdout,\nso only apply the UTF-8 conversion workaround when you are dealing with older shell\nbehavior or a log file that is already unreadable.\n\n| Problem | Symptom | Solution |\n|---------|---------|----------|\n| `dotnet > log.txt` | `view_file` fails in older Windows PowerShell | `Get-Content log.txt | Set-Content -Encoding utf8 log_utf8.txt` |\n| `npm run > log.txt` | Need a UTF-8 text log with errors included | `npm run ... 2>&1 | Out-File -Encoding UTF8 log.txt` |\n\n**Rule:** Prefer native redirection as-is on PowerShell 7.4+, and use explicit UTF-8\nconversion only when older Windows PowerShell redirection produces an unreadable log.\n\n---\n\n## 2. Handling Paths & Spaces\n\n### CRITICAL: Quoting\nWindows paths often contain spaces.\n\n| ❌ Wrong | ✅ Correct |\n|----------|-----------|\n| `dotnet build src\u002Fmy project\u002Ffile.fsproj` | `dotnet build \"src\u002Fmy project\u002Ffile.fsproj\"` |\n| `& C:\\Path With Spaces\\bin.exe` | `& \"C:\\Path With Spaces\\bin.exe\"` |\n\n**Rule:** Always quote absolute and relative paths that may contain spaces.\n\n### The Call Operator (&)\nIn PowerShell, if an executable path starts with a quote, you MUST use the `&` operator.\n\n**Pattern:**\n```powershell\n& \"C:\\Program Files\\dotnet\\dotnet.exe\" build ...\n```\n\n---\n\n## 3. Common Binary & Cmdlet Pitfalls\n\n| Action | ❌ CMD Style | ✅ PowerShell Choice |\n|--------|-------------|---------------------|\n| Delete | `del \u002Ff \u002Fq file` | `Remove-Item -Force file` |\n| Copy | `copy a b` | `Copy-Item a b` |\n| Move | `move a b` | `Move-Item a b` |\n| Make Dir | `mkdir folder` | `New-Item -ItemType Directory -Path folder` |\n\n**Tip:** Using CLI aliases like `ls`, `cat`, and `cp` in PowerShell is usually fine, but using full cmdlets in scripts is more robust.\n\n---\n\n## 4. Dotnet CLI Reliability\n\n### Build Speed & Consistency\n| Context | Command | Why |\n|---------|---------|-----|\n| Fast Iteration | `dotnet build --no-restore` | Skips redundant nuget restore. |\n| Clean Build | `dotnet build --no-incremental` | Ensures no stale artifacts. |\n| Background | `Start-Process dotnet -ArgumentList 'run' -RedirectStandardOutput output.txt -RedirectStandardError error.txt` | Launches the app without blocking the shell and keeps logs. |\n\n---\n\n## 5. Environment Variables\n\n| Shell | Syntax |\n|-------|--------|\n| PowerShell | `$env:VARIABLE_NAME` |\n| CMD | `%VARIABLE_NAME%` |\n\n---\n\n## 6. Long Paths\nWindows has a 260-character path limit by default.\n\n**Fix:** If you hit long path errors, use the extended path prefix:\n`\\\\?\\C:\\Very\\Long\\Path\\...`\n\n---\n\n## 7. Troubleshooting Shell Errors\n\n| Error | Likely Cause | Fix |\n|-------|-------------|-----|\n| `The term 'xxx' is not recognized` | Path not in $env:PATH | Use absolute path or fix PATH. |\n| `Access to the path is denied` | File in use or permissions | Stop process or run as Admin. |\n| `Encoding mismatch` | Older shell redirection rewrote the output | Re-export the file as UTF-8 or capture with `2>&1 | Out-File -Encoding UTF8`. |\n\n---\n\n## Limitations\n- Use this skill only when the task clearly matches the scope described above.\n- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.\n- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.\n",{"name":5,"risk":24,"source":25,"date_added":26,"description":7},"safe","community","2026-03-19","master","877653a671c51fae6476bd9f0d34ee6c408d68b9",".github\u002Fskills\u002Fwindows-shell-reliability","https:\u002F\u002Fgithub.com\u002Fprincepatel04477-web\u002Ftrivoxa-group","https:\u002F\u002Ftrivoxa-group.vercel.app","https:\u002F\u002Fgithub.com\u002Fprincepatel04477-web","2026-08-01 17:29:31",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add princepatel04477-web\u002Ftrivoxa-group --skill windows-shell-reliability",{"tool":40,"command":41},"bunx","bunx skills add princepatel04477-web\u002Ftrivoxa-group --skill windows-shell-reliability",{"tool":43,"command":44},"pnpm","pnpm dlx skills add princepatel04477-web\u002Ftrivoxa-group --skill windows-shell-reliability","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fprincepatel04477-web\u002Ftrivoxa-group\u002Fblob\u002Fmaster\u002F.github\u002Fskills\u002Fwindows-shell-reliability\u002FSKILL.md",true,[],[49,56,63,70,77,84],{"skillNo":50,"name":51,"nameZh":6,"description":52,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":53,"categories":54,"keywords":55,"publishedAt":19},"01M78G4Z5RFJ72G536XYPC77PG","zustand-store-ts","Create Zustand stores following established patterns with proper TypeScript types and middleware.","https:\u002F\u002Fgithub.com\u002Fprincepatel04477-web\u002Ftrivoxa-group\u002Fblob\u002Fmaster\u002F.github\u002Fskills\u002Fzustand-store-ts\u002FSKILL.md",[],[],{"skillNo":57,"name":58,"nameZh":6,"description":59,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":60,"categories":61,"keywords":62,"publishedAt":19},"01M78G4WQMHRST36KDP7AV3NR3","zoom-automation","Automate Zoom meeting creation, management, recordings, webinars, and participant tracking via Rube MCP (Composio). Always search tools first for current schemas.","https:\u002F\u002Fgithub.com\u002Fprincepatel04477-web\u002Ftrivoxa-group\u002Fblob\u002Fmaster\u002F.github\u002Fskills\u002Fzoom-automation\u002FSKILL.md",[],[],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":19},"01M78G4T37F4SPS7M4KT0A8JJB","zoho-crm-automation","Automate Zoho CRM tasks via Rube MCP (Composio): create\u002Fupdate records, search contacts, manage leads, and convert leads. Always search tools first for current schemas.","https:\u002F\u002Fgithub.com\u002Fprincepatel04477-web\u002Ftrivoxa-group\u002Fblob\u002Fmaster\u002F.github\u002Fskills\u002Fzoho-crm-automation\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":19},"01M78G4QAJMF71KD1G38MNDQYK","zod-validation-expert","Expert in Zod — TypeScript-first schema validation. Covers parsing, custom errors, refinements, type inference, and integration with React Hook Form, Next.js, and tRPC.","https:\u002F\u002Fgithub.com\u002Fprincepatel04477-web\u002Ftrivoxa-group\u002Fblob\u002Fmaster\u002F.github\u002Fskills\u002Fzod-validation-expert\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":19},"01M78G4MS3WE96MH5P561KFY95","zipai-optimizer","Adaptive token optimizer: intelligent filtering, surgical output, ambiguity-first, context-window-aware, VCS-aware, MCP-aware.","https:\u002F\u002Fgithub.com\u002Fprincepatel04477-web\u002Ftrivoxa-group\u002Fblob\u002Fmaster\u002F.github\u002Fskills\u002Fzipai-optimizer\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":19},"01M78G4GZ0T47C6929V9CVH1AK","zeroize-audit","Detects missing zeroization of sensitive data in source code and identifies zeroization removed by compiler optimizations, with assembly-level analysis, and control-flow verification. Use for auditing C\u002FC++\u002FRust code handling secrets, keys, passwords, or other sensitive data.","https:\u002F\u002Fgithub.com\u002Fprincepatel04477-web\u002Ftrivoxa-group\u002Fblob\u002Fmaster\u002F.github\u002Fskills\u002Fzeroize-audit\u002FSKILL.md",[],[]]