sampler-module-authoring

Scaffold PowerShell module projects with Sampler and InvokeBuild pipelines.

Updated Jun 6, 2026
One-click install
npx skills add https://github.com/janegilring/powershell-ai-skills-and-mcp --skill sampler-module-authoring
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sampler-module-authoring
Source: https://github.com/janegilring/powershell-ai-skills-and-mcp/tree/main/demos/skill-demos/sampler-module/sampler-module-authoring
Command: npx skills add https://github.com/janegilring/powershell-ai-skills-and-mcp --skill sampler-module-authoring

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Scaffolding PowerShell modules with Sampler ensures a consistent project layout, an integrated InvokeBuild pipeline, tests, and CI templates, reducing setup time.

Core Features & Use Cases

  • Verifies Sampler is installed and prompts to install if missing.
  • Scaffolds a ready-to-use module project with templates like SimpleModule, CompleteSample, dsccommunity, GCPackage, CustomModule, or SimpleModule_NoBuild.
  • Includes an InvokeBuild pipeline, gallery publishing flow, and sample project structure for rapid start.

Quick Start

Use this skill to scaffold a new PowerShell module with Sampler by answering prompts to select the ModuleType, ModuleName, and other inputs, generating a ready-to-use project scaffold.

Frequently Asked Questions about sampler-module-authoring

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scaffold a PowerShell module project with Sampler?

To scaffold a PowerShell module project with Sampler, run the skill and answer prompts for ModuleType, ModuleName, and other inputs to generate a ready-to-use project structure with an integrated InvokeBuild pipeline.

What templates are available for PowerShell module scaffolding with Sampler?

PowerShell module scaffolding with Sampler supports SimpleModule, CompleteSample, dsccommunity, GCPackage, CustomModule, and SimpleModule_NoBuild templates to enforce a standard project layout and build pipeline.

Do I need Sampler installed before scaffolding a PowerShell module?

You need Sampler installed before scaffolding a PowerShell module. The skill checks for it and prompts you to install it if missing, ensuring the environment is ready before generating the project.

Does Sampler scaffolding include an InvokeBuild pipeline for PowerShell modules?

Yes, Sampler scaffolding includes an InvokeBuild pipeline for PowerShell modules, bootstrapping a workflow with build tasks, gallery publishing flow, and a sample project structure for rapid start.

Why use Sampler for PowerShell module project setup instead of manual configuration?

Use Sampler for PowerShell module project setup to ensure a consistent layout, integrated InvokeBuild pipeline, tests, and CI templates, reducing manual configuration effort and setup time.