[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6QP8HFC9PYHGNGVVYRHV562":3,"skill-same:01M6QP8HFC9PYHGNGVVYRHV562":60},{"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":34,"linkOnly":35,"markdownContent":36,"markdownBody":37,"frontMatter":38,"refName":40,"commitSha":41,"skillDirectory":42,"forksCount":14,"repositoryHtmlUrl":43,"repositoryHomepageUrl":6,"ownerHtmlUrl":44,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":45,"install":46,"resources":59},"01M6QP8HFC9PYHGNGVVYRHV562","powershell-windows",null,"PowerShell Windows patterns. Critical pitfalls, operator syntax, error handling.","LOrdEnRYQuE\u002FLRDEnE-Ai-Specialist","LOrdEnRYQuE","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F93767164?v=4","01M6QNZGVYDMQTN925B3BDB98Z","LOrdEnRYQuE | Advanced Digital Solutions ","01M6QNZH078JB4S8QJNNQNJPS5",0,"MIT","https:\u002F\u002Fgithub.com\u002FLOrdEnRYQuE\u002FLRDEnE-Ai-Specialist\u002Fblob\u002Fmain\u002F.agent\u002Fskills\u002Fpowershell-windows\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33],"windows","powershell","powershell windows","error handling","operator","Bash","grep","syntax","read","write","edit","patterns","critical","error","pitfalls","2026-11-10 10:12:30",false,"---\nname: powershell-windows\ndescription: PowerShell Windows patterns. Critical pitfalls, operator syntax, error handling.\nallowed-tools: Read, Write, Edit, Glob, Grep, Bash\n---\n\n# PowerShell Windows Patterns\n\n> Critical patterns and pitfalls for Windows PowerShell.\n\n---\n\n## 1. Operator Syntax Rules\n\n### CRITICAL: Parentheses Required\n\n| ❌ Wrong | ✅ Correct |\n|----------|-----------|\n| `if (Test-Path \"a\" -or Test-Path \"b\")` | `if ((Test-Path \"a\") -or (Test-Path \"b\"))` |\n| `if (Get-Item $x -and $y -eq 5)` | `if ((Get-Item $x) -and ($y -eq 5))` |\n\n**Rule:** Each cmdlet call MUST be in parentheses when using logical operators.\n\n---\n\n## 2. Unicode\u002FEmoji Restriction\n\n### CRITICAL: No Unicode in Scripts\n\n| Purpose | ❌ Don't Use | ✅ Use |\n|---------|-------------|--------|\n| Success | ✅ ✓ | [OK] [+] |\n| Error | ❌ ✗ ? | [!] [X] |\n| Warning | ⚠️ ? | [*] [WARN] |\n| Info | ℹ️ ? | [i] [INFO] |\n| Progress | ⏳ | [...] |\n\n**Rule:** Use ASCII characters only in PowerShell scripts.\n\n---\n\n## 3. Null Check Patterns\n\n### Always Check Before Access\n\n| ❌ Wrong | ✅ Correct |\n|----------|-----------|\n| `$array.Count -gt 0` | `$array -and $array.Count -gt 0` |\n| `$text.Length` | `if ($text) { $text.Length }` |\n\n---\n\n## 4. String Interpolation\n\n### Complex Expressions\n\n| ❌ Wrong | ✅ Correct |\n|----------|-----------|\n| `\"Value: $($obj.prop.sub)\"` | Store in variable first |\n\n**Pattern:**\n```\n$value = $obj.prop.sub\nWrite-Output \"Value: $value\"\n```\n\n---\n\n## 5. Error Handling\n\n### ErrorActionPreference\n\n| Value | Use |\n|-------|-----|\n| Stop | Development (fail fast) |\n| Continue | Production scripts |\n| SilentlyContinue | When errors expected |\n\n### Try\u002FCatch Pattern\n\n- Don't return inside try block\n- Use finally for cleanup\n- Return after try\u002Fcatch\n\n---\n\n## 6. File Paths\n\n### Windows Path Rules\n\n| Pattern | Use |\n|---------|-----|\n| Literal path | `C:\\Users\\User\\file.txt` |\n| Variable path | `Join-Path $env:USERPROFILE \"file.txt\"` |\n| Relative | `Join-Path $ScriptDir \"data\"` |\n\n**Rule:** Use Join-Path for cross-platform safety.\n\n---\n\n## 7. Array Operations\n\n### Correct Patterns\n\n| Operation | Syntax |\n|-----------|--------|\n| Empty array | `$array = @()` |\n| Add item | `$array += $item` |\n| ArrayList add | `$list.Add($item) | Out-Null` |\n\n---\n\n## 8. JSON Operations\n\n### CRITICAL: Depth Parameter\n\n| ❌ Wrong | ✅ Correct |\n|----------|-----------|\n| `ConvertTo-Json` | `ConvertTo-Json -Depth 10` |\n\n**Rule:** Always specify `-Depth` for nested objects.\n\n### File Operations\n\n| Operation | Pattern |\n|-----------|---------|\n| Read | `Get-Content \"file.json\" -Raw | ConvertFrom-Json` |\n| Write | `$data | ConvertTo-Json -Depth 10 | Out-File \"file.json\" -Encoding UTF8` |\n\n---\n\n## 9. Common Errors\n\n| Error Message | Cause | Fix |\n|---------------|-------|-----|\n| \"parameter 'or'\" | Missing parentheses | Wrap cmdlets in () |\n| \"Unexpected token\" | Unicode character | Use ASCII only |\n| \"Cannot find property\" | Null object | Check null first |\n| \"Cannot convert\" | Type mismatch | Use .ToString() |\n\n---\n\n## 10. Script Template\n\n```powershell\n# Strict mode\nSet-StrictMode -Version Latest\n$ErrorActionPreference = \"Continue\"\n\n# Paths\n$ScriptDir = Split-Path -Parent $MyInvocation.MyCommand.Path\n\n# Main\ntry {\n    # Logic here\n    Write-Output \"[OK] Done\"\n    exit 0\n}\ncatch {\n    Write-Warning \"Error: $_\"\n    exit 1\n}\n```\n\n---\n\n> **Remember:** PowerShell has unique syntax rules. Parentheses, ASCII-only, and null checks are non-negotiable.\n","# PowerShell Windows Patterns\n\n> Critical patterns and pitfalls for Windows PowerShell.\n\n---\n\n## 1. Operator Syntax Rules\n\n### CRITICAL: Parentheses Required\n\n| ❌ Wrong | ✅ Correct |\n|----------|-----------|\n| `if (Test-Path \"a\" -or Test-Path \"b\")` | `if ((Test-Path \"a\") -or (Test-Path \"b\"))` |\n| `if (Get-Item $x -and $y -eq 5)` | `if ((Get-Item $x) -and ($y -eq 5))` |\n\n**Rule:** Each cmdlet call MUST be in parentheses when using logical operators.\n\n---\n\n## 2. Unicode\u002FEmoji Restriction\n\n### CRITICAL: No Unicode in Scripts\n\n| Purpose | ❌ Don't Use | ✅ Use |\n|---------|-------------|--------|\n| Success | ✅ ✓ | [OK] [+] |\n| Error | ❌ ✗ ? | [!] [X] |\n| Warning | ⚠️ ? | [*] [WARN] |\n| Info | ℹ️ ? | [i] [INFO] |\n| Progress | ⏳ | [...] |\n\n**Rule:** Use ASCII characters only in PowerShell scripts.\n\n---\n\n## 3. Null Check Patterns\n\n### Always Check Before Access\n\n| ❌ Wrong | ✅ Correct |\n|----------|-----------|\n| `$array.Count -gt 0` | `$array -and $array.Count -gt 0` |\n| `$text.Length` | `if ($text) { $text.Length }` |\n\n---\n\n## 4. String Interpolation\n\n### Complex Expressions\n\n| ❌ Wrong | ✅ Correct |\n|----------|-----------|\n| `\"Value: $($obj.prop.sub)\"` | Store in variable first |\n\n**Pattern:**\n```\n$value = $obj.prop.sub\nWrite-Output \"Value: $value\"\n```\n\n---\n\n## 5. Error Handling\n\n### ErrorActionPreference\n\n| Value | Use |\n|-------|-----|\n| Stop | Development (fail fast) |\n| Continue | Production scripts |\n| SilentlyContinue | When errors expected |\n\n### Try\u002FCatch Pattern\n\n- Don't return inside try block\n- Use finally for cleanup\n- Return after try\u002Fcatch\n\n---\n\n## 6. File Paths\n\n### Windows Path Rules\n\n| Pattern | Use |\n|---------|-----|\n| Literal path | `C:\\Users\\User\\file.txt` |\n| Variable path | `Join-Path $env:USERPROFILE \"file.txt\"` |\n| Relative | `Join-Path $ScriptDir \"data\"` |\n\n**Rule:** Use Join-Path for cross-platform safety.\n\n---\n\n## 7. Array Operations\n\n### Correct Patterns\n\n| Operation | Syntax |\n|-----------|--------|\n| Empty array | `$array = @()` |\n| Add item | `$array += $item` |\n| ArrayList add | `$list.Add($item) | Out-Null` |\n\n---\n\n## 8. JSON Operations\n\n### CRITICAL: Depth Parameter\n\n| ❌ Wrong | ✅ Correct |\n|----------|-----------|\n| `ConvertTo-Json` | `ConvertTo-Json -Depth 10` |\n\n**Rule:** Always specify `-Depth` for nested objects.\n\n### File Operations\n\n| Operation | Pattern |\n|-----------|---------|\n| Read | `Get-Content \"file.json\" -Raw | ConvertFrom-Json` |\n| Write | `$data | ConvertTo-Json -Depth 10 | Out-File \"file.json\" -Encoding UTF8` |\n\n---\n\n## 9. Common Errors\n\n| Error Message | Cause | Fix |\n|---------------|-------|-----|\n| \"parameter 'or'\" | Missing parentheses | Wrap cmdlets in () |\n| \"Unexpected token\" | Unicode character | Use ASCII only |\n| \"Cannot find property\" | Null object | Check null first |\n| \"Cannot convert\" | Type mismatch | Use .ToString() |\n\n---\n\n## 10. Script Template\n\n```powershell\n# Strict mode\nSet-StrictMode -Version Latest\n$ErrorActionPreference = \"Continue\"\n\n# Paths\n$ScriptDir = Split-Path -Parent $MyInvocation.MyCommand.Path\n\n# Main\ntry {\n    # Logic here\n    Write-Output \"[OK] Done\"\n    exit 0\n}\ncatch {\n    Write-Warning \"Error: $_\"\n    exit 1\n}\n```\n\n---\n\n> **Remember:** PowerShell has unique syntax rules. Parentheses, ASCII-only, and null checks are non-negotiable.\n",{"name":5,"description":7,"allowed-tools":39},"Read, Write, Edit, Glob, Grep, Bash","main","b04f8c98dcf3dfacf4e2aff1eae92616ed12d83d",".agent\u002Fskills\u002Fpowershell-windows","https:\u002F\u002Fgithub.com\u002FLOrdEnRYQuE\u002FLRDEnE-Ai-Specialist","https:\u002F\u002Fgithub.com\u002FLOrdEnRYQuE","2026-04-10 19:41:10",{"source":8,"skillName":5,"commands":47,"prompt":57,"zipAvailable":58},[48,51,54],{"tool":49,"command":50},"npx","npx skills add LOrdEnRYQuE\u002FLRDEnE-Ai-Specialist --skill powershell-windows",{"tool":52,"command":53},"bunx","bunx skills add LOrdEnRYQuE\u002FLRDEnE-Ai-Specialist --skill powershell-windows",{"tool":55,"command":56},"pnpm","pnpm dlx skills add LOrdEnRYQuE\u002FLRDEnE-Ai-Specialist --skill powershell-windows","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FLOrdEnRYQuE\u002FLRDEnE-Ai-Specialist\u002Fblob\u002Fmain\u002F.agent\u002Fskills\u002Fpowershell-windows\u002FSKILL.md",true,[],[61,88,123,151,157,166],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":34},"01M6QPEC0HA7GF9HY9S3YDF256","WebApp Architect","Plan, build, refactor, debug, and prepare web applications end-to-end. Activate for greenfield builds, feature additions, architecture reviews, and deployment prep.","https:\u002F\u002Fgithub.com\u002FLOrdEnRYQuE\u002FLRDEnE-Ai-Specialist\u002Fblob\u002Fmain\u002Fadapters\u002Fwindsurf\u002F.agents\u002Fskills\u002Fwebapp-architect\u002FSKILL.md",[],[68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87],"webapp architect","webapp","architect","web","architecture","prepare","debug","deployment","refactor","applications","plan","repo","build","activate","scan","feature","end","reviews","prep","for",{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":104,"publishedAt":34},"01M6QPE68RNE5PWPC2CPK7ZHCZ","SEO Growth Auditor","Perform technical and on-page SEO audits, generate schema markup, and produce prioritized action reports. Activate for site launches, ranking improvements, and metadata fixes.","https:\u002F\u002Fgithub.com\u002FLOrdEnRYQuE\u002FLRDEnE-Ai-Specialist\u002Fblob\u002Fmain\u002Fadapters\u002Fwindsurf\u002F.agents\u002Fskills\u002Fseo-auditor\u002FSKILL.md",[94,99],{"categoryNo":95,"categoryName":96,"taxonomyType":97,"taxonomyTypeDesc":98},"01JBSEEDCAT000000000000019","营销推广","SCENARIO","使用场景",{"categoryNo":100,"categoryName":101,"taxonomyType":102,"taxonomyTypeDesc":103},"01JBSEEDCAT000000000000035","市场营销","PROFESSION","适用职业",[105,106,107,108,87,109,110,111,112,113,114,115,116,117,118,119,120,121,122,81],"seo","seo growth auditor","auditor","growth","fixes","action","reports","ranking","crawl","generate","produce","metadata","audit","schema markup","site","page","technical","schema",{"skillNo":124,"name":125,"nameZh":6,"description":126,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":127,"categories":128,"keywords":132,"publishedAt":34},"01M6QPDSN4KMHFS4CTEMN3520Q","GDPR Compliance Copilot","Identify GDPR compliance gaps, map data flows, generate DSAR templates, and prepare privacy policy inputs. Always requires human legal review.","https:\u002F\u002Fgithub.com\u002FLOrdEnRYQuE\u002FLRDEnE-Ai-Specialist\u002Fblob\u002Fmain\u002Fadapters\u002Fwindsurf\u002F.agents\u002Fskills\u002Fgdpr-copilot\u002FSKILL.md",[129],{"categoryNo":130,"categoryName":131,"taxonomyType":102,"taxonomyTypeDesc":103},"01JBSEEDCAT000000000000037","律师与法务",[125,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,114],"gdpr compliance","gdpr","compliance","copilot","legal review","report","policy","privacy","flow","templates","dsar","map","human","gap","review","flows","privacy policy","gaps",{"skillNo":152,"name":153,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":154,"categories":155,"keywords":156,"publishedAt":34},"01M6QPDR5FMXB4X0960JKCMK80","webapp-architect","https:\u002F\u002Fgithub.com\u002FLOrdEnRYQuE\u002FLRDEnE-Ai-Specialist\u002Fblob\u002Fmain\u002Fadapters\u002Fcursor\u002Fskills\u002Fwebapp-architect\u002FSKILL.md",[],[68,69,70],{"skillNo":158,"name":159,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":160,"categories":161,"keywords":164,"publishedAt":34},"01M6QPDM6FZDXXQS2KRJT1YD8P","seo-auditor","https:\u002F\u002Fgithub.com\u002FLOrdEnRYQuE\u002FLRDEnE-Ai-Specialist\u002Fblob\u002Fmain\u002Fadapters\u002Fcursor\u002Fskills\u002Fseo-auditor\u002FSKILL.md",[162,163],{"categoryNo":95,"categoryName":96,"taxonomyType":97,"taxonomyTypeDesc":98},{"categoryNo":100,"categoryName":101,"taxonomyType":102,"taxonomyTypeDesc":103},[105,165,107],"seo auditor",{"skillNo":167,"name":168,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":169,"categories":170,"keywords":171,"publishedAt":34},"01M6QPDGEH5RE1VEY57YZ1GA1Q","gdpr-copilot","https:\u002F\u002Fgithub.com\u002FLOrdEnRYQuE\u002FLRDEnE-Ai-Specialist\u002Fblob\u002Fmain\u002Fadapters\u002Fcursor\u002Fskills\u002Fgdpr-copilot\u002FSKILL.md",[],[136,134,172],"gdpr copilot"]