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

pester-write

星标1
分支0
更新时间2026年5月10日 15:22

Write Pester 5 test files for PowerShell functions, modules, scripts, DSC resources, or classes (PS 5.1 and 7+). Use when asked to add tests, create *.Tests.ps1, scaffold tests, mock a dependency, cover an edge case, or test a specific function. PROACTIVELY suggest tests when a function or module is added/modified without a corresponding test file. Triggers: "write Pester tests", "add tests for", "test coverage", "unit tests for", "mock this dependency", "Pester spec", "scaffold tests", "test this function". Not for running (pester-run), reviewing quality (pester-review), CI config, or non-Pester frameworks.

安装

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

SKILL.md
readonly