AI 'chop shop': reshaping Pester assertions from an existing codebase into your own workflow

dfinke · x · 2026-12-04

Microsoft MVP Doug Finke demos an "AI chop shop / AI 3D printer" workflow: point AI at an existing codebase, have it understand a feature's implementation and tests, extract the part you need, and reshape it for your own setup.

His example uses PowerShell's Pester framework: assertions like Should -Be normally live inside Describe/It test blocks, but he wanted to run them interactively at the prompt (e.g. 1 + 2 | Should -Be 3) while letting values keep flowing through the pipeline. With AI's help he reshaped Pester's assertion vocabulary into prompt-usable components that don't kill the pipeline. Full blog post and code included.

Related event: MVP demos "AI chop shop": extract and adapt code from existing repos(2 posts)→

Original post →

More from coding & agent

coding & agent channel →