CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

bun-test-lifecycle

Use for test lifecycle hooks: beforeAll, afterAll, beforeEach, afterEach, fixtures, preload.

61

Quality

77%

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 ./plugins/bun/skills/bun-test-lifecycle/SKILL.md
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.

The body is a strong, executable reference with copy-paste code across the common lifecycle patterns and clear execution-order documentation. Its main weaknesses are progressive disclosure — it references bundle files that are not present and inlines content that could be split — and a minor conciseness dip from a version-stamped note.

Suggestions

Either add the missing references/preload-scripts.md and references/fixtures.md files or remove the 'When to Load References' section so signaled references resolve to real files.

Move the large pattern catalog (Database/Server/Mock/Env setup) into a reference file and keep SKILL.md as a concise overview to improve progressive disclosure.

Relocate the 'Bun 1.2+' version note into a clearly labeled compatibility/old-patterns note so it does not penalize conciseness.

DimensionReasoningScore

Conciseness

The body is mostly lean, code-forward examples with minimal explanatory prose, but a few lines could be trimmed and the 'Bun 1.2+' version note is time-sensitive information not placed in a deprecated/old-patterns section.

4 / 5

Actionability

It provides fully executable, copy-paste-ready TypeScript and config examples (hooks, nested describe, async, timeout, preload, bunfig.toml, DB/server/mock/env patterns) that cover the common cases concretely.

5 / 5

Workflow Clarity

Organization is clear with an explicit hook execution-order diagram and a nested-describe trace; as a reference/pattern catalog rather than a destructive or batch workflow, it needs no validation checkpoints, though it lacks an explicit end-to-end sequence.

4 / 5

Progressive Disclosure

Section structure is reasonable and a 'When to Load References' section signals references with load conditions, but the referenced files (references/preload-scripts.md, references/fixtures.md) do not exist in the bundle and the bulk reference content is inlined rather than split out.

3 / 5

Total

16

/

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.

The description is a concise, trigger-forward clause with good concrete keyword coverage, but it leans entirely on the 'when' and leaves the 'what' only weakly implied while not explicitly naming Bun. Adding an action verb and the 'Bun' qualifier would lift both completeness and distinctiveness.

Suggestions

Lead with a concrete action verb for the 'what', e.g. 'Set up and tear down Bun tests using lifecycle hooks (beforeAll, afterAll, beforeEach, afterEach), fixtures, and preload scripts.'

Explicitly name 'Bun' and 'bun:test' in the description to reduce overlap with Jest-style test skills.

Add common synonyms users say ('test setup/teardown', 'bun test') to broaden trigger-term coverage.

DimensionReasoningScore

Specificity

Names the domain ('test lifecycle hooks') and enumerates several concrete items (beforeAll, afterAll, beforeEach, afterEach, fixtures, preload), but uses feature names rather than action verbs, leaving minor coverage gaps versus a fully action-oriented list.

4 / 5

Completeness

It has a strong explicit 'Use for...' trigger clause answering 'when', but the 'what' is only weakly implied — no action verb describes what the skill does with these hooks, so it does not reach the both-what-and-when anchors.

3 / 5

Trigger Term Quality

Good natural-term coverage including the hook names plus 'fixtures' and 'preload' that a Bun test user would say, but misses common synonyms like 'setup/teardown', 'test setup', or 'bun test'.

4 / 5

Distinctiveness Conflict Risk

The hook enumeration is a fairly distinct niche, but the exact names (beforeAll/afterAll/etc.) are shared with Jest and the description never names 'Bun', leaving minor overlap risk with closely related JS test skills.

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

referenced_paths_exist

Referenced path issues: 2 missing

Warning

Total

15

/

16

Passed

Repository

secondsky/claude-skills

Path

plugins/bun/skills/bun-test-lifecycle/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.