powershell-module-help
Skill24 starsChanged 3 days agoMITView on GitHub
Generate, update, validate, or build PowerShell module help with Microsoft.PowerShell.PlatyPS, where help is written as Markdown and shipped as compiled external help. Use when asked to document a module's commands, update help after a parameter change, or fix Get-Help output for a module.
In this repository33 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .claude/rules/powershell-standards/copilot-instructions.mdCopilot instructions
- .github/copilot-instructions.mdCopilot instructions
- powershell-ci-pipelineSkill
- powershell-credential-scanSkill
- powershell-loggingSkill
- powershell-module-helpSkill
- powershell-new-functionSkill
- powershell-new-moduleSkill
- powershell-performance-reviewSkill
- powershell-reviewSkill
- powershell-security-reviewSkill
- powershell-write-testsSkill
- powershell-ci-pipelineSkill
- powershell-credential-scanSkill
- powershell-loggingSkill
- powershell-module-helpSkill
- powershell-new-functionSkill
- powershell-new-moduleSkill
- powershell-performance-reviewSkill
- powershell-reviewSkill
- powershell-security-reviewSkill
- powershell-write-testsSkill
- powershell-ci-pipelineSkill
- powershell-credential-scanSkill
- powershell-loggingSkill
- powershell-new-functionSkill
- powershell-new-moduleSkill
- powershell-performance-reviewSkill
- powershell-reviewSkill
- powershell-security-reviewSkill
- powershell-write-testsSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 8
Read .github/instructions/powershell-platyps.instructions.md first, unless it is already loaded.
- Very specific: line 22
Write the content. Replace every {{ Fill in ...
≈ “Common” is an estimate: at least 1 in 5 of the 383,637 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Maintain module help with PlatyPS
Read .github/instructions/powershell-platyps.instructions.md first, unless it is already loaded. It
holds the rules and every command used below.
Steps
- Confirm the tool.
Get-Module -ListAvailable Microsoft.PowerShell.PlatyPSmust show version 1.0.3 or later. Do not use the retiredplatyPSmodule or its commands. - Find the state of the module's help: whether
docs/<ModuleName>/exists, which exported commands have a Markdown file, and whether the exported functions carry.EXTERNALHELP. - For a command with no Markdown yet: make sure the function has complete comment-based help, run
New-MarkdownCommandHelpwith-Locale, and only then add.EXTERNALHELPand reduce the comment block to a one-line.SYNOPSIS. The order matters. - For a command whose parameters changed: import the module and run
Update-MarkdownCommandHelp, then update the module page. Do not edit syntax blocks or parameter metadata by hand. - Write the content. Replace every
{{ Fill in ... }}placeholder, put each example's command in a fencedpowershellblock, and describe only what the command does. - Validate with the checks in the PlatyPS rules: structure, leftover placeholders, and relative links.
- Build the compiled help with
Export-MamlCommandHelp, copy it into the module's culture folder, and confirm withGet-Help <Command> -Fullagainst the imported module that the text and the examples appear. Before a release, repeat the check against the packaged module on a case-sensitive file system (PLT-14).
Report
List the Markdown files you created or changed, the result of each validation, and what Get-Help
showed. Mention any command whose description or examples you could not write from the code alone,
and ask the user for the missing facts instead of inventing them.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

