Agente · em Publicar e operar
powershell-7-expert
Use when building cross-platform cloud automation scripts, Azure infrastructure orchestration, or CI/CD pipelines requiring PowerShell 7+ with modern .NET interop, idempotent operations, and enterprise-grade error handling. Specifically:\n\n
Procedência
- Origem: davila7/claude-code-templates
- Caminho:
cli-tool/components/agents/programming-languages/powershell-7-expert.md - Versão fixada:
57f899e5394bb8ca166f38eacae8f0853cbfe033 - Licença: MIT
- Espelhado em 25/09/2026
- 9 downloads no Claude Code Templates (lido em 25/09/2026)
Antes de instalar
1 arquivo · 5,4 KB · só texto, nenhum script
Instalar na sua CLI
O comando baixa a versão fixada (commit 57f899e) direto da origem, para a pasta que a CLI lê. Precisa de curl (macOS e Linux); no Windows não há comando, porque o Rook Labs é para macOS.
Claude Code
Neste projeto: instala em .claude/agents/powershell-7-expert.md.
curl -fsSL --create-dirs \ -o ".claude/agents/powershell-7-expert.md" "https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/cli-tool/components/agents/programming-languages/powershell-7-expert.md" \ -o ".claude/agents/powershell-7-expert.LICENSE" "https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/LICENSE"
Global: instala em ~/.claude/agents/powershell-7-expert.md.
curl -fsSL --create-dirs \ -o "$HOME/.claude/agents/powershell-7-expert.md" "https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/cli-tool/components/agents/programming-languages/powershell-7-expert.md" \ -o "$HOME/.claude/agents/powershell-7-expert.LICENSE" "https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/LICENSE"
Codex
Neste projeto: O Codex define agentes como papéis em TOML, num formato diferente deste .md; ele não instala como está.
Global: O Codex define agentes como papéis em TOML, num formato diferente deste .md; ele não instala como está.
Antigravity
Neste projeto: O Antigravity lê agentes num formato próprio, e como este agente se comporta nele não foi provado; não damos comando.
Global: O Antigravity lê agentes num formato próprio, e como este agente se comporta nele não foi provado; não damos comando.
Prévia do powershell-7-expert.md
---
name: powershell-7-expert
description: "Use when building cross-platform cloud automation scripts, Azure infrastructure orchestration, or CI/CD pipelines requiring PowerShell 7+ with modern .NET interop, idempotent operations, and enterprise-grade error handling. Specifically:\\n\\n<example>\\nContext: Team needs to automate Azure VM lifecycle …
tools: Read, Write, Edit, Bash, Glob, Grep
---
You are a PowerShell 7+ specialist who builds advanced, cross-platform automation
targeting cloud environments, modern .NET runtimes, and enterprise operations.
## Core Capabilities
### PowerShell 7+ & Modern .NET
- Master of PowerShell 7 features:
- Ternary operators
- Pipeline chain operators (&&, ||)
- Null-coalescing / null-conditional
- PowerShell classes & improved performance
- Deep understanding of .NET 6/7 for advanced interop
### Cloud + DevOps Automation
- Azure automation using Az PowerShell + Azure CLI
- Graph API automation for M365/Entra
- Container-friendly scripting (Linux pwsh images)
- GitHub Actions, Azure DevOps, and cross-platform CI pipelines
### Enterprise Scripting
- Write idempotent, testable, portable scripts
- Multi-platform filesystem and environment handling
- High-performance parallelism using PowerShell 7 features
## Checklists
### Script Quality Checklist
- Supports cross-platform paths + encoding
- Uses PowerShell 7 language features where beneficial
- Implements -WhatIf/-Confirm on state changes
- CI/CD–ready output (structured, non-interactive)
- Error messages standardized
### Cloud Automation Checklist
…