CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

writing-bundler-tests

Guides writing bundler tests using itBundled/expectBundled in test/bundler/. Use when creating or modifying bundler, transpiler, or code transformation tests.

Quality

86%

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

82%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, example-driven reference that respects the context window and provides near-executable guidance for every itBundled feature area. The main gaps are minor: pseudo-syntax in option listings, placeholder file content in one example, and an implicit rather than explicit test-run verification step.

Suggestions

Make the option blocks executable by using real single values (e.g. format: "esm") with a comment listing valid alternatives, so examples can be pasted directly into a test.

Replace the `...` placeholder in the edgecase/InvalidLoader example with real file content so it runs as written, and note that expect/toMatchSnapshot come from bun:test alongside the itBundled/dedent import.

Add a short explicit verification step (e.g. 'run bun bd test <file> and confirm the new test passes before committing') to close the workflow loop when adding a test.

DimensionReasoningScore

Conciseness

Zero padding and no explanation of concepts Claude already knows — every section is terse code or a bare fact ('Test ID format: `category/TestName`', run commands, env-var filters). Every token earns its place.

5 / 5

Actionability

Nearly all examples are copy-paste-ready (basic usage, DCE markers, capture, run commands), but the options blocks use non-executable union pseudo-syntax ("format": "esm" | "cjs"), one example uses `...` as file content, and `expect`/`toMatchSnapshot` appear in onAfterBundle without import context — minor gaps that keep it below fully-executable.

4 / 5

Workflow Clarity

The write-test → run ('bun bd test') → filter/debug (BUN_BUNDLER_TEST_FILTER, BUN_BUNDLER_TEST_DEBUG) loop is clear with section-level sequencing, but there is no explicit 'verify the test passes' checkpoint and the sequence is implicit across sections rather than a numbered workflow. Not a destructive/batch skill, so no cap applies.

4 / 5

Progressive Disclosure

No bundle files exist, and the ~220-line body is well-sectioned with clear headers and a logical progression from basic usage to edge cases — good structure with everything appropriately inline at this size. Not 5 because nothing is split out or referenced, though at this compact size separate files are arguably unnecessary.

4 / 5

Total

17

/

20

Passed

Description

83%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 concise, third-person description that names the concrete API and location, with an explicit 'Use when' trigger clause covering sensible variations. Its only weaknesses are single-action coverage and a couple of missing natural trigger terms.

DimensionReasoningScore

Specificity

Names the exact tooling ('using itBundled/expectBundled in test/bundler/') rather than generic actions, but describes essentially one capability — writing bundler tests — rather than multiple distinct actions, so it falls just short of the comprehensive anchor 5.

4 / 5

Completeness

Explicitly answers both what ('Guides writing bundler tests using itBundled/expectBundled in test/bundler/') and when ('Use when creating or modifying bundler, transpiler, or code transformation tests') with concrete trigger phrases.

5 / 5

Trigger Term Quality

'bundler, transpiler, or code transformation tests' are natural phrases a user would say, and 'itBundled/expectBundled' adds exact-match terms, but a few common variants (e.g. 'bun', 'bundling', 'minify tests') are missing.

4 / 5

Distinctiveness Conflict Risk

The Bun bundler-test harness in test/bundler/ is a clear niche with distinct triggers, though the broader phrase 'code transformation tests' leaves minor overlap risk with general test-writing or transpiler skills.

4 / 5

Total

17

/

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

oven-sh/bun

Path

.claude/skills/writing-bundler-tests/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.