CtrlK
BlogDocsLog inGet started
Tessl Logo

testland/unittest-tests

Configures and runs Python's stdlib unittest - TestCase + setUp/tearDown lifecycle hooks, assertion catalog (assertEqual / assertRaises / assertIn / assertAlmostEqual), unittest.mock module (Mock / MagicMock / patch / patch.object / patch.dict), test discovery via `python -m unittest discover`, subTest for parametrized cases, expectedFailure decorator. Use when constrained to stdlib-only (no pip install) or migrating legacy unittest codebases.

80

Quality

100%

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

100%

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

An efficient, executable skill: code-first Steps 1-9, a real validation/feedback loop in Step 1, and a single well-signaled one-level reference that absorbs the bulky assertion/mock catalog. No concept over-explanation, no pseudocode, no deep reference chains.

DimensionReasoningScore

Conciseness

Lean body that assumes Claude's competence: no preamble explaining what unittest or testing is, every section is a runnable code block or a one-line rule. It pushes the assertion/mock catalog out to a reference rather than inlining it, so tokens earn their place.

3 / 3

Actionability

Every step ships executable, copy-paste-ready code or commands — e.g. Step 1's full `test_sum.py` plus `python -m unittest test_sum.py`, the worked `@patch('greeting.fetch_user')` example, and `python -m unittest discover -s tests/ -p 'test_*.py'`. Not level 2: no pseudocode or missing key details.

3 / 3

Workflow Clarity

Steps 1-9 give a clear sequence with an explicit validation checkpoint and feedback loop: 'a passing run ends with `OK`... If it prints `FAILED (failures=N)`, read the `AssertionError` diff... re-run until you get `OK` before adding more tests.' Not level 2, which lacks explicit checkpoints.

3 / 3

Progressive Disclosure

Spine is an overview with a single one-level-deep, well-signaled reference (Steps 3 & 4 point to `references/assertions-and-mock.md`, verified present); the reference holds the heavy catalog so the body stays tight. Easy navigation, no nested/deep references.

3 / 3

Total

12

/

12

Passed

Description

100%

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, third-person description: concrete capabilities are enumerated, an explicit 'Use when' clause names the real trigger contexts (stdlib-only, legacy migration), and the niche is clearly distinguished from pytest. No vague fluff or over-claims.

DimensionReasoningScore

Specificity

Lists multiple concrete capabilities — 'TestCase + setUp/tearDown lifecycle hooks', 'assertion catalog (assertEqual / assertRaises / assertIn / assertAlmostEqual)', 'unittest.mock module (Mock / MagicMock / patch / patch.object / patch.dict)', 'test discovery via `python -m unittest discover`, subTest', 'expectedFailure decorator' — matching the multiple-specific-actions anchor.

3 / 3

Completeness

Explicitly answers what ('Configures and runs Python's stdlib unittest - ...') and when ('Use when constrained to stdlib-only (no pip install) or migrating legacy unittest codebases'), matching the clear-what-AND-when-with-explicit-triggers anchor.

3 / 3

Trigger Term Quality

Covers natural trigger phrasings users would say — 'stdlib-only (no pip install)', 'migrating legacy unittest codebases', 'python -m unittest discover', 'unittest.mock' — with good coverage of common variations. Not the level below, which only has 'some relevant keywords missing common variations'.

3 / 3

Distinctiveness Conflict Risk

Scoped to a clear niche (stdlib unittest specifically, with named pytest sibling for contrast), with distinct triggers unlikely to fire for the wrong skill. Not level 2, which would still overlap with similar skills.

3 / 3

Total

12

/

12

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.

Validation16 / 16 Passed

Validation for skill structure

No warnings or errors.

Reviewed

Table of Contents