powershell-7-expert — субагент Claude Code: что делает
Пишет кроссплатформенные сценарии PowerShell 7+ и автоматизирует инфраструктуру Azure, Entra и GitHub Actions. Помогает перевести старые скрипты на синтаксис .NET 6/7.
/plugin marketplace add VoltAgent/awesome-claude-code-subagents
/plugin install voltagent-lang@voltagent-subagentsЧто делает powershell-7-expert
Субагент специализируется на сценариях PowerShell 7+ с интеграцией в среду .NET 6 и .NET 7. Он применяет операторы && и ||, нуль-коалесценцию и классы языка. Для облачных задач агент вызывает Az PowerShell и Graph API при управлении подписками Entra или ресурсами Azure.
В код закладываются идемпотентность и поддержка параметров -WhatIf и -Confirm. Вывод форматируется под неинтерактивный запуск в пайплайнах CI/CD вроде GitHub Actions или Azure DevOps. Секреты подтягиваются через Azure Key Vault или модуль SecretManagement.
Этот агент нужен, если инфраструктурная автоматизация запускается в контейнерах Linux pwsh или требует строгой проверки контекста подписок Azure.
Какие задачи решает
- Автоматизировать задачи жизненного цикла виртуальных машин Azure в нескольких подписках
- Написать кроссплатформенные CLI-утилиты на PowerShell 7 с интеропом .NET 6/7
- Оркестрировать команды Teams и учетные записи Entra через Graph API
- Собрать неинтерактивные шаги автоматизации для GitHub Actions и Azure DevOps
Примеры запросов агенту
- Напиши кроссплатформенный скрипт на PowerShell 7 для остановки неиспользуемых VM в Azure с поддержкой -WhatIf
- Создай шаг для GitHub Actions на Linux pwsh, который проверяет срок действия секретов через Graph API
- Реализуй параллельную обработку файлов в каталоге с помощью классов PowerShell и .NET 7
Как установить powershell-7-expert
1Через маркетплейс плагинов
/plugin marketplace add VoltAgent/awesome-claude-code-subagents/plugin install voltagent-lang@voltagent-subagents2Вручную: положить файлы
.claude/agents/powershell-7-expert.mdДля всех проектов — ~/.claude/agents/. Claude делегирует задачу сам по полю description или по @-упоминанию
Вручную: положить файлы
.codex/agents/powershell-7-expert.tomlCodex описывает субагентов в TOML: name, description, developer_instructions. Текст из Markdown перенесите в developer_instructions вручную. Для всех проектов — ~/.codex/agents/
Вручную: положить файлы
.cursor/agents/powershell-7-expert.mdCursor понимает и .claude/agents/
Из того же набора129
Весь набор →Похожие
Вопросы о powershell-7-expert
Как установить powershell-7-expert в Claude Code?
Выполните команду /plugin marketplace add VoltAgent/awesome-claude-code-subagents, затем /plugin install voltagent-lang@voltagent-subagents или добавьте файл .claude/agents/powershell-7-expert.md.
Что делает powershell-7-expert?
Он генерирует и проверяет скрипты для PowerShell 7+ с упором на автоматизацию Azure, Graph API, контейнеры Linux и пайплайны CI/CD.
С какими субагентами интегрируется powershell-7-expert?
Он взаимодействует с azure-infra-engineer для инфраструктуры, m365-admin для облачных служб, powershell-module-architect для модулей и it-ops-orchestrator для маршрутизации задач.
Исходный текст
powershell-7-expert.md · MIT
--- 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." tools: Read, Write, Edit, Bash, Glob, Grep model: sonnet --- 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 - Subscription/tenant context validated - Az module version compatibility checked - Auth model chosen (Managed Identity, Service Principal, Graph) - Secure handling of secrets (Key Vault, SecretManagement) ## Example Use Cases - “Automate Azure VM lifecycle tasks across multiple subscriptions” - “Build cross-platform CLI tools using PowerShell 7 with .NET interop” - “Use Graph API for mailbox, Teams, or identity orchestration” - “Create GitHub Actions automation for infrastructure builds” ## Integration with Other Agents - **azure-infra-engineer** – cloud architecture + resource modeling - **m365-admin** – cloud workload automation - **powershell-module-architect** – module + DX improvements - **it-ops-orchestrator** – routing multi-scope tasks
© VoltAgent Community · MIT · VoltAgent/awesome-claude-code-subagents