CtrlK
BlogDocsLog inGet started
Tessl Logo

test-guard

Review generated or changed test code against universal testing rules before it ships. Best used reactively after an agent writes, edits, generates, or refactors tests, before presenting, committing, or merging them. Use for pytest (test_*.py, *_test.py), PHPUnit/Pest (*Test.php), Jest/Vitest (*.test.ts, *.spec.js), Go (*_test.go), files under tests/, __tests__/, or spec/, and review requests like 'write tests for X', 'add tests', 'test this', 'review these tests', or PR diffs containing tests. Can also guide test writing when explicitly invoked before the work. This skill is the quality gate that prevents AI-generated test bloat. DO NOT USE for production or implementation code review (use clean-code-guard), CI or test-runner configuration, running or debugging tests, or general architecture discussion.

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

SKILL.md
Quality
Evals
Security

Quality

Content

100%Weight 40%Scale 1-3

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

A well-structured review skill: lean body, concrete per-rule guidance with fixes and examples, a clear activation/workflow sequence, and clean one-level-deep references to verified bundle files. Matches the rubric's strong anchors on all dimensions.

DimensionReasoningScore

Conciseness

Lean throughout: nine rules are stated as tight imperatives with violation patterns and fixes, no explanation of basic testing concepts Claude already knows, and the brief motivation paragraph earns its place by guiding judgment rather than padding.

3 / 3

Actionability

Concrete and executable: per-rule violation patterns, before/after naming table, framework-specific annotations (@pytest.mark.parametrize, PHPUnit #[DataProvider], Jest test.each), and a copy-ready reporting format template with a severity guide.

3 / 3

Workflow Clarity

Clear multi-step sequence — 'Adapt to the project first' (4 numbered steps), 'What to do' (4 numbered steps), then reporting format and severity guide; no destructive/batch operations are involved so no validation cap applies.

3 / 3

Progressive Disclosure

SKILL.md is an overview holding the universal rules; stack-specific detail is one level deep in four real, clearly-signaled reference files (pytest.md, phpunit.md, jest.md, llm-app-testing.md), each annotated with what it covers.

3 / 3

Total

12

/

12

Passed

Description

100%Weight 40%Scale 1-3

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 highly specific, well-triggered description that answers what and when, uses third-person/imperative voice, and explicitly disambiguates from a sibling skill. It exemplifies the rubric's 'good' anchor pattern.

DimensionReasoningScore

Specificity

Lists multiple concrete actions — 'Review generated or changed test code', 'guide test writing', and positions itself as 'the quality gate that prevents AI-generated test bloat' — rather than vague language.

3 / 3

Completeness

Explicitly answers both what ('Review generated or changed test code against universal testing rules') and when ('Best used reactively after an agent writes, edits, generates, or refactors tests... Use for...'), with an explicit 'Use for' trigger clause.

3 / 3

Trigger Term Quality

Excellent coverage of natural phrasings users would say ('write tests for X', 'add tests', 'test this', 'review these tests', 'PR diffs containing tests') plus framework-specific file patterns across pytest, PHPUnit/Pest, Jest/Vitest, and Go.

3 / 3

Distinctiveness Conflict Risk

Clear niche (test-code review) with an explicit 'DO NOT USE for production or implementation code review (use clean-code-guard)' disambiguation, making conflicts with sibling skills unlikely.

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.

Repository
amElnagdy/guard-skills
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.