Skip to main content
在 Manus 中运行任何 Skill
一键导入

new-function-tests

星标0
分支0
更新时间2026年4月26日 20:34

MANDATORY QUALITY GATE — enforce Pester v5 test creation alongside every new PowerShell function written in the UserAdminModule repository. USE FOR: any time a new function is created or requested — ensures tests are written before the function is considered done. Provides test file templates and mock patterns for credential functions, connection/disconnect functions, AD, Exchange Online, on-premises Exchange, Microsoft Graph, Intune, Defender, and general utility functions. Prevents functions being committed without test coverage. Also use when the user asks "should I add tests?", "do I need tests for this?", or "is this function complete?". DO NOT USE FOR: writing tests for existing functions without accompanying new function creation (use pester-testing skill instead); creating change requests (use change-request skill).

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

SKILL.md
readonly