PowerShell wrapper for AI coding assistants. Enables batch processing, persistent config, and Pester v4→v5 migration automation. Connects to Claude, GitHub Copilot, and OpenAI Codex for streamlined code generation and testing.
git clone https://github.com/potatoqualitee/aitools.gitPowerShell wrapper for AI coding assistants. Enables batch processing, persistent config, and Pester v4→v5 migration automation. Connects to Claude, GitHub Copilot, and OpenAI Codex for streamlined code generation and testing.
No install command available. Check the GitHub repository for manual installation instructions.
git clone https://github.com/potatoqualitee/aitoolsCopy the install command above and run it in your terminal.
Launch Claude Code, Cursor, or your preferred AI coding agent.
Use the prompt template or examples below to test the skill.
Adapt the skill to your specific use case and workflow.
Create a PowerShell script using the AI coding assistant to automate the migration of Pester tests from version 4 to version 5 for [COMPANY]. The script should include batch processing capabilities and persistent configuration settings. Ensure the script is well-documented and includes error handling.
```powershell
# Pester v4 to v5 Migration Script
# Configuration
$config = @{
SourceDirectory = "C:\\Tests\\PesterV4"
TargetDirectory = "C:\\Tests\\PesterV5"
LogFile = "C:\\Logs\\MigrationLog.txt"
Verbose = $true
}
# Migration Function
function Migrate-PesterTests {
param (
[string]$SourceDirectory,
[string]$TargetDirectory,
[string]$LogFile,
[bool]$Verbose
)
# Initialize Log
Start-Transcript -Path $LogFile -Append
# Process Each Test File
Get-ChildItem -Path $SourceDirectory -Filter *.Tests.ps1 | ForEach-Object {
$testContent = Get-Content -Path $_.FullName
$updatedContent = $testContent -replace 'Describe', 'Context' -replace 'It', 'It' -replace 'Context', 'Describe'
$targetPath = $_.FullName -replace [regex]::Escape($SourceDirectory), $TargetDirectory
$targetPath | New-Item -ItemType Directory -Force
$targetPath += "\" + $_.Name
$updatedContent | Out-File -FilePath $targetPath
if ($Verbose) {
Write-Host "Migrated: $($_.Name)" -ForegroundColor Green
}
}
# Finalize Log
Stop-Transcript
}
# Execute Migration
Migrate-PesterTests @config
```Your one-stop shop for church and ministry supplies.
Automate your browser workflows effortlessly
IronCalc is a spreadsheet engine and ecosystem
Customer feedback management made simple
Enterprise workflow automation and service management platform
Automate your spreadsheet tasks with AI power