agentleFS
fadwenfadwen/ai-powershell-standards/.github/skills/powershell-module-help/SKILL.md

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.

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
  1. Very specific:

    Read .github/instructions/powershell-platyps.instructions.md first, unless it is already loaded.

    line 8
  2. Very specific:

    Write the content. Replace every {{ Fill in ...

    line 22

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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

  1. Confirm the tool. Get-Module -ListAvailable Microsoft.PowerShell.PlatyPS must show version 1.0.3 or later. Do not use the retired platyPS module or its commands.
  2. 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.
  3. For a command with no Markdown yet: make sure the function has complete comment-based help, run New-MarkdownCommandHelp with -Locale, and only then add .EXTERNALHELP and reduce the comment block to a one-line .SYNOPSIS. The order matters.
  4. 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.
  5. Write the content. Replace every {{ Fill in ... }} placeholder, put each example's command in a fenced powershell block, and describe only what the command does.
  6. Validate with the checks in the PlatyPS rules: structure, leftover placeholders, and relative links.
  7. Build the compiled help with Export-MamlCommandHelp, copy it into the module's culture folder, and confirm with Get-Help <Command> -Full against 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.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.