CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

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

88%

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

The canonical home for this skill is testland/pester-cli-testing

SKILL.md
Quality
Evals
Security

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 skill: every step is anchored by executable PowerShell and the heavy CI material is correctly offloaded to a single well-signaled reference file. The main weaknesses are minor — a few placeholder test bodies, one example referencing an undefined function, and some repetition.

Suggestions

Define or dot-source Get-FormattedDate in the Step 6 mock example (or substitute a mocked command from the already-dot-sourced script) so the example runs as written.

State the bats-testing boundary once (Overview or References) and drop the repeated mentions in Limitations to tighten conciseness.

Fill in or remove the `# ...` placeholder It bodies in Steps 3 and 7 so every code block is directly runnable.

DimensionReasoningScore

Conciseness

The body is code-first and lean — each step leads with a runnable snippet and only brief framing — but has minor trimmable redundancy: the bats-testing alternative is stated three times (Overview, Limitations, References) and mock scoping rules are explained twice. Not 5 because a few passages could be tightened; not 3 since there is no padding or explanation of concepts Claude already knows.

4 / 5

Actionability

Nearly all guidance is copy-paste executable (install commands, a complete first test file, matcher list, config hashtables, CI XML setup), but there are minor gaps: the Step 6 example calls `Get-FormattedDate`, a function never defined or dot-sourced, and several `It` bodies are `# ...` placeholders. Not 5 because anchor 5 requires examples that fully cover the common cases as-is.

4 / 5

Workflow Clarity

The ten steps form a clear, well-ordered sequence (install → first test → structure → assertions → hooks → mocks → tags → config → coverage → CI XML) with a verify step after install and Run.Exit gating CI failure. Not 5 because explicit validate-and-recover checkpoints (e.g., what to check when a run fails) are not woven through the workflow; not 3 since sequence and key checkpoints are present. No destructive/batch cap applies.

4 / 5

Progressive Disclosure

The body keeps core examples inline and splits the bulk CI pipelines and the Run-property table into references/ci-and-config.md, a real one-level-deep file that is clearly signaled in Steps 8 and 10 and cataloged in the References section. Navigation is easy and the split is appropriate.

5 / 5

Total

17

/

20

Passed

Description

92%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 pairs an explicit 'Use when' trigger with a comprehensive, concrete enumeration of what the skill sets up. The only gap is modest trigger-term coverage (no '.ps1' or 'module' synonyms).

DimensionReasoningScore

Specificity

The description enumerates multiple concrete capabilities — "Describe/Context/It blocks, Should assertions, Mock, setup hooks, tags, code coverage and NUnit/JUnit XML output" — giving comprehensive coverage of the Pester feature surface rather than generic claims.

5 / 5

Completeness

It explicitly answers both questions: an explicit "Use when the code under test is a PowerShell script, function, cmdlet or CLI run from pwsh" trigger clause, and a concrete what — "Sets up Pester v5" with the enumerated feature list. Matches the anchor-5 example structure.

5 / 5

Trigger Term Quality

Natural user terms are well covered ("PowerShell script, function, cmdlet or CLI run from pwsh", "Pester v5"), but common variations like the ".ps1" extension and "module" are missing. Not score 5 because the anchor requires synonyms and file extensions; not 3 because coverage goes beyond 'some relevant keywords'.

4 / 5

Distinctiveness Conflict Risk

The PowerShell/pwsh/cmdlet trigger vocabulary carves out a clear niche that is unlikely to fire for non-PowerShell testing skills; the body further disambiguates against bats-testing for Unix shells.

5 / 5

Total

19

/

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.

Repository

testland/qa

Path

plugins/qa-cli-tools/skills/pester-cli-testing/SKILL.md

Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.