AI/Tasks/Templates/PowerShell-CommentHelp-InPlace.txt
|
Primary input file:
<PRIMARY_INPUT_FILE> Task: Add or improve PowerShell comment-based help for the script and for any top-level function intended to be called directly. Requirements: - Update this exact file in place: <PRIMARY_INPUT_FILE> - Preserve all existing code and behavior. - Only add or improve documentation comments. - Use PowerShell comment-based help, not C# XML documentation comments. - Prefer the active file-editing MCP tool(s) for localized edits to this existing file. - Use the active file-write MCP tool(s) only if a localized replacement is not practical. - Do not rely on the removed primitive built-ins; use the current MCP-backed file tools only. - Do not document nested helper functions unless the existing style clearly expects it. - Do not stop after analysis. - Do not summarize your plan before editing. - Do not return a final answer until the file update has succeeded. |