CtrlK
BlogDocsLog inGet started
Tessl Logo
PluginPublic

testland/pester-cli-testing

Use when the code under test is a PowerShell script, function, cmdlet or CLI run from pwsh. Sets up Pester v5: Describe/Context/It blocks, Should assertions, Mock, setup hooks, tags, code coverage and NUnit/JUnit XML output for CI.

Quality

86%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Passed

No findings from the security scan

Overview
Quality
Evals
Security
Files

Quality

Content

78%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

A well-structured, highly actionable reference for Pester v5 testing: correct sequencing, executable examples, genuine version-specific gotchas, and an appropriately offloaded CI reference file. The main deductions are minor: placeholder test bodies, one example referencing an undefined function, and slightly repetitive citation phrasing.

Suggestions

Make code examples fully executable: give the Step 3 and Step 7 It blocks real assertion bodies, and dot-source or define Get-FormattedDate in the Step 6 mock example so it runs as written.

Add an explicit run-and-iterate checkpoint after Step 2 (e.g. 'run Invoke-Pester, read the failure output, fix, re-run') to close the feedback loop in the authoring workflow.

Trim the repeated 'Per [pqs][pqs]' / 'Per [pm][pm]' sentence openers and consolidate the version-sensitivity notes into the Limitations section to tighten token usage.

DimensionReasoningScore

Conciseness

The body is dense with version-specific gotchas Claude cannot reliably recall ("Pester 3.4.0 built-in", "-SkipPublisherCheck", "$PesterBoundParameters (available since Pester 5.2.0)", scope rules) rather than explanations of known concepts. It is not 5 because repeated "Per [pqs][pqs]" citation phrasing and the placeholder It bodies in Steps 3 and 7 add tokens that could be trimmed.

4 / 5

Actionability

Nearly all guidance is copy-paste ready: the install commands, a complete first test file, the Should matcher list, mock definitions with ParameterFilter, and the [PesterConfiguration]@{...} hashtable. It falls short of 5 because Step 3 and Step 7 It bodies are '# ...' placeholders and the Step 6 mock example calls Get-FormattedDate, which is never defined or dot-sourced.

4 / 5

Workflow Clarity

A clear 10-step sequence (install -> first test -> structure -> assertions -> hooks -> mocks -> tags -> configuration -> coverage -> CI XML) with a verify checkpoint ("Import-Module Pester -PassThru") and an Anti-patterns table for error avoidance. Not 5: there is no explicit run -> fail -> fix feedback-loop guidance after test authoring, so checkpoints are present but not fully elaborated.

4 / 5

Progressive Disclosure

The heavy material (full cross-platform CI YAML, Azure DevOps task, Run property table) is correctly split into references/ci-and-config.md, which exists in the bundle, is one level deep, and is clearly signaled in Steps 8 and 10 plus the References section. The body retains only the core in-spine examples, matching the 5 anchor.

5 / 5

Total

17

/

20

Passed

Description

88%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

A strong description: it answers what and when explicitly, in third person, with a comprehensive list of concrete Pester capabilities. Trigger terms (PowerShell, cmdlet, pwsh, Pester) are natural and distinctive; only minor synonym coverage (.ps1, module) and slight overlap with generic CLI-testing skills hold it back from perfection.

DimensionReasoningScore

Specificity

"Sets up Pester v5: Describe/Context/It blocks, Should assertions, Mock, setup hooks, tags, code coverage and NUnit/JUnit XML output for CI" enumerates concrete capabilities spanning the framework's full surface. This matches the 5 anchor (multiple specific concrete actions, comprehensive coverage); it is not 4 because there are no meaningful gaps in coverage.

5 / 5

Completeness

Explicit when-clause ("Use when the code under test is a PowerShell script, function, cmdlet or CLI run from pwsh") paired with a concrete, detailed what-clause. Both questions are answered explicitly with concrete trigger phrases, mirroring the 5 anchor structure; not 4 because the when is specific rather than vague.

5 / 5

Trigger Term Quality

"PowerShell script, function, cmdlet or CLI run from pwsh" and "Pester" are terms users naturally say when they need this skill. A few natural variations are missing (e.g. ".ps1", "PowerShell module"), so it sits at 4 rather than 5, but well above 3 since multiple genuinely natural keywords are present rather than one or two generic ones.

4 / 5

Distinctiveness Conflict Risk

"Pester v5" and "run from pwsh" carve a clear, distinct niche with minimal conflict risk. The bare term "CLI" slightly overlaps generic CLI/shell-testing skills, placing it at 4 (mostly distinct, minor overlap risk) rather than 5, though it is far more specific than the 3 anchor.

4 / 5

Total

18

/

20

Passed

Validation

100%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 16 / 16 Passed

Validation for skill structure

No warnings or errors.

Reviewed

On this page