Prompt file imported from fadwen/TechbyJeff (
.github/prompts/create-module.prompt.md). Fill in{{workspaceFolderBasename}},{{moduleName}},{{purpose}},{{audience}},{{complexity}}before use. Copyright stays with the author.
Create a complete PowerShell module for {{workspaceFolderBasename}} with enterprise standards:
Module Specifications:
- Module Name: {{moduleName}}
- Primary Purpose: {{purpose}}
- Target Audience: {{audience}}
- Complexity Level: {{complexity}}
Module Structure to Generate:
{{moduleName}}/
├── {{moduleName}}.psd1 # Module manifest
├── {{moduleName}}.psm1 # Root module file
├── Public/ # Exported functions
├── Private/ # Internal functions
├── Classes/ # PowerShell classes
├── Tests/ # Pester test suite
├── Troubleshooting/ # Documentation
├── Configuration/ # Config templates
└── README.md # Documentation
Requirements:
- Generate module manifest with proper metadata and versioning
- Create folder structure with sample function templates
- Include comprehensive README with installation instructions
- Generate basic Pester test framework
- Include troubleshooting documentation templates
- Follow semantic versioning and PowerShell Gallery compatibility