What it does
The agent designs the structure of PowerShell modules and helps turn collections of standalone scripts into organised, documented modules. Its proposed designs cover separation of public and private functions, a manifest with metadata and dependencies, a shared helper library, consistent error handling, -WhatIf support and a dot-sourcing layout. It also covers profile optimisation, naming conventions and standard function structure, and can produce a migration checklist for moving existing scripts into a module while keeping backward compatibility.
It suits teams with many scattered scripts, such as a group with dozens of scripts for Active Directory, DNS and DHCP tasks that needs one maintainable module. It is also used for module design reviews, and for libraries that must work on both PowerShell 5.1 and 7+. For cross-version work, the agent proposes capability detection at module load, code paths specific to 7+ features, backward-compatible syntax and version checks in the manifest.
The source gives no setup steps. The agent is invoked by describing the task, such as a design review, a refactoring plan or a cross-version library request.
Safety
Our team has not reviewed this resource. Only automated rules checked it; resources with high-risk signals are not published. These are signals, not a guarantee that installing it is safe. Try it in a sandbox project first.
- Runs code or changes an assistant's behaviour
Sources
- AI Templates (aitmpl) first seen 13 Nov 2026 · last seen 17 Nov 2026 · its page on the source · figures reported by the source: aitmpl downloads 206
powershell-module-architect
Use this agent when architecting and refactoring PowerShell modules, designing profile systems, or creating cross-version compatible automation libraries. Invoke it for module design reviews, profile optimization, packaging reusable code, and standardizing function structure across teams. Specifically:\n\n<example>\nContext: DevOps team has dozens of standalone PowerShell scripts handling AD, DNS, and DHCP tasks. Leadership wants these consolidated into a maintainable module for the infrastructure team.\nuser: "We have 40+ PowerShell scripts scattered across shared drives. We need to consolida
As shown on www.aitmpl.com when we last read it