CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

testing

Write and maintain tests with Bun units and Rstest integrations, mock utilities, and Zustand store testing patterns.

Quality

71%

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

Fix and improve this skill with Tessl

tessl review fix ./frontend/.claude/skills/testing/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Content

63%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 lean, well-structured reference-style body with genuinely executable commands and concrete conventions, weakened by duplicated trigger sections and ambiguous file-reference signaling. Consolidating the two 'when to use' sections and giving referenced files full, consistent paths would make it notably tighter and easier to navigate.

Suggestions

Merge 'Activation Conditions' and 'When to Use This Skill' into one section — they list nearly identical triggers and cost unnecessary tokens.

Give referenced files consistent, full paths (e.g., 'rules/test-mock-patterns.md') and replace the vague 'See rules/ directory' with the actual file list or fold it into the Quick Reference table.

Add a minimal inline example of a unit test and a mock so the core task is executable without leaving SKILL.md, plus a command for running a single test file.

DimensionReasoningScore

Conciseness

The body is mostly tables and commands with no concept re-teaching, but 'Activation Conditions' (5 bullets) and 'When to Use This Skill' (3 bullets) duplicate each other, and the opening line 'Write reliable tests with Bun units and Rstest integrations' merely restates the frontmatter. This matches 'mostly efficient but could be tightened' rather than the minor-trim level 4.

3 / 5

Actionability

Concrete, executable guidance throughout: the commands block ('bun run test:unit', 'bun run test:coverage', etc.), explicit conventions ('.test.ts = Bun unit, .test.tsx / .integration.test.ts = Rstest integration'), and the specific path 'test-utils/test-utils.tsx'. Not 5 because there is no inline example of actually writing or mocking a test — that is deferred entirely to referenced files not present in this bundle.

4 / 5

Workflow Clarity

A clear derivable sequence exists (pick test type via the Quick Reference table, apply conventions, run the matching command) and no destructive/batch cap applies. Not 5 because 'Debugging test failures' is listed as an activation condition yet no debugging feedback loop is described, and no command for running a single test file is given.

4 / 5

Progressive Disclosure

References are only one level deep and gathered in a navigation table, but the five referenced files ('test-unit-vs-integration.md', 'test-mock-patterns.md', etc.) are named without paths while the Rules section vaguely says 'See rules/ directory for detailed guidance' — inconsistent signaling, and no bundle directories exist here to verify the files. This matches 'references present but not clearly signaled' rather than the mostly-clear level 4.

3 / 5

Total

14

/

20

Passed

Description

66%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 solid, tool-specific description that clearly conveys what the skill does, weakened by the complete absence of when-to-use trigger guidance and slightly awkward trigger phrasing ('Bun units and Rstest integrations'). Adding an explicit 'Use when...' clause with natural terms (unit test, integration test, .test.ts, mocking) would lift it substantially.

Suggestions

Append an explicit trigger clause, e.g. 'Use when writing or modifying .test.ts/.test.tsx files, mocking modules or stores, or debugging test failures.'

Replace the awkward 'Bun units and Rstest integrations' phrasing with the natural terms users actually say: 'unit tests' and 'integration tests'.

Briefly delimit scope in the description (e.g., 'not for end-to-end browser workflows') to reduce overlap with other testing skills.

DimensionReasoningScore

Specificity

Lists several concrete actions with named tools — 'Write and maintain tests', 'mock utilities', 'Zustand store testing patterns' — anchored to Bun/Rstest, matching the 'several specific actions; minor gaps in coverage' anchor. It falls short of 5 because coverage is not comprehensive (no coverage, CI, or debugging actions) and above 3 because it goes beyond 1-2 generic actions.

4 / 5

Completeness

The 'what' is clear (write and maintain tests with specific tooling) but there is no 'Use when...' clause or equivalent trigger guidance anywhere, which caps completeness at 3 per the judging guidelines. This matches the anchor 'Has a clear what but when is missing or only weakly implied'.

3 / 5

Trigger Term Quality

Contains natural terms users would say ('tests', 'mock', 'store testing') plus specific tool names (Bun, Rstest, Zustand), matching 'good keyword coverage; a few natural terms missing'. Not 5 because it omits file extensions (.test.ts) and plain phrases like 'unit tests'/'integration tests' — 'Bun units and Rstest integrations' is awkward phrasing users would not naturally say.

4 / 5

Distinctiveness Conflict Risk

The named stack ('Bun units and Rstest integrations', 'Zustand store testing patterns') carves a mostly distinct niche with minor overlap risk against other testing skills — the body itself defers e2e workflows to a separate skill. Not 5 because the generic 'Write and maintain tests' lead-in could collide with other testing skills absent explicit delimiters in the description.

4 / 5

Total

15

/

20

Passed

Validation

93%

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

Validation — 15 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

relative_links

Relative link issues: 1 suspicious

Warning

Total

15

/

16

Passed

Repository

redpanda-data/console

Path

frontend/.claude/skills/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.